Compare commits

..

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

View File

@ -1,12 +1,16 @@
FROM golang:1.23-alpine
FROM golang:1.17-alpine
ENV TZ=Europe/Moscow
ENV TERM=xterm-color
ENV CGO_ENABLED=0
ENV GOOS=linux
ENV GOARCH=amd64
ENV GO111MODULE=on
ENV GOPRIVATE=go.pkg.cx
ENV GOLANGCI=1.63.4
ENV GOLANGCI=1.45.2
ENV GOSWAG=1.8.0
RUN \
apk add --no-cache --update bash curl git tzdata && \
@ -19,8 +23,11 @@ RUN \
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} && \
# install goswag
go install -v github.com/swaggo/swag/cmd/swag@v${GOSWAG} && \
# cleanup
go clean -cache -modcache && \
# print versions
go version && \
golangci-lint --version
golangci-lint --version && \
swag --version