Skip to content

Commit

Permalink
fix(docker): add go for golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan committed Jul 27, 2021
1 parent 34ffc19 commit 30f1492
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ RUN apt-get update \

RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.41.1 && cp ./bin/golangci-lint /usr/local/bin/golangci-lint

RUN wget https://dl.google.com/go/go1.16.4.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf go1.16.4.linux-amd64.tar.gz \
&& rm go1.16.4.linux-amd64.tar.gz

ENV GOROOT="/usr/local/go"
ENV GOPATH="/go"
ENV PATH="PATH=/go/bin:/usr/local/go/bin:$PATH"

WORKDIR /app
COPY ./package.json ./
RUN npm install
Expand Down

0 comments on commit 30f1492

Please sign in to comment.