diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-02-19 22:35:54 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-02-19 22:35:54 +0200 |
commit | 3f558c444945d8f859ec3df61a0403f084fb3f7e (patch) | |
tree | b3240206846e4d0cbdb309e4e9c693a1a23e560b | |
parent | Update all Go dependencies (diff) | |
download | soko-3f558c444945d8f859ec3df61a0403f084fb3f7e.tar.gz soko-3f558c444945d8f859ec3df61a0403f084fb3f7e.tar.bz2 soko-3f558c444945d8f859ec3df61a0403f084fb3f7e.zip |
Dockerfile: remove go get step
The `go get` step updates the dependencies to latest version, without us
knowing if it works or not. This is not a good practice, and we should
prefer to just update the go version in git tree.
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | Dockerfile | 3 | ||||
-rw-r--r-- | Dockerfile.updater | 3 |
2 files changed, 0 insertions, 6 deletions
@@ -1,9 +1,6 @@ FROM golang:1.19.3 AS builder WORKDIR /go/src/soko COPY . /go/src/soko -RUN go get github.com/go-pg/pg/v10 -RUN go get github.com/mcuadros/go-version -RUN go get github.com/ulikunitz/xz RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o bin . FROM node:13 AS assetsbuilder diff --git a/Dockerfile.updater b/Dockerfile.updater index e0cc9da..35d50a1 100644 --- a/Dockerfile.updater +++ b/Dockerfile.updater @@ -1,9 +1,6 @@ FROM golang:1.19.3 AS builder WORKDIR /go/src/soko COPY . /go/src/soko -RUN go get github.com/go-pg/pg/v9 -RUN go get github.com/mcuadros/go-version -RUN go get github.com/ulikunitz/xz RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o bin . |