Skip to content
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
30 changes: 30 additions & 0 deletions 1.20.0-rc.6-otp-29/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
FROM hexpm/elixir:1.20.0-rc.6-erlang-29.0-debian-bookworm-20260518

ENV NODE_VERSION="20.12.2"
ENV NODE_DOWNLOAD_URL="https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz"

RUN <<EOF
set -xe
apt-get update

# Needs to run separately to build on M2/M3 Macs with Rosetta for some reason
# Ref: https://github.com/docker/for-mac/issues/7255#issuecomment-2540082464
apt-get install -y --no-install-recommends ca-certificates

# Install git + openssh-client so CI can clone over SSH. Without
# openssh-client, CircleCI's checkout step detects "ssh missing" and
# falls back to its slow native git client (~12 min for a large repo).
apt-get install -y --no-install-recommends git openssh-client

# Install curl and xz-utils to download and unpack the NodeJS binaries
apt-get install -y --no-install-recommends curl xz-utils

# Dependencies for Elixir to compile binaries
apt-get install -y --no-install-recommends make cmake g++

# Install NodeJS binary
curl -fSL -o node-dist.tar.xz $NODE_DOWNLOAD_URL
tar -xJf node-dist.tar.xz -C /usr/local --strip-components=1
rm node-dist.tar.xz
ln -sf /usr/local/bin/node /usr/local/bin/nodejs
EOF
Loading