From d0862bd5553b5143123b53f283e560507a5bb43f Mon Sep 17 00:00:00 2001 From: Ingmar Delsink Date: Mon, 17 Oct 2022 12:16:15 +0200 Subject: [PATCH] Update Dockerfile FROM command to use non-ambiguous container sources Signed-off-by: Ingmar Delsink --- Dockerfile | 4 ++-- scripts/release/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3ca02ad..40e23fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ # You may obtain a copy of the License at the LICENSE file in # the root directory of this source tree. -FROM golang:1.22.3-alpine AS builder +FROM docker.io/library/golang:1.22.3-alpine AS builder RUN apk add --update --no-cache make @@ -21,7 +21,7 @@ RUN make build ################ -FROM alpine:3.20.0 +FROM docker.io/library/alpine:3.20.0 # Mitigate CVE-2023-5363 RUN apk add --no-cache --upgrade "openssl>=3.1.4-r1" diff --git a/scripts/release/Dockerfile b/scripts/release/Dockerfile index ca8eb04..c004911 100644 --- a/scripts/release/Dockerfile +++ b/scripts/release/Dockerfile @@ -6,7 +6,7 @@ # You may obtain a copy of the License at the LICENSE file in # the root directory of this source tree. -FROM alpine:3.20.0 +FROM docker.io/library/alpine:3.20.0 COPY terraform-docs /usr/local/bin/terraform-docs