From d9c6d19a8805c149d614ff204d0f729dec7410ec Mon Sep 17 00:00:00 2001 From: Volodymyr Kravets Date: Fri, 11 Oct 2024 13:25:23 +0300 Subject: [PATCH] build: update Dockerfile & reproducible.yml --- .github/workflows/reproducible.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reproducible.yml b/.github/workflows/reproducible.yml index c8efe19c..327b3907 100644 --- a/.github/workflows/reproducible.yml +++ b/.github/workflows/reproducible.yml @@ -8,7 +8,7 @@ jobs: build: runs-on: ubuntu-20.04 container: - image: openjdk@sha256:335627a2118556b3f412287e08ac7febb8ecc46325dc6b3570db56f32d33938f + image: eclipse-temurin@sha256:3c76cd069517718b1952eb69678014d6b752502c9fa83409e31c34309ec309d5 # eclipse-temurin:17-jdk steps: - name: Install packages diff --git a/Dockerfile b/Dockerfile index 495a884d..b2c8df5b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:8-jdk-slim-buster AS build +FROM eclipse-temurin:17-jdk AS build ARG RSK_RELEASE ENV RSK_VERSION $RSK_RELEASE @@ -20,7 +20,7 @@ RUN gpg --keyserver https://secchannel.rsk.co/SUPPORT.asc --recv-keys 1DC9157991 ./gradlew --no-daemon clean build -x test && \ cp "build/libs/federate-node-$RSK_VERSION-all.jar" rsk.jar -FROM openjdk:8-jre-slim-buster +FROM eclipse-temurin:17-jre LABEL org.opencontainers.image.authors="ops@rootstocklabs.com" RUN useradd -ms /sbin/nologin -d /var/lib/rsk rsk