Skip to content

Commit

Permalink
reorganizes RUN entries
Browse files Browse the repository at this point in the history
  • Loading branch information
leucos committed Mar 26, 2024
1 parent 935fee9 commit 6aa02c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ARG TARGETARCH=${TARGETARCH:-amd64}

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Install various tools
RUN go install honnef.co/go/tools/cmd/staticcheck@latest; \
go install github.com/goreleaser/goreleaser@latest

# Install golang-ci-lint
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
sh -s -- -b $(go env GOPATH)/bin v1.57.1

RUN rm -rf /go/pkg/
# Install various tools
RUN go install honnef.co/go/tools/cmd/staticcheck@latest && \
go install github.com/goreleaser/goreleaser@latest && \
rm -rf /go/pkg/

0 comments on commit 6aa02c7

Please sign in to comment.