-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support --from=$var syntax #2717
Comments
As mentioned in the other issues, this should already be supported but you need the latest buildkit. |
@cpuguy83 I might be missing something:
And AFAIK using latest buildkit:
|
Just found this note on this Docker blog
I'm assuming this might be the case for the COPY command as well. This is with 1.3.0 syntax. |
@thaJeztah can you please transfert this issue to https://github.com/moby/buildkit ? |
Description
Would want to have the image used in
--from
in commands likeCOPY
to support variable replacement to support something like this:Tried with all variations of
Buildkit syntax
currently publicly availableFollow up to this issue: moby/moby#18119
Steps to reproduce the issue:
docker build -t "test-bug" .
ordocker buildx build -t "test" .
Describe the results you received:
Currently fails with:
Describe the results you expected:
Succesful Build
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Docker for Mac
The text was updated successfully, but these errors were encountered: