action-images/rust-bookworm/Dockerfile

9 lines
299 B
Docker
Raw Normal View History

2024-10-18 00:01:28 +02:00
FROM node:20-bookworm@sha256:196a5fcd13db4362fb9c0ec5391db36ec954c65d6b0d0e5d37f59c7dc9920690
ENV PATH="/root/.cargo/bin:$PATH"
RUN apt-get update && \
apt-get install git -y && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
rm -rf /var/lib/apt/lists/*