diff --git a/dockerfiles/alpine/Dockerfile b/dockerfiles/alpine/Dockerfile index dcaaaad..0eb78b5 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 git jq openssh RUN git config --global user.email "git@localhost" RUN git config --global user.name "git" diff --git a/dockerfiles/ubuntu/Dockerfile b/dockerfiles/ubuntu/Dockerfile index ba211b7..81f3047 100644 --- a/dockerfiles/ubuntu/Dockerfile +++ b/dockerfiles/ubuntu/Dockerfile @@ -14,9 +14,10 @@ RUN set -e; for pkg in $(go list ./...); do \ done FROM ${base_image} AS resource -RUN apt-get update \ +RUN apt update && apt upgrade -y -o Dpkg::Options::="--force-confdef" +RUN apt update \ && DEBIAN_FRONTEND=noninteractive \ - apt-get install -y --no-install-recommends \ + apt install -y --no-install-recommends \ tzdata \ ca-certificates \ git \