veracruz-project/veracruz-docker-image

make rules default to run but also rebuilds even if there are no updates

ericvh opened this issue · 1 comments

Describe the bug
The make rules in the documentation auto-start the built docker image (and name it).
You can argue that isn't the right thing to do...but if I run the make again to restart
the image perhaps, it always rebuilds the image (which at the very least includes the
last stage 70s package of the image...which it doesn't need to do.

This is because the dependency on the image existing isn't tracked properly in the
make file.

To Reproduce
Follow instructions

Expected behavior
A clear and concise description of what you expected to happen.

There's some magic here for tracking dependencies of docker images:

But...I'm not sure we should actually have the run rule in the makefile depend on the build. We should expect the user to build and then independently run in the Documentation and that will make this go away.