Skip to content

Commit

Permalink
Use default RUBY_CC_VERSION from rcd
Browse files Browse the repository at this point in the history
  • Loading branch information
ianks committed Jan 30, 2025
1 parent 07cd2af commit 58ba439
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 22 deletions.
3 changes: 1 addition & 2 deletions docker/Dockerfile.aarch64-linux
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Ensure this version matches the rack-compiler-version in Gemfile
FROM ghcr.io/rake-compiler/rake-compiler-dock-image:1.9.1-mri-aarch64-linux

ENV RUBY_CC_VERSION="3.4:3.3:3.2:3.1:3.0:2.7:2.6" \
RUBY_TARGET="aarch64-linux" \
ENV RUBY_TARGET="aarch64-linux" \
RUST_TARGET="aarch64-unknown-linux-gnu" \
RUSTUP_DEFAULT_TOOLCHAIN="stable" \
PKG_CONFIG_ALLOW_CROSS="1" \
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.aarch64-linux-musl
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Ensure this version matches the rack-compiler-version in Gemfile
FROM ghcr.io/rake-compiler/rake-compiler-dock-image:1.9.1-mri-aarch64-linux-musl

ENV RUBY_CC_VERSION="3.4:3.3:3.2:3.1:3.0:2.7:2.6" \
RUBY_TARGET="aarch64-linux-musl" \
ENV RUBY_TARGET="aarch64-linux-musl" \
RUST_TARGET="aarch64-unknown-linux-musl" \
RUSTUP_DEFAULT_TOOLCHAIN="stable" \
RUSTUP_HOME="/usr/local/rustup" \
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.arm-linux
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Ensure this version matches the rack-compiler-version in Gemfile
FROM ghcr.io/rake-compiler/rake-compiler-dock-image:1.9.1-mri-arm-linux

ENV RUBY_CC_VERSION="3.4:3.3:3.2:3.1:3.0:2.7:2.6" \
RUBY_TARGET="arm-linux" \
ENV RUBY_TARGET="arm-linux" \
RUST_TARGET="arm-unknown-linux-gnueabihf" \
RUSTUP_DEFAULT_TOOLCHAIN="stable" \
PKG_CONFIG_ALLOW_CROSS="1" \
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.arm64-darwin
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Ensure this version matches the rack-compiler-version in Gemfile
FROM ghcr.io/rake-compiler/rake-compiler-dock-image:1.9.1-mri-arm64-darwin

ENV RUBY_CC_VERSION="3.4:3.3:3.2:3.1:3.0:2.7:2.6" \
RUBY_TARGET="arm64-darwin" \
ENV RUBY_TARGET="arm64-darwin" \
RUST_TARGET="aarch64-apple-darwin" \
RUSTUP_DEFAULT_TOOLCHAIN="stable" \
PKG_CONFIG_ALLOW_CROSS="1" \
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.x64-mingw-ucrt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Ensure this version matches the rack-compiler-version in Gemfile
FROM ghcr.io/rake-compiler/rake-compiler-dock-image:1.9.1-mri-x64-mingw-ucrt

ENV RUBY_CC_VERSION="3.4:3.3:3.2:3.1:3.0:2.7:2.6" \
RUBY_TARGET="x64-mingw-ucrt" \
ENV RUBY_TARGET="x64-mingw-ucrt" \
RUST_TARGET="x86_64-pc-windows-gnu" \
RUSTUP_DEFAULT_TOOLCHAIN="stable" \
PKG_CONFIG_ALLOW_CROSS="1" \
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.x64-mingw32
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Ensure this version matches the rack-compiler-version in Gemfile
FROM ghcr.io/rake-compiler/rake-compiler-dock-image:1.9.1-mri-x64-mingw32

ENV RUBY_CC_VERSION="3.4:3.3:3.2:3.1:3.0:2.7:2.6" \
RUBY_TARGET="x64-mingw32" \
ENV RUBY_TARGET="x64-mingw32" \
RUST_TARGET="x86_64-pc-windows-gnu" \
RUSTUP_DEFAULT_TOOLCHAIN="stable" \
PKG_CONFIG_ALLOW_CROSS="1" \
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.x86-linux
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Ensure this version matches the rack-compiler-version in Gemfile
FROM ghcr.io/rake-compiler/rake-compiler-dock-image:1.9.1-mri-x86-linux

ENV RUBY_CC_VERSION="3.4:3.3:3.2:3.1:3.0:2.7:2.6" \
RUBY_TARGET="x86-linux" \
ENV RUBY_TARGET="x86-linux" \
RUST_TARGET="i686-unknown-linux-gnu" \
RUSTUP_DEFAULT_TOOLCHAIN="stable" \
PKG_CONFIG_ALLOW_CROSS="1" \
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.x86-mingw32
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ ARG LLVM_MINGW_VERSION=20231128 \
LLVM_MINGW_SHA256=2d532648bfd202bfe5edfa8b7f6c55970f65639779f34115a9a8bfa6f7d87f0b \
LLVM_MINGW_LIBCLANG_VERSION=14.0.0

ENV RUBY_CC_VERSION="3.4:3.3:3.2:3.1:3.0:2.7:2.6" \
RUBY_TARGET="x86-mingw32" \
ENV RUBY_TARGET="x86-mingw32" \
RUST_TARGET="i686-pc-windows-gnu" \
RUSTUP_DEFAULT_TOOLCHAIN="stable" \
PKG_CONFIG_ALLOW_CROSS="1" \
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.x86_64-darwin
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Ensure this version matches the rack-compiler-version in Gemfile
FROM ghcr.io/rake-compiler/rake-compiler-dock-image:1.9.1-mri-x86_64-darwin

ENV RUBY_CC_VERSION="3.4:3.3:3.2:3.1:3.0:2.7:2.6" \
RUBY_TARGET="x86_64-darwin" \
ENV RUBY_TARGET="x86_64-darwin" \
RUST_TARGET="x86_64-apple-darwin" \
RUSTUP_DEFAULT_TOOLCHAIN="stable" \
PKG_CONFIG_ALLOW_CROSS="1" \
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.x86_64-linux
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Ensure this version matches the rack-compiler-version in Gemfile
FROM ghcr.io/rake-compiler/rake-compiler-dock-image:1.9.1-mri-x86_64-linux

ENV RUBY_CC_VERSION="3.4:3.3:3.2:3.1:3.0:2.7:2.6" \
RUBY_TARGET="x86_64-linux" \
ENV RUBY_TARGET="x86_64-linux" \
RUST_TARGET="x86_64-unknown-linux-gnu" \
RUSTUP_DEFAULT_TOOLCHAIN="stable" \
PKG_CONFIG_ALLOW_CROSS="1" \
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.x86_64-linux-musl
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Ensure this version matches the rack-compiler-version in Gemfile
FROM ghcr.io/rake-compiler/rake-compiler-dock-image:1.9.1-mri-x86_64-linux-musl

ENV RUBY_CC_VERSION="3.4:3.3:3.2:3.1:3.0:2.7:2.6" \
RUBY_TARGET="x86_64-linux-musl" \
ENV RUBY_TARGET="x86_64-linux-musl" \
RUST_TARGET="x86_64-unknown-linux-musl" \
RUSTUP_DEFAULT_TOOLCHAIN="stable" \
RUSTUP_HOME="/usr/local/rustup" \
Expand Down

0 comments on commit 58ba439

Please sign in to comment.