Skip to content

Commit 948efca

Browse files
committed
Update goreleaser install
1 parent 2f0a1de commit 948efca

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ ENV GO111MODULE=on
4949
# Install Go tools
5050
ARG GO_PLS_VERSION=0.7.2
5151
ARG DLV_VERSION=1.7.2
52-
ARG GO_RELEASER_VERSION=0.180.3
5352
ARG GOLANGCI_LINT_VERSION=1.42.1
5453
RUN \
5554
# --> Delve for debugging
@@ -61,7 +60,9 @@ RUN \
6160
# --> GolangCI-lint
6261
&& curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v${GOLANGCI_LINT_VERSION} \
6362
# --> Go releaser
64-
&& curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh -s -- v${GO_RELEASER_VERSION} \
63+
&& echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list \
64+
&& sudo apt update \
65+
&& sudo apt install goreleaser -y \
6566
# --> Install junit converter
6667
&& go get github.com/jstemmer/[email protected] \
6768
&& sudo rm -rf /go/src/ \

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
1+
-y// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
22
// https://github.com/microsoft/vscode-dev-containers/tree/v0.117.1/containers/go
33
{
44
"name": "devcontainer-cli",

0 commit comments

Comments
 (0)