Utilisation du proxy cache Cadoles

This commit is contained in:
wpetit 2023-02-15 16:28:57 +01:00
parent 50310eee17
commit 13dc4cbd13
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.15 as envtpl FROM reg.cadoles.com/proxy_cache/library/golang:1.15 as envtpl
ARG HTTP_PROXY= ARG HTTP_PROXY=
ARG HTTPS_PROXY= ARG HTTPS_PROXY=
@ -14,7 +14,7 @@ RUN git clone https://github.com/subfuzion/envtpl /src \
-ldflags "-X main.AppVersionMetadata=$(date -u +%s)" \ -ldflags "-X main.AppVersionMetadata=$(date -u +%s)" \
-a -installsuffix cgo -o ./bin/envtpl ./cmd/envtpl/. -a -installsuffix cgo -o ./bin/envtpl ./cmd/envtpl/.
FROM alpine:3.13 FROM reg.cadoles.com/proxy_cache/library/alpine:3.13
ARG HTTP_PROXY= ARG HTTP_PROXY=
ARG HTTPS_PROXY= ARG HTTPS_PROXY=

View File

@ -1,4 +1,4 @@
FROM golang:1.13 as envtpl FROM reg.cadoles.com/proxy_cache/library/golang:1.13 as envtpl
ARG HTTP_PROXY= ARG HTTP_PROXY=
ARG HTTPS_PROXY= ARG HTTPS_PROXY=

View File

@ -1,4 +1,4 @@
FROM alpine:3.12 FROM reg.cadoles.com/proxy_cache/library/alpine:3.12
ARG HTTP_PROXY= ARG HTTP_PROXY=
ARG HTTPS_PROXY= ARG HTTPS_PROXY=

View File

@ -1,4 +1,4 @@
FROM golang:1.11.4 as envtpl FROM reg.cadoles.com/proxy_cache/library/golang:1.11.4 as envtpl
ARG HTTP_PROXY= ARG HTTP_PROXY=
ARG HTTPS_PROXY= ARG HTTPS_PROXY=
@ -14,7 +14,7 @@ RUN git clone https://github.com/subfuzion/envtpl /src \
-ldflags "-X main.AppVersionMetadata=$(date -u +%s)" \ -ldflags "-X main.AppVersionMetadata=$(date -u +%s)" \
-a -installsuffix cgo -o ./bin/envtpl ./cmd/envtpl/. -a -installsuffix cgo -o ./bin/envtpl ./cmd/envtpl/.
FROM alpine:3.9 FROM reg.cadoles.com/proxy_cache/library/alpine:3.9
ARG HTTP_PROXY= ARG HTTP_PROXY=
ARG HTTPS_PROXY= ARG HTTPS_PROXY=