Change tab size

This commit is contained in:
Anton Zadvorny 2024-05-21 14:20:30 +03:00
parent 6148e3168d
commit 127b47ae8d

View File

@ -9,18 +9,18 @@ ENV GOPRIVATE=go.pkg.cx
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