Compare commits
No commits in common. "b95e9775b2a53e0d5b0539cdbc41cac411a7686d" and "6148e3168d35358f47bddcd847412120cea20a20" have entirely different histories.
b95e9775b2
...
6148e3168d
24
Dockerfile
24
Dockerfile
@ -6,21 +6,21 @@ ENV TERM=xterm-color
|
||||
ENV CGO_ENABLED=0
|
||||
ENV GOPRIVATE=go.pkg.cx
|
||||
|
||||
ENV GOLANGCI=1.58.2
|
||||
ENV GOLANGCI=1.57.2
|
||||
|
||||
RUN \
|
||||
apk add --no-cache --update bash curl git tzdata && \
|
||||
rm -rf /var/cache/apk/*
|
||||
apk add --no-cache --update bash curl git tzdata && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
RUN \
|
||||
cp /usr/share/zoneinfo/${TZ} /etc/localtime && \
|
||||
echo "${TZ}" > /etc/timezone && date
|
||||
cp /usr/share/zoneinfo/${TZ} /etc/localtime && \
|
||||
echo "${TZ}" > /etc/timezone && date
|
||||
|
||||
RUN \
|
||||
# install golangci-lint
|
||||
go install -v -ldflags "-X 'main.version=${GOLANGCI}' -X 'main.date=$(date)'" github.com/golangci/golangci-lint/cmd/golangci-lint@v${GOLANGCI} && \
|
||||
# cleanup
|
||||
go clean -cache -modcache && \
|
||||
# print versions
|
||||
go version && \
|
||||
golangci-lint --version
|
||||
# install golangci-lint
|
||||
go install -v -ldflags "-X 'main.version=${GOLANGCI}' -X 'main.date=$(date)'" github.com/golangci/golangci-lint/cmd/golangci-lint@v${GOLANGCI} && \
|
||||
# cleanup
|
||||
go clean -cache -modcache && \
|
||||
# print versions
|
||||
go version && \
|
||||
golangci-lint --version
|
||||
|
Loading…
Reference in New Issue
Block a user