Closed shall1024 closed 2 years ago
Changed the naming convention for tags to add one tag for "latest" and then another for the date the Dockerfile was last modified. This way, the start_containers script can simply look for the latest container for that distro and we have the other tag to show the last time the image was modified. Also, we're going to avoid rebuilding new images everyday as that is fairly redundant if nothing is changing in the Dockerfile. These changes can be found on the testing branch of the fsdp_build repo.
The current idea is to use build_containers.sh to build container images, once a day (maybe via a cron job), and to tag the container images by date (date '+%Y.%m.%d').
From there, our scripts (in particular, start_container.sh) would choose "today's" container image when a user runs the build scripts.
This raises two concerns:
We either need to reconsider the tag naming conventions, or find a way for the current scripts to handle finding the "latest date" in the list of container images.