makerspace / makeradmin

Stockholm Makerspace member administration and store.
20 stars 14 forks source link

Docker images doesn't get updated #533

Open minigubben opened 2 weeks ago

minigubben commented 2 weeks ago

Docker by default doesnt pull images when building if there is a cached image avalible. This can result in version missmatch. We should either lock down the versions harder or do a pull as part of the build process to ensure the same versions is used everywhere. For the "public" container specifically, both python and javascript is used making it harder to maintain a specific version as it might not be avalible in the verison of alpine being used for that specific build.

To pull new avalible images while building one can run docker compose build --pull.