Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6fbfc2f

Browse files
authoredApr 8, 2021
Merge pull request #3076 from cdr/jsjoeio/fix-nfpm
fix: use curl to install nfpm
2 parents f813a15 + 7bb62f1 commit 6fbfc2f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎ci/images/debian10/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ ENV GOPATH=/gopath
3737
RUN mkdir -p $GOPATH && chmod -R 777 $GOPATH
3838
ENV PATH=/usr/local/go/bin:$GOPATH/bin:$PATH
3939

40-
# Install Go dependencies
41-
ENV GO111MODULE=on
42-
RUN go get github.com/goreleaser/nfpm/cmd/nfpm@v2.3.1
40+
# More stable than go get
41+
RUN curl -sfL https://install.goreleaser.com/github.com/goreleaser/nfpm.sh | sh
4342

4443
RUN VERSION="$(curl -fsSL https://storage.googleapis.com/kubernetes-release/release/stable.txt)" && \
4544
curl -fsSL "https://storage.googleapis.com/kubernetes-release/release/$VERSION/bin/linux/amd64/kubectl" > /usr/local/bin/kubectl \

0 commit comments

Comments
 (0)
Please sign in to comment.