1
1
mirror of https://github.com/wader/fq.git synced 2024-10-04 15:38:17 +03:00

Merge pull request #48 from wader/docker-lint-not-needed

docker: No need to install golangci-lint, use make lint instead
This commit is contained in:
Mattias Wadman 2022-01-02 15:37:51 +01:00 committed by GitHub
commit 1923ccd082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,13 +10,6 @@ RUN \
# docker build --target dev -t fq-dev - < Dockerfile && docker run --rm -ti -v "$PWD:/$PWD" -w "$PWD" fq-dev
FROM base AS dev
# bump: docker-golangci-lint /GOLANGCILINT_VERSION=([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
# bump: docker-golangci-lint link "Release notes" https://github.com/golangci/golangci-lint/releases/tag/v$LATEST
ARG GOLANGCILINT_VERSION=1.43.0
RUN \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
sh -s -- -b /usr/local/bin v$GOLANGCILINT_VERSION
FROM base AS builder
WORKDIR $GOPATH/src/fq