From b2600b0dab86f24d040b3d93de52de99b602b55b Mon Sep 17 00:00:00 2001 From: Owen Date: Thu, 26 Feb 2026 21:48:11 -0800 Subject: [PATCH] Pull from ecr --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 197ac84..25113a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM golang:1.25-alpine AS builder +# FROM golang:1.25-alpine AS builder +FROM public.ecr.aws/docker/library/golang:1.25-alpine AS builder # Install git and ca-certificates RUN apk --no-cache add ca-certificates git tzdata @@ -18,7 +19,7 @@ COPY . . # Build the application RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /newt -FROM alpine:3.23 AS runner +FROM public.ecr.aws/docker/library/alpine:3.23 AS runner RUN apk --no-cache add ca-certificates tzdata iputils