Change tab size
This commit is contained in:
parent
6148e3168d
commit
127b47ae8d
22
Dockerfile
22
Dockerfile
@ -9,18 +9,18 @@ ENV GOPRIVATE=go.pkg.cx
|
|||||||
ENV GOLANGCI=1.57.2
|
ENV GOLANGCI=1.57.2
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apk add --no-cache --update bash curl git tzdata && \
|
apk add --no-cache --update bash curl git tzdata && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
cp /usr/share/zoneinfo/${TZ} /etc/localtime && \
|
cp /usr/share/zoneinfo/${TZ} /etc/localtime && \
|
||||||
echo "${TZ}" > /etc/timezone && date
|
echo "${TZ}" > /etc/timezone && date
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# install golangci-lint
|
# 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} && \
|
go install -v -ldflags "-X 'main.version=${GOLANGCI}' -X 'main.date=$(date)'" github.com/golangci/golangci-lint/cmd/golangci-lint@v${GOLANGCI} && \
|
||||||
# cleanup
|
# cleanup
|
||||||
go clean -cache -modcache && \
|
go clean -cache -modcache && \
|
||||||
# print versions
|
# print versions
|
||||||
go version && \
|
go version && \
|
||||||
golangci-lint --version
|
golangci-lint --version
|
||||||
|
Loading…
Reference in New Issue
Block a user