Skip to content

Commit 0ff55cf

Browse files
committed
fix(docker): add clang-tidy
1 parent 4aecc60 commit 0ff55cf

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Dockerfile

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
FROM node:14-buster
22

3+
RUN apt-get update \
4+
&& apt-get install -y python3-pip \
5+
&& pip3 install pylint \
6+
&& apt-get install -y clang-tidy
7+
8+
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
9+
310
WORKDIR /app
411
COPY ./package.json ./
512
RUN npm install
613
COPY . .
714
RUN npm run build
815

9-
RUN apt-get update \
10-
&& apt-get install -y python3-pip \
11-
&& pip3 install pylint
12-
13-
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
14-
1516
CMD ["npm", "run", "start:prod"]

0 commit comments

Comments
 (0)