This commit is contained in:
Adrian Macneil 2021-04-07 13:51:50 -07:00 committed by GitHub
parent 7b92033d1b
commit b020782b0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 14 deletions

View file

@ -16,10 +16,8 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*
# golangci-lint
RUN curl -fsSL -o /tmp/lint-install.sh https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \
&& chmod +x /tmp/lint-install.sh \
&& /tmp/lint-install.sh -b /usr/local/bin v1.37.1 \
&& rm -f /tmp/lint-install.sh
RUN curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \
| sh -s -- -b /usr/local/bin v1.39.0
# download modules
COPY go.* ./