Docker image management updates + run_first script improvements #1617
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This spiral'd out after first noticing that the images in the base compose file don't actually exist, causing
run_first
to always build from source instead of pulling pre-built images forapp
andwebserver
.Updates include:
run_first
to ask whether you want to pull precompiled images or build them from sourcerun_first
scriptapp
,webserver
, andfakes3
images in the base compose file to their representative tags in the github package registry. They will default to the latestapp-dev
,webserver-dev
, andfake-s3-dev
accordingly.app-stable
andwebserver-stable
tags to published images for release builds.mysql
image from5.7
to8.0.32
.How to test
You'll need to kill your existing development instance of Materia, if present. Sorry about that.
If you had an existing Materia instance, do this first:
Then, in the
docker/
directory of Materia:Choose option 1 for precompiled images. Choose option 2 to build the images locally.