Skip to content

Commit

Permalink
[Security] [CONFIG] [Docker] FIX CVE-2024-5535 CVE-2024-4741
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonzalo Diaz committed Jul 20, 2024
1 parent 71cc75c commit 8dd6016
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ ENV WORKDIR=/app
WORKDIR ${WORKDIR}

RUN apk add --update --no-cache make
RUN apk upgrade --update --no-cache openssl libcrypto3 libssl3 # FIX CVE-2024-5535
RUN apk upgrade --update --no-cache --available # FIX CVE-2024-5535 CVE-2024-4741

###############################################################################
FROM base AS lint
Expand Down Expand Up @@ -92,6 +94,8 @@ CMD ["make", "test"]
## WORKDIR and USER are maintained
##
FROM eclipse-temurin:22.0.1_8-jre-alpine AS production
RUN apk upgrade --update --no-cache openssl libcrypto3 libssl3 # FIX CVE-2024-5535
RUN apk upgrade --update --no-cache --available # FIX CVE-2024-5535 CVE-2024-4741

ENV LOG_LEVEL=INFO
ENV BRUTEFORCE=false
Expand Down

0 comments on commit 8dd6016

Please sign in to comment.