Skip to content

Commit

Permalink
try to fix arm images
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-stc committed Feb 7, 2024
1 parent 3d8894a commit 5ce657a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY --from=SECURITY /etc/java-17-openjdk/security/java.security /java.security
RUN echo "networkaddress.cache.ttl=60" >> /java.security
RUN sed -i -e "s@^securerandom.source=.*@securerandom.source=${JAVA_RANDOM}@" /java.security

FROM gcr.io/distroless/java17:nonroot
FROM --platform=$BUILDPLATFORM gcr.io/distroless/java17:nonroot

COPY --from=BUILD /opt/target/vault-crd.jar /opt/vault-crd.jar
COPY --from=BUILD /java.security /etc/java-17-openjdk/security/java.security
Expand Down

0 comments on commit 5ce657a

Please sign in to comment.