buildah
buildah copied to clipboard
Containerfile with RUN --network none ... Does not work.
Dockerfile is documented to support
RUN --network ...
But with Buildah this blows up:
STEP 1/2: FROM alpine STEP 2/2: RUN --network=none ping -c 1 4.2.2.2 error building at STEP "RUN --network=none ping -c 1 4.2.2.2": RUN only supports the --mount flag
https://docs.docker.com/engine/reference/builder/#run---network
@flouthoc PTAL
Sure, SGTM I think a small change in imagebuilder should make it work.
A friendly reminder that this issue had no activity for 30 days.
I'm taking over https://github.com/openshift/imagebuilder/pull/237 and will implement this there.