Skip to content

Commit 7aeffe3

Browse files
committed
Avoid using deprecated "go get" to install a package
Related to https://golang.org/doc/go-get-install-deprecation
1 parent 96f4db0 commit 7aeffe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: etc/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM docker.io/golang:1.17.3-alpine3.14
22
WORKDIR /build
33
RUN apk --no-cache add git
44
COPY . /build/.
5-
RUN go get -u -v github.com/ahmetb/govvv
5+
RUN go install github.com/ahmetb/govvv@v0.3.0
66
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags "$(govvv -flags)" matrix-corporal.go
77

88
FROM docker.io/alpine:3.14.2

0 commit comments

Comments
 (0)