From 074798aca57b00f83051dc152ed963cc214fde2a Mon Sep 17 00:00:00 2001 From: jguer Date: Thu, 19 Aug 2021 16:52:29 +0200 Subject: [PATCH] chore(docker): update golangci and squash ops --- ci.Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ci.Dockerfile b/ci.Dockerfile index e64e18c2..1ed5cc88 100644 --- a/ci.Dockerfile +++ b/ci.Dockerfile @@ -4,10 +4,9 @@ LABEL maintainer="Jguer,joaogg3 at google mail" ENV GO111MODULE=on WORKDIR /app -RUN pacman -Syu --overwrite=* --needed --noconfirm go fakeroot binutils gcc make git gettext && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* - -RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.41.1 - COPY go.mod . -RUN go mod download +RUN pacman -Syu --overwrite=* --needed --noconfirm go fakeroot binutils gcc make git gettext && \ + rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* && \ + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.42.0 && \ + go mod download