Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mises à jour Elixir (1.17), OTP (27), NodeJS #59

Merged
merged 5 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
TEST_TAG: ${{ github.repository }}:test
TEST_EXPECTED_NODE_OUTPUT: "v20.11.1"
TEST_EXPECTED_ELIXIR_OUTPUT: "Elixir 1.16.2 (compiled with Erlang/OTP 25)"
TEST_EXPECTED_ERLANG_OUTPUT: "25.3.2.10"
TEST_EXPECTED_NODE_OUTPUT: "v20.17.0"
TEST_EXPECTED_ELIXIR_OUTPUT: "Elixir 1.17.2 (compiled with Erlang/OTP 27)"
TEST_EXPECTED_ERLANG_OUTPUT: "27.0.1"
jobs:
build-and-push-image:
runs-on: ubuntu-latest
Expand Down
14 changes: 7 additions & 7 deletions transport-site/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# We are interested in the binaries compiled on that container:
FROM ghcr.io/etalab/transport-tools:v1.0.7 as transport-tools
FROM ghcr.io/etalab/transport-tools:v1.0.7 AS transport-tools

# We leverage the base images published by hexpm at:
#
Expand All @@ -21,7 +21,7 @@ FROM ghcr.io/etalab/transport-tools:v1.0.7 as transport-tools
# So again, to upgrade this, check out :
#
# https://hub.docker.com/r/hexpm/elixir
FROM hexpm/elixir:1.16.2-erlang-25.3.2.10-ubuntu-focal-20240216
FROM hexpm/elixir:1.17.2-erlang-27.0.1-ubuntu-focal-20240530

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Paris
Expand Down Expand Up @@ -72,9 +72,9 @@ RUN uname --all
RUN cat /etc/os-release
RUN cat /etc/lsb-release

ENV NVM_VERSION v0.39.7
ENV NODE_VERSION 20.11.1
ENV NVM_DIR $HOME/.nvm
ENV NVM_VERSION=v0.40.1
ENV NODE_VERSION=20.17.0
ENV NVM_DIR=$HOME/.nvm

RUN mkdir $NVM_DIR

Expand All @@ -85,8 +85,8 @@ RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/${NVM_VERSION}/ins
RUN . $NVM_DIR/nvm.sh && nvm install $NODE_VERSION && nvm use --delete-prefix $NODE_VERSION

# add to path
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
ENV NODE_PATH=$NVM_DIR/v$NODE_VERSION/lib/node_modules
ENV PATH=$NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH

RUN npm install -g yarn

Expand Down
Loading