diff --git a/README.md b/README.md index de6179f..3d29198 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ docker run -it --rm $IMAGE_NAME /bin/bash -c "erl -noshell -eval 'erlang:display * List the local images with `docker image ls` * Filter with `docker image ls | grep "betagouv/transport" | grep $IMAGE_VERSION` * Push with `docker image push $IMAGE_NAME` +* Verify tag presence at https://hub.docker.com/repository/docker/betagouv/transport * TODO: handle `latest` (but it is currently unused) ## Useful tricks when upgrading diff --git a/transport-site/Dockerfile b/transport-site/Dockerfile index db36876..7ee6064 100644 --- a/transport-site/Dockerfile +++ b/transport-site/Dockerfile @@ -1,5 +1,16 @@ -# see https://hub.docker.com/r/hexpm/elixir -FROM hexpm/elixir:1.12.1-erlang-24.0.3-alpine-3.13.3 +# We leverage the base images published by hexpm. +# +# https://hub.docker.com/r/hexpm/elixir +# +# They provide the ability to decouple Elixir version +# and OTP version, which is a nice feature for +# incremental/decoupled upgrades. +# +# These base images package Elixir and OTP releases found at: +# - https://github.com/elixir-lang/elixir/releases +# - https://github.com/erlang/otp/releases +# +FROM hexpm/elixir:1.12.2-erlang-24.0.3-alpine-3.13.3 # TODO: iconv could probably be removed later # https://github.com/etalab/transport-site/issues/1591