diff --git a/dockerfiles/alpine/Dockerfile b/dockerfiles/alpine/Dockerfile index b877c6c..8d10f3f 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 --update bash tzdata ca-certificates COPY --from=builder /assets /opt/resource diff --git a/dockerfiles/ubuntu/Dockerfile b/dockerfiles/ubuntu/Dockerfile index 7b2c6e5..4477982 100644 --- a/dockerfiles/ubuntu/Dockerfile +++ b/dockerfiles/ubuntu/Dockerfile @@ -14,7 +14,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 \ +RUN apt update && apt upgrade -y -o Dpkg::Options::="--force-confdef" +RUN apt update && apt install -y --no-install-recommends \ tzdata \ ca-certificates \ && rm -rf /var/lib/apt/lists/*