mirror of
https://github.com/Jguer/yay
synced 2024-10-06 08:09:11 +00:00
chore(docker): update golangci and squash ops
This commit is contained in:
parent
e14fe638c2
commit
074798aca5
|
@ -4,10 +4,9 @@ LABEL maintainer="Jguer,joaogg3 at google mail"
|
||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
WORKDIR /app
|
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 .
|
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
|
||||||
|
|
Loading…
Reference in a new issue