How to use the RUN command when building a container #346
-
I have a dockerfile with the line How can I recreate this using the provider? I don't see a Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
AdamGEmerson
Feb 2, 2022
Replies: 1 comment
-
I figured out that I can get around this by issuing RUN commands in a Dockerfile and then pointing a docker_image resource towards the Dockerfile before using that image to create a docker_container. It would still be nice to know if it is possible to issue RUN commands within the docker_container resource. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AdamGEmerson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I figured out that I can get around this by issuing RUN commands in a Dockerfile and then pointing a docker_image resource towards the Dockerfile before using that image to create a docker_container.
It would still be nice to know if it is possible to issue RUN commands within the docker_container resource.