Skip to content

Commit

Permalink
Merge pull request #322 from rsksmart/vovchyk/docker-upd
Browse files Browse the repository at this point in the history
build: update Dockerfile & reproducible.yml
  • Loading branch information
marcos-iov authored Oct 11, 2024
2 parents 2aea53c + d9c6d19 commit 09a8c2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reproducible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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="[email protected]"

RUN useradd -ms /sbin/nologin -d /var/lib/rsk rsk
Expand Down

0 comments on commit 09a8c2b

Please sign in to comment.