Skip to content

Commit 9453b3f

Browse files
committed
Docker: install clippy
1 parent 29ac76c commit 9453b3f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.devcontainer/Dockerfile

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
FROM rust:1-buster
22

3+
RUN apt-get update && \
4+
DEBIAN_FRONTEND=noninteractive apt-get install -y curl python3 python3-pip make gcc && \
5+
curl -fsSL https://deb.nodesource.com/setup_21.x | bash - && \
6+
apt-get install -y nodejs
37

4-
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y curl \
5-
python3 python3-pip nodejs npm make gcc
8+
RUN rustup component add clippy
69

710
COPY Makefile /tmp/Makefile
8-
RUN make -f /tmp/Makefile dependencies
11+
RUN make -j -f /tmp/Makefile dependencies

0 commit comments

Comments
 (0)