diff --git a/Dockerfile b/Dockerfile index 8c61fe3..cc8388c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ # along with this program. If not, see . # -FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23-alpine3.20 AS builder +FROM --platform=${BUILDPLATFORM:-linux/amd64} public.ecr.aws/docker/library/golang:1.23-alpine3.20 AS builder ARG RELEASE_VERSION=devel ARG TARGETOS ARG TARGETARCH @@ -32,7 +32,7 @@ COPY *.go ./ # hadolint ignore=DL3059 RUN go build -ldflags "-X github.com/mazay/s3sync-service/service.version=${RELEASE_VERSION}" -FROM alpine:3.20.3 +FROM public.ecr.aws/docker/library/alpine:3.20.3 ARG TARGETPLATFORM LABEL maintainer="Yevgeniy Valeyev " # hadolint ignore=DL3018