action-images/rust-bookworm/Dockerfile

9 lines
299 B
Docker
Raw Normal View History

2024-09-28 00:01:30 +02:00
FROM node:20-bookworm@sha256:18ad6b547976c931c7374c2f7b0a1dd27eda7b55dbf41c9cdb35fe4081996652
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/*