From 52e27586db1c3fc6c67c1b6f198d3b1c2b74d7f2 Mon Sep 17 00:00:00 2001 From: Nicolas Savoire Date: Tue, 22 Oct 2024 08:35:47 +0000 Subject: [PATCH] Remove golangci install script usage --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e5ea929..776f880 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,6 @@ FROM golang:1.23.1-bookworm@sha256:dba79eb312528369dea87532a65dbe9d4efb26439a0fe RUN apt-get update -y && apt-get upgrade -y && apt-get install -y sudo && apt-get clean autoclean && apt-get autoremove --yes RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0 -RUN wget -qO- https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0 RUN useradd -ms /bin/bash build RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers