diff --git a/dockerfiles/alpine/Dockerfile b/dockerfiles/alpine/Dockerfile index b03dde3f..23607c57 100644 --- a/dockerfiles/alpine/Dockerfile +++ b/dockerfiles/alpine/Dockerfile @@ -14,6 +14,7 @@ RUN set -e; for pkg in $(go list ./...); do \ done FROM ${base_image} AS resource +RUN apk update && apk upgrade RUN apk add --no-cache bash tzdata ca-certificates unzip zip gzip tar COPY --from=builder assets/ /opt/resource/ RUN chmod +x /opt/resource/* diff --git a/dockerfiles/ubuntu/Dockerfile b/dockerfiles/ubuntu/Dockerfile index 5e4fbac9..fcf366e5 100644 --- a/dockerfiles/ubuntu/Dockerfile +++ b/dockerfiles/ubuntu/Dockerfile @@ -14,8 +14,9 @@ RUN set -e; for pkg in $(go list ./...); do \ done FROM ${base_image} AS resource -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ +RUN apt update && apt upgrade -y -o Dpkg::Options::="--force-confdef" +RUN apt update \ + && apt install -y --no-install-recommends \ tzdata \ ca-certificates \ unzip \