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

chore: update docker OS versions to fix docker multiarch pipeline build #2108

Merged
merged 1 commit into from
Feb 26, 2025
Merged
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
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@
ARG ELIXIR_VERSION=1.17.3
ARG OTP_VERSION=26.2.5.3
ARG NODE_VERSION=7.3.0-rc3
ARG DEBIAN_VERSION=bullseye-20240926-slim

ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}"
ARG NODE_IMAGE=aeternity/aeternity:v${NODE_VERSION}
ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}"
ARG UBUNTU_VERSION=focal-20240918

ARG RUNNER_IMAGE="ubuntu:${UBUNTU_VERSION}"
ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-ubuntu-${UBUNTU_VERSION}"

FROM ${NODE_IMAGE} AS aeternity
FROM ${BUILDER_IMAGE} AS builder
Expand All @@ -44,7 +45,7 @@ WORKDIR /home/aeternity/node
# Download, and unzip latest aeternity release archive
ARG DEV_MODE="false"
ENV DEV_MODE=${DEV_MODE}
ENV NODEROOT=/home/aeternity/node/
ENV NODEROOT=/home/aeternity/node

COPY --from=aeternity /home/aeternity/node ./
RUN chmod +x ${NODEROOT}/bin/aeternity
Expand Down Expand Up @@ -122,7 +123,7 @@ RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV NODEROOT=/home/aeternity/node/
ENV NODEROOT=/home/aeternity/node

# set runner ENV
ARG MIX_ENV="prod"
Expand Down
Loading