From c327f9eec5507c7255a849476e1b86c2f120f776 Mon Sep 17 00:00:00 2001 From: Mukul Sharma Date: Thu, 3 Sep 2026 09:35:46 +0530 Subject: [PATCH] Pull base images from Harbor, not Docker Hub MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Matches devops-lib#4b90815 — this repo has its own Dockerfile, so it never went through the fallback templates that change updated. Same base-images/golang:1.22-alpine and base-images/alpine:3.20 already mirrored there. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f0f1b4..02a41e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM golang:1.22-alpine AS build +FROM harbor.192.168.1.7.nip.io/base-images/golang:1.22-alpine AS build WORKDIR /src COPY go.mod ./ COPY main.go ./ RUN CGO_ENABLED=0 go build -o /app . -FROM alpine:3.20 +FROM harbor.192.168.1.7.nip.io/base-images/alpine:3.20 COPY --from=build /app /app EXPOSE 8080 ENTRYPOINT ["/app"]