Skip to content

Commit

Permalink
Containerfile: Use GOPROXY to avoid CI problems HMS-3099
Browse files Browse the repository at this point in the history
Avoid CI problems with rate-limits and might also speed up
the tests
  • Loading branch information
schuellerf committed Apr 2, 2024
1 parent 4e69f41 commit 7937c87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM registry.fedoraproject.org/fedora:39 AS builder
RUN dnf install -y git-core golang gpgme-devel libassuan-devel && mkdir -p /build/bib
COPY bib/go.mod bib/go.sum /build/bib
RUN go env -w GOPROXY=https://proxy.golang.org,direct
RUN cd /build/bib && go mod download
COPY build.sh /build
COPY bib /build/bib
Expand Down

0 comments on commit 7937c87

Please sign in to comment.