Skip to content

Commit

Permalink
fix(docker): add clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan committed Jul 27, 2021
1 parent 4aecc60 commit 0ff55cf
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM node:14-buster

RUN apt-get update \
&& apt-get install -y python3-pip \
&& pip3 install pylint \
&& apt-get install -y clang-tidy

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

WORKDIR /app
COPY ./package.json ./
RUN npm install
COPY . .
RUN npm run build

RUN apt-get update \
&& apt-get install -y python3-pip \
&& pip3 install pylint

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

CMD ["npm", "run", "start:prod"]

0 comments on commit 0ff55cf

Please sign in to comment.