The `podman build` without a dot or other context directory should be working as of Podman v1.6.2 and later.  Can you check your version please?  If it's the latest and greatest version, please spin up an issue against Buildah which handles the build work for Podman at:  https://github.com/containers/buildah/issues

t

On Sun, Dec 29, 2019 at 10:58 AM Robert P. J. Day <rpjday@crashcourse.ca> wrote:

  "man podman-build" suggests that the context argument is optional:

  SYNOPSIS
       podman build [options] [context]
       podman image build [options] [context]

...

       If  no  context directory is specified, then Podman will assume
       the current working  directory  as  the  build  context,  which
       should contain the Containerfile.

but if i have a directory with nothing but a Containerfile, i get:

  $ podman build
  Error: no context directory specified, and no containerfile specified
  $

OTOH, specifying context of current directory:

  $ podman build .
  STEP 1: FROM alpine:latest
  ... etc etc ...

thoughts?

rday
_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io