Skip to content

How to use the RUN command when building a container #346

Closed Answered by AdamGEmerson
AdamGEmerson asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AdamGEmerson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant