-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--build-arg
is not being set from environment
#9798
Comments
Hopefully you are doing |
Yes we have had fixes around this, If the first question, came back yes, I was going to suggest they check the new version. |
Wouldn't this be expanded by the shell before
I haven't tried running a release candidate version. However, when I was looking at the code, I saw: podman/cmd/podman/images/build.go Lines 320 to 334 in af91f27
This led me to believe that it was supposedly being handled correctly, so this issue should not be occurring. But I also assumed this was part of the latest stable version ( |
Dup of #9571 ? |
Yup and sadly I fixed it. I wish I remembered where I left my memory. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Steps to reproduce the issue:
podman --build-arg CFLAGS --file myDockerFile .
Describe the results you received:
The output still says:
CFLAGS=-O1
Describe the results you expected:
The correct output should be:
CFLAGS=-O2 -pipe
I should also add that this happens even if I had not given the
ARG
a default value.Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
This is on my physical machine
The text was updated successfully, but these errors were encountered: