Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Cannot use COPY instructions within Dockerfile.j2 #50

Closed
alxgomz opened this issue Apr 28, 2021 · 0 comments · Fixed by #51
Closed

Cannot use COPY instructions within Dockerfile.j2 #50

alxgomz opened this issue Apr 28, 2021 · 0 comments · Fixed by #51

Comments

@alxgomz
Copy link

alxgomz commented Apr 28, 2021

If one wants to copy files over to the container he can certainly use the molecule prepare playbook.
However when the content to be copied is required when building the image prepare playbook is not an option anymore.
This happens for example when willing to COPY the files that'll be used later in CMD directive of the Dockerfile.

@alxgomz alxgomz changed the title Cannot use COPY instructions within Dockerfile Cannot use COPY instructions within Dockerfile.j2 Apr 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant