aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-02-19 22:35:54 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-02-19 22:35:54 +0200
commit3f558c444945d8f859ec3df61a0403f084fb3f7e (patch)
treeb3240206846e4d0cbdb309e4e9c693a1a23e560b /Dockerfile.updater
parentUpdate all Go dependencies (diff)
downloadsoko-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>
Diffstat (limited to 'Dockerfile.updater')
-rw-r--r--Dockerfile.updater3
1 files changed, 0 insertions, 3 deletions
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 .