Skip to content
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

Don't clear ARGS on FROM #527

Closed
adamgordonbell opened this issue Nov 20, 2020 · 0 comments · Fixed by #531
Closed

Don't clear ARGS on FROM #527

adamgordonbell opened this issue Nov 20, 2020 · 0 comments · Fixed by #531
Assignees
Labels
type:enhancement Small feature requests / adjustments

Comments

@adamgordonbell
Copy link
Contributor

The following behavior is causing me some issues:

test-stuff:
    ARG BLA=name
    FROM alpine
    ENV BLA2=$BLA
    RUN env

I would expect BLA2 to be set, but it is not:

 +test-stuff | --> RUN env
         +test-stuff | SHLVL=2
         +test-stuff | HOME=/root
         +test-stuff | PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
         +test-stuff | BLA2=
         +test-stuff | PWD=/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Small feature requests / adjustments
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants