Skip to content

Commit f9148d5

Browse files
authored
Merge pull request #91 from willyguggenheim/fix/dockerfile-vuln-remediation
Add apk upgrade to fix OpenSSL CVEs in cached base image
2 parents e609311 + 634cac3 commit f9148d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ LABEL \
2828
org.opencontainers.image.source="https://github.com/mendhak/docker-http-https-echo" \
2929
org.opencontainers.image.licenses="MIT"
3030
WORKDIR /app
31-
RUN rm -rf /usr/local/lib/node_modules
31+
RUN apk upgrade --no-cache && rm -rf /usr/local/lib/node_modules
3232
COPY --from=build /app /app
3333
ENV HTTP_PORT=8080 HTTPS_PORT=8443
3434
EXPOSE $HTTP_PORT $HTTPS_PORT

0 commit comments

Comments
 (0)