From 58f487633771cb6bfabe7f1ae58a7d8a1c2387db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaut=20Barr=C3=A8re?= Date: Thu, 8 Jul 2021 08:39:46 +0200 Subject: [PATCH 1/3] Improve documentation --- transport-site/Dockerfile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/transport-site/Dockerfile b/transport-site/Dockerfile index db36876..490a9a7 100644 --- a/transport-site/Dockerfile +++ b/transport-site/Dockerfile @@ -1,4 +1,15 @@ -# see https://hub.docker.com/r/hexpm/elixir +# 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.1-erlang-24.0.3-alpine-3.13.3 # TODO: iconv could probably be removed later From 0d787990400ded9eb0c15751668aa93f0ec739ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaut=20Barr=C3=A8re?= Date: Thu, 8 Jul 2021 08:44:17 +0200 Subject: [PATCH 2/3] Bump up Elixir to 1.12.2 --- transport-site/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport-site/Dockerfile b/transport-site/Dockerfile index 490a9a7..7ee6064 100644 --- a/transport-site/Dockerfile +++ b/transport-site/Dockerfile @@ -10,7 +10,7 @@ # - https://github.com/elixir-lang/elixir/releases # - https://github.com/erlang/otp/releases # -FROM hexpm/elixir:1.12.1-erlang-24.0.3-alpine-3.13.3 +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 From 6a21b8854fd76d1f4c8a28863da8fca2e16eeb99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaut=20Barr=C3=A8re?= Date: Thu, 8 Jul 2021 08:58:39 +0200 Subject: [PATCH 3/3] Indicate where to look to find the image --- README.md | 1 + 1 file changed, 1 insertion(+) 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