Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add container sub-commands to the build command #35

Open
svrana opened this issue Jul 29, 2019 · 0 comments
Open

Add container sub-commands to the build command #35

svrana opened this issue Jul 29, 2019 · 0 comments

Comments

@svrana
Copy link
Contributor

svrana commented Jul 29, 2019

Especially if you're using more than one docker file, it would be nice to have an easy way to build a particular container instead of rebuilding them all.

i.e., Say project foo relies on container nginx which i'd like to modify. It would be nice to do this:

dev foo build nginx

What i do now is run DEV_CONFIG=debug dev build foo and then ctl-c as soon as I see the build start and take a look at the logs to see the exact docker-compose invocation. Then I copy that and add 'nginx' at the end of it. After building i just run dev foo up to get all the containers to restart. It's not horrible, but could be made easier by adding all the container dependencies as sub-commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant