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:
commit
1923ccd082
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user