Skip to content
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# `rake-compiler/rake-compiler-dock` Changelog

## next / unreleased

- Replace JRuby 9.4 with JRuby 10.0 in the JRuby build container.


## 1.11.0 / 2025-12-25

- Bump Ruby 4 cross-compilation support to 4.0.0.
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.jruby
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM ubuntu:20.04
FROM ubuntu:24.04

ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y update && \
apt-get install -y sudo wget curl git-core build-essential xz-utils unzip dirmngr && \
apt-get install -y openjdk-11-jdk-headless maven && \
apt-get install -y openjdk-21-jdk-headless maven && \
rm -rf /var/lib/apt/lists/*

##
## install rbenv and ruby-build
##
RUN groupadd -r rubyuser && useradd -r -g rubyuser -G sudo -p "" --create-home rubyuser

ENV RBENV_ROOT=/usr/local/rbenv RBENV_RUBIES="jruby-9.4.0.0"
ENV RBENV_ROOT=/usr/local/rbenv RBENV_RUBIES="jruby-10.0.0.0"

# chown after running `rbenv init` because that command creates some subdirectories
RUN git clone https://github.com/rbenv/rbenv.git ${RBENV_ROOT} && \
Expand Down Expand Up @@ -74,6 +74,6 @@ COPY build/runas /usr/local/bin/
# Install sudoers configuration
COPY build/sudoers /etc/sudoers.d/rake-compiler-dock

RUN bash -c "rbenv global jruby-9.4.0.0"
RUN bash -c "rbenv global jruby-10.0.0.0"

CMD bash
Loading