Skip to content

Commit

Permalink
Merge pull request #720 from cantaloupe-project/graalvm
Browse files Browse the repository at this point in the history
Update GraalVM to use JDK 21
  • Loading branch information
ksclarke authored Dec 18, 2024
2 parents 97d6414 + 19d007f commit 805db11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: docker compose -f docker/Linux-JDK21/compose.yaml up --build --exit-code-from cantaloupe
- name: Test in Linux GraalVM
if: matrix.os == 'ubuntu-latest' && matrix.java == 'graalvm'
run: docker compose -f docker/Linux-GraalVM20/compose.yaml up --build --exit-code-from cantaloupe
run: docker compose -f docker/Linux-GraalVM-JDK21/compose.yaml up --build --exit-code-from cantaloupe
- name: Test in Windows JDK 17 (LTS)
if: matrix.os == 'windows-latest' && matrix.java == 'jdk17'
run: docker compose -f docker/Windows-JDK17/compose.yaml up --build --exit-code-from cantaloupe
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM ubuntu:noble

ENV JAVA_HOME=/opt/graalvm-ce-java11-20.3.0
ENV GRAALVM_HOME=/opt/graalvm-ce-java11-20.3.0
ENV PATH=$PATH:/opt/graalvm-ce-java11-20.3.0/bin
ENV JAVA_HOME=/opt/graalvm-community-openjdk-21.0.2+13.1
ENV GRAALVM_HOME=/opt/graalvm-community-openjdk-21.0.2+13.1
ENV PATH=$PATH:/opt/graalvm-community-openjdk-21.0.2+13.1/bin

ARG DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -39,9 +39,9 @@ COPY dist/deps/Linux-x86-64/lib/* /usr/lib/
# && dpkg -i ./libgrokj2k1_7.6.5-1_amd64.deb \

# Install GraalVM
RUN wget -q https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-20.3.0/graalvm-ce-java11-linux-amd64-20.3.0.tar.gz \
&& tar xfz graalvm-ce-java11-linux-amd64-20.3.0.tar.gz \
&& mv graalvm-ce-java11-20.3.0 /opt
RUN wget -q https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-21.0.2/graalvm-community-jdk-21.0.2_linux-x64_bin.tar.gz \
&& tar xfz graalvm-community-jdk-21.0.2_linux-x64_bin.tar.gz \
&& mv graalvm-community-openjdk-21.0.2+13.1 /opt

# A non-root user is needed for some FilesystemSourceTest tests to work.
ARG user=cantaloupe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
cantaloupe:
build:
context: ../../
dockerfile: $PWD/docker/Linux-GraalVM20/Dockerfile
dockerfile: $PWD/docker/Linux-GraalVM-JDK21/Dockerfile
minio:
image: minio/minio
environment:
Expand Down

0 comments on commit 805db11

Please sign in to comment.