Update docker images to java 21 (#269)

This commit is contained in:
napoly 2024-03-11 18:37:41 +01:00 committed by GitHub
parent 0fa57a5fdc
commit 2161512b25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 4 deletions

View File

@ -13,7 +13,13 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Setup Java 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Stop Mono service - name: Stop Mono service
run: sudo killall mono run: sudo killall mono
@ -22,7 +28,7 @@ jobs:
run: docker-compose -f "./docker/docker-compose.yml" up -d --build run: docker-compose -f "./docker/docker-compose.yml" up -d --build
- name: Install node - name: Install node
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 16 node-version: 16

View File

@ -1,4 +1,4 @@
FROM openjdk:11 FROM openjdk:21-jdk-bullseye
RUN set -ex && \ RUN set -ex && \
apt update && \ apt update && \

View File

@ -1,4 +1,4 @@
FROM gradle:jdk11 FROM gradle:jdk21
RUN set -ex && \ RUN set -ex && \
apt update && \ apt update && \