Skip to content

Commit 47721ce

Browse files
committed
Dockerfile: use OpenJDK 17 and Ruby 3.2
The base `ruby` image dropped Debian 10 ("buster") images and converted them to Debian 12 ("bookworm") - see <docker-library/ruby#415>. However, while OpenJDK 11 was available in "buster", it is no longer available in "bookworm", so we now have to use OpenJDK 17 instead.
1 parent d5cef48 commit 47721ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM ruby
1+
FROM ruby:3.2
22

33
# Download Kaitai Struct compiler deb
44
RUN curl -fsSLO https://github.com/kaitai-io/kaitai_struct_compiler/releases/download/0.10/kaitai-struct-compiler_0.10_all.deb
55

66
# Install it + Java + cleanup
77
RUN apt-get update \
8-
&& apt-get -y install openjdk-11-jre-headless \
8+
&& apt-get -y install openjdk-17-jre-headless \
99
&& apt-get -y install ./kaitai-struct-compiler_0.10_all.deb \
1010
&& rm -rf /var/lib/apt/lists/* ./kaitai-struct-compiler_0.10_all.deb
1111

0 commit comments

Comments
 (0)