Compare commits

..

No commits in common. "master" and "1.12.1" have entirely different histories.

View File

@ -1,12 +1,11 @@
FROM golang:1.23-alpine FROM golang:1.12-alpine
ENV TZ=Europe/Moscow ENV TZ=Europe/Moscow
ENV TERM=xterm-color ENV TERM=xterm-color
ENV CGO_ENABLED=0 ENV CGO_ENABLED=0
ENV GOPRIVATE=go.pkg.cx ENV GOOS=linux
ENV GOARCH=amd64
ENV GOLANGCI=1.63.4 ENV GOLANGCI=1.16.0
RUN \ RUN \
apk add --no-cache --update bash curl git tzdata && \ apk add --no-cache --update bash curl git tzdata && \
@ -17,10 +16,10 @@ RUN \
echo "${TZ}" > /etc/timezone && date echo "${TZ}" > /etc/timezone && date
RUN \ RUN \
# install golangci-lint go get -u -v github.com/golangci/golangci-lint/cmd/golangci-lint && \
go install -v -ldflags "-X 'main.version=${GOLANGCI}' -X 'main.date=$(date)'" github.com/golangci/golangci-lint/cmd/golangci-lint@v${GOLANGCI} && \ cd /go/src/github.com/golangci/golangci-lint && \
# cleanup git checkout v${GOLANGCI} && \
go clean -cache -modcache && \ cd /go/src/github.com/golangci/golangci-lint/cmd/golangci-lint && \
# print versions go install -ldflags "-X 'main.version=$(git describe --tags)' -X 'main.commit=$(git rev-parse --short HEAD)' -X 'main.date=$(date)'" && \
go version && \ go version && \
golangci-lint --version golangci-lint --version