Skip to content

Commit

Permalink
Update Dockerfile FROM command to use non-ambiguous container sources
Browse files Browse the repository at this point in the history
Signed-off-by: Ingmar Delsink <ingmardelsink@hotmail.com>
  • Loading branch information
idelsink committed May 28, 2024
1 parent 80c406f commit d0862bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d0862bd

Please sign in to comment.