You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to just run both commands with daemon directives inside a shared container. If any of the shared code changes, I'd like to rebuild them both, but I'd only like to rebuild cmd1 if one of its files have changed and likewise for cmd2
Would I need to have blocks for each of them like the following (assuming I also wish to skip *_test.go files?
Would this work, or is there a better way? Perhaps by excluding cmd from the base container and then explicitly mounting the relevant command in each image.
The text was updated successfully, but these errors were encountered:
About to start playing around with this project for development in containers with a project structured like so:
I would like to just run both commands with
daemon
directives inside a shared container. If any of the shared code changes, I'd like to rebuild them both, but I'd only like to rebuildcmd1
if one of its files have changed and likewise forcmd2
Would I need to have blocks for each of them like the following (assuming I also wish to skip
*_test.go
files?Would this work, or is there a better way? Perhaps by excluding
cmd
from the base container and then explicitly mounting the relevant command in each image.The text was updated successfully, but these errors were encountered: