action-images/rust-bookworm/Dockerfile

9 lines
299 B
Docker
Raw Normal View History

2024-09-29 00:01:31 +02:00
FROM node:20-bookworm@sha256:db5dd2f30cb82a8bdbd16acd4a8f3f2789f5b24f6ce43f98aa041be848c82e45
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/*