-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix builds by switching to native arm64 runners (#21)
* Update default build to 3.4.1, update rust dependency * Extend matrix to use platform-specific runners * Merge builds into multiarch image
- Loading branch information
Showing
3 changed files
with
65 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG RUBY_VERSION="3.3.1" | ||
ARG RUBY_VERSION="3.4.1" | ||
ARG IMAGE_NAME="ruby:${RUBY_VERSION}-slim" | ||
# hadolint ignore=DL3006 | ||
FROM ${IMAGE_NAME} | ||
|
@@ -7,7 +7,7 @@ LABEL maintainer="Moritz Heiber <[email protected]>" | |
LABEL org.opencontainers.image.source=https://github.com/moritzheiber/ruby-jemalloc-docker | ||
|
||
ARG RUBY_VERSION | ||
ARG RUBY_CHECKSUM="8dc2af2802cc700cd182d5430726388ccf885b3f0a14fcd6a0f21ff249c9aa99" | ||
ARG RUBY_CHECKSUM="3d385e5d22d368b064c817a13ed8e3cc3f71a7705d7ed1bae78013c33aa7c87f" | ||
ARG ADDITIONAL_FLAGS | ||
|
||
ENV DEBIAN_FRONTEND="noninteractive" \ | ||
|
@@ -31,7 +31,7 @@ RUN apt-get update && \ | |
libffi-dev \ | ||
zlib1g-dev \ | ||
libssl-dev && \ | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain=1.77.0 && \ | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain=1.84.0 && \ | ||
source "${HOME}/.cargo/env" && \ | ||
curl -L -o "ruby-${RUBY_VERSION}.tar.gz" "https://cache.ruby-lang.org/pub/ruby/${RUBY_VERSION%.*}/ruby-${RUBY_VERSION}.tar.gz" && \ | ||
echo "${RUBY_CHECKSUM} ruby-${RUBY_VERSION}.tar.gz" | sha256sum --strict -c - && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters