diff --git a/dockerfiles/alpine/Dockerfile b/dockerfiles/alpine/Dockerfile index 1306b57..4f30967 100644 --- a/dockerfiles/alpine/Dockerfile +++ b/dockerfiles/alpine/Dockerfile @@ -16,6 +16,7 @@ RUN set -e; for pkg in $(go list ./...); do \ done FROM ${base_image} AS resource +RUN apk update && apk upgrade RUN apk add --update bash tzdata COPY --from=builder /assets /opt/resource diff --git a/dockerfiles/ubuntu/Dockerfile b/dockerfiles/ubuntu/Dockerfile index 36bfb4f..427e281 100644 --- a/dockerfiles/ubuntu/Dockerfile +++ b/dockerfiles/ubuntu/Dockerfile @@ -16,7 +16,8 @@ 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 tzdata \ +RUN apt update && apt upgrade -y -o Dpkg::Options::="--force-confdef" +RUN apt update && apt install -y --no-install-recommends tzdata \ && rm -rf /var/lib/apt/lists/* COPY --from=builder /assets /opt/resource