add docker-hub-proxy for image
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
FROM golang:1.22 AS build
|
||||
ARG DOCKER_REGISTRY=harbor.avroid.tech/docker-hub-proxy/library
|
||||
|
||||
FROM ${DOCKER_REGISTRY}/golang:1.22 AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -11,7 +13,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build .
|
||||
|
||||
|
||||
# make a bare minimal image
|
||||
FROM alpine:3.19
|
||||
FROM ${DOCKER_REGISTRY}/alpine:3.19
|
||||
|
||||
RUN apk update \
|
||||
&& apk add musl-dev \
|
||||
|
||||
Reference in New Issue
Block a user