shouldn't the current directory be the default context for "podman build"?
by Robert P. J. Day
"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
3 weeks, 2 days
Ask Me Anything! Podman, bootc, Podman Desktop, CNCF - Tuesday, December 10, 2024, 10:00 a.m. EST (UTC-5)
by Tom Sweeney
Hey All!
Did you hear that Podman, bootc and Podman Desktop are moving to CNCF?
Do you have questions on that or anything else container-related? Ask
your questions at the "Ask Me Anything" session next Tuesday, December
10, 2024, at 10:00 am EST (UTC-5). Details including the conference link
on this blog post:
https://blog.podman.io/2024/12/podman-bootc-podman-desktop-ama/
<https://blog.podman.io/2024/12/podman-bootc-podman-desktop-ama/>
Hope to see you there!
t
1 month