From 02e933efed53c69274147751be77b7e33324329b Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Tue, 28 Jun 2022 22:19:42 +0500 Subject: [PATCH] Use mirrorred images in Dockerfile. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a56df67..67b2cfc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18.3-alpine AS build +FROM code.pztrn.name/containers/mirror/golang:1.18.3-alpine AS build WORKDIR /fastpastebin COPY . . @@ -7,7 +7,7 @@ WORKDIR /fastpastebin/cmd/fastpastebin RUN CGO_ENABLED=0 go build -tags netgo -FROM alpine:3.16.0 +FROM code.pztrn.name/containers/mirror/alpine:3.16.0 LABEL maintainer "Stanislav N. " COPY --from=build /fastpastebin/cmd/fastpastebin/fastpastebin /app/fastpastebin