Closed andybug closed 6 years ago
Note, I was able to get around this by using the generic instruction
:
instruction "COPY --from=base_image /etc/debian_version /etc/debian_version"
@andybug this seems to be an easy fix would you like to submit PR?
I'll take a look at it this weekend
Closing issue. Feel free to re-open should you care to send in a PR.
As of gradle-docker-plugin 3.0.11, it does not appear to support the
COPY --from=
syntax. TheFROM as
works as expected. A simple example is below.This results in a Dockerfile that looks as expected:
Uncommenting the copy line yields:
There doesn't appear to by a
copyFile
method that supports the from field in Dockerfile.