Skip to content

Commit

Permalink
ci: use jdk 22 docker test image
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Baliasnikov <[email protected]>
  • Loading branch information
Anton Baliasnikov committed Oct 23, 2023
1 parent 9659797 commit 0103fdf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .github/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04
FROM openjdk:22-jdk-slim

RUN apt-get update && \
apt-get install --no-install-recommends --yes \
Expand All @@ -8,10 +8,10 @@ RUN apt-get update && \
unzip=6.* \
zip=3.* \
jq=1.* \
python3=3.10.* \
python3-pip=22.* \
python3-setuptools=59.6.* \
python3-wheel=0.37.* \
python3=3.11.* \
python3-pip=23.* \
python3-setuptools=66.* \
python3-wheel=0.38.* \
gnupg=2.2.* \
default-jre=2:1.* \
build-essential=12.* && \
Expand All @@ -23,3 +23,5 @@ RUN apt-get update && \
apt-get install --no-install-recommends --yes \
sbt=1.4.* \
&& rm -rf /var/lib/apt/lists/*

CMD [ "/bin/bash" ]
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: "Build and unit tests for ${{ inputs.component-name }}"
runs-on: self-hosted
container:
image: ghcr.io/input-output-hk/agent-ci-ubuntu-22-jdk-11:0.1.0
image: ghcr.io/hyperledger-labs/ci-debian-jdk-22:0.1.0
volumes:
- /nix:/nix
credentials:
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.8.0
sbt.version=1.9.7

0 comments on commit 0103fdf

Please sign in to comment.