Skip to content

Commit

Permalink
Mise à jour Elixir 1.10 -> 1.12 et OTP 23 -> 24
Browse files Browse the repository at this point in the history
  • Loading branch information
thbar authored Jun 28, 2021
2 parents 04cd3d0 + 87e4171 commit ab0e900
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Now we name them after the Elixir, Erlang and Alpine versions actually used (lik
* Replace `hexpm/elixir:` by `betagouv/transport:elixir-`
* Target name: `betagouv/transport:elixir-1.10.4-erlang-23.2.7.2-alpine-3.13.3`

You can use `rake get_image_name` to build the expected target name out of the `Dockerfile` in automated fashion.
You can use `rake get_image_version` to build the expected target name out of the `Dockerfile` in automated fashion.

## Production configuration and deployment

Expand Down Expand Up @@ -49,7 +49,7 @@ As a work-around for [#17](https://github.com/etalab/transport-ops/issues/17):
```
IMAGE_VERSION=$(rake get_image_version)
IMAGE_NAME=betagouv/transport:$IMAGE_VERSION
docker build transport-site --no-cache -t $IMAGE_VERSION
docker build transport-site --no-cache -t $IMAGE_NAME
```

* Carefully verify the versions (this will be translated into a testing script later):
Expand Down
2 changes: 1 addition & 1 deletion transport-site/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# see https://hub.docker.com/r/hexpm/elixir
FROM hexpm/elixir:1.10.4-erlang-23.2.7.2-alpine-3.13.3
FROM hexpm/elixir:1.12.1-erlang-24.0.3-alpine-3.13.3

# TODO: iconv could probably be removed later
# https://github.com/etalab/transport-site/issues/1591
Expand Down

0 comments on commit ab0e900

Please sign in to comment.