CI: Add "ARG GODEBUG" to Dockerfiles

This commit is contained in:
Michael Mayer 2021-12-10 10:17:13 +01:00
parent f8dfedb1bf
commit d4015065b3
5 changed files with 11 additions and 0 deletions

View file

@ -6,6 +6,7 @@ ARG TARGETARCH
ARG TARGETPLATFORM
ARG BUILD_TAG
ARG GOPROXY
ARG GODEBUG
# Set environment variables
ENV DEBIAN_FRONTEND="noninteractive" \

View file

@ -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

View file

@ -2,6 +2,9 @@ FROM golang:1
LABEL maintainer="Michael Mayer <hello@photoprism.org>"
ARG GOPROXY
ARG GODEBUG
# Set up project directory
WORKDIR "/webdav"

View file

@ -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 && \

View file

@ -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"