CI: Add "ARG GODEBUG" to Dockerfiles
This commit is contained in:
parent
f8dfedb1bf
commit
d4015065b3
|
@ -6,6 +6,7 @@ ARG TARGETARCH
|
|||
ARG TARGETPLATFORM
|
||||
ARG BUILD_TAG
|
||||
ARG GOPROXY
|
||||
ARG GODEBUG
|
||||
|
||||
# Set environment variables
|
||||
ENV DEBIAN_FRONTEND="noninteractive" \
|
||||
|
|
|
@ -3,6 +3,9 @@ FROM golang:1
|
|||
# Move to working directory /app
|
||||
WORKDIR /app
|
||||
|
||||
ARG GOPROXY
|
||||
ARG GODEBUG
|
||||
|
||||
# Copy files and download dependency using go mod
|
||||
COPY /docker/dummy/oidc/app/. .
|
||||
RUN go mod download
|
||||
|
|
|
@ -2,6 +2,9 @@ FROM golang:1
|
|||
|
||||
LABEL maintainer="Michael Mayer <hello@photoprism.org>"
|
||||
|
||||
ARG GOPROXY
|
||||
ARG GODEBUG
|
||||
|
||||
# Set up project directory
|
||||
WORKDIR "/webdav"
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
FROM golang:alpine AS build
|
||||
|
||||
ARG GOPROXY
|
||||
ARG GODEBUG
|
||||
|
||||
RUN apk add --no-cache -U make git mercurial subversion
|
||||
|
||||
RUN git clone https://github.com/goproxyio/goproxy.git /src/goproxy && \
|
||||
|
|
|
@ -4,6 +4,7 @@ ARG TARGETARCH
|
|||
ARG TARGETPLATFORM
|
||||
ARG BUILD_TAG
|
||||
ARG GOPROXY
|
||||
ARG GODEBUG
|
||||
|
||||
# Set up project directory
|
||||
WORKDIR "/go/src/github.com/photoprism/photoprism"
|
||||
|
|
Loading…
Reference in a new issue