Skip to content

Commit

Permalink
Merge pull request #6893 from alvasw/seednode_docker_use_distroless_b…
Browse files Browse the repository at this point in the history
…ase_image

seednode-docker: Use distroless base-image
  • Loading branch information
alejandrogarcia83 authored Oct 6, 2023
2 parents d648daa + 2caf328 commit 42a61d8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM azul/zulu-openjdk:11.0.20-11.66.15
FROM azul/zulu-openjdk:11.0.20-11.66.15 as build

COPY '{{ ARCHIVE_PATH }}' /
RUN tar xvf /seednode.tar

FROM gcr.io/distroless/java11-debian11
COPY --from=build /seednode /seednode

ENTRYPOINT ["java", "-classpath", "'{{ CLASS_PATH }}'", "'{{ MAIN_CLASS }}'"]

0 comments on commit 42a61d8

Please sign in to comment.