Skip to content

Commit ca10d69

Browse files
feat: add the Dockerfile
1 parent 6450c57 commit ca10d69

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM rust:ubuntu AS rs_builder
2+
3+
RUN mkdir -p /code
4+
ADD . /code
5+
WORKDIR /code
6+
7+
RUN cargo b --release
8+
9+
FROM llvm_ubuntu AS runner_a
10+
11+
RUN mkdir -p /toolbox
12+
COPY --from rs_builder /code/target/release/build/cppcheck-deepsource /toolbox/
13+
14+
RUN pip install cppcheck --no-cache

0 commit comments

Comments
 (0)