Attempting to build docker image with COPY --from on Actions #25599
-
Attempting to port the creation of my public Docker images from CircleCI to Github Actions. Most of it seems to work but when it hits a
it errors out with:
As can be seen: https://github.com/WyriHaximusNet/docker-php/runs/282412341#step:3:2693 As there a way around this limitation/bug? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, Please add an extra command (like RUN true) between the two COPY statements for a try. In your Docker-zts(nts), there are 3 “copy --from” command, please add 2 ‘run true’ for each. I forked your repo, and it works for me. You can refer to ticket below for the details, same error reported here: |
Beta Was this translation helpful? Give feedback.
-
Thanks! That indeed does the trick, I have no clue why tho |
Beta Was this translation helpful? Give feedback.
Hi,
Please add an extra command (like RUN true) between the two COPY statements for a try.
In your Docker-zts(nts), there are 3 “copy --from” command, please add 2 ‘run true’ for each. I forked your repo, and it works for me.
You can refer to ticket below for the details, same error reported here:
moby/moby#37965