git » chasquid » commit 6c80b55

docker: Remove unnecessary "go get" command

author Alberto Bertogli
2026-02-01 11:54:19 UTC
committer Alberto Bertogli
2026-02-01 11:54:19 UTC
parent 45071cba6f0afd172c22a61aec1186ab5086b84d

docker: Remove unnecessary "go get" command

We no longer need to do "go get" before "go install" in modern Go
versions, so this patches removes that (now) unnecessary command.

docker/Dockerfile +1 -2

diff --git a/docker/Dockerfile b/docker/Dockerfile
index 98dd135..a3422f7 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -11,8 +11,7 @@
 FROM golang:latest AS build
 WORKDIR /go/src/blitiri.com.ar/go/chasquid
 COPY . .
-RUN go get -d ./... && \
-	go install ./...
+RUN go install ./...
 
 # Create the image.
 # Use a specific Debian stable version, because the move between