Skip to content

Commit 70765f4

Browse files
committed
try fix vulnerability
1 parent 32512e6 commit 70765f4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# sha from https://hub.docker.com/layers/library/eclipse-temurin/21-jre-alpine-3.23/images/sha256-693c22ea458d62395bac47a2da405d0d18c77b205211ceec4846a550a37684b6
2-
FROM eclipse-temurin:21-jdk-alpine
3-
2+
FROM eclipse-temurin@sha256:89517925fa675c6c4b770bee7c44d38a7763212741b0d6fca5a5103caab21a97
43
# For Amazon Corretto Crypto Provider
54
RUN apk add --no-cache gcompat
65

@@ -23,6 +22,9 @@ COPY ./conf/*.xml /app/conf/
2322

2423
RUN tar xzvf /app/static.tar.gz --no-same-owner --no-same-permissions && rm -f /app/static.tar.gz
2524

25+
# Fix CVE-2025-68973: Update gnupg to patched version
26+
RUN apk update && apk upgrade gnupg && rm -rf /var/cache/apk/*
27+
2628
RUN adduser -D uid2-operator && mkdir -p /opt/uid2 && chmod 777 -R /opt/uid2 && mkdir -p /app && chmod 705 -R /app && mkdir -p /app/file-uploads && chmod 777 -R /app/file-uploads && mkdir -p /app/pod_terminating && chmod 777 -R /app/pod_terminating
2729
USER uid2-operator
2830

0 commit comments

Comments
 (0)