fix(docker): datahub-gms - upgrade base image to fix vulnerabilities (#3962)

This commit is contained in:
Dexter Lee 2022-01-25 14:46:15 -08:00 committed by GitHub
parent f2e2a4d5b7
commit f047036bbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# Defining environment
ARG APP_ENV=prod
FROM alpine:3.14.2 AS base
FROM alpine:3.14 AS base
ENV DOCKERIZE_VERSION v0.6.1
@ -23,7 +23,7 @@ RUN apk --no-cache --update-cache --available upgrade \
&& cp /usr/lib/jvm/java-1.8-openjdk/jre/lib/security/cacerts /tmp/kafka.client.truststore.jks \
&& curl -L https://github.com/treff7es/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-${DOCKERIZE_ARCH}-$DOCKERIZE_VERSION.tar.gz | tar -C /usr/local/bin -xzv
FROM alpine:3.14.2 AS prod-build
FROM alpine:3.14 AS prod-build
# Upgrade Alpine and base packages
RUN apk --no-cache --update-cache --available upgrade \