Skip to content

Commit 6fbfc2f

Browse files
authored
Merge pull request coder#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

+2-3
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/[email protected]
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)