action-images/rust-bookworm/Dockerfile

9 lines
299 B
Docker
Raw Normal View History

FROM node:20-bookworm@sha256:48db4f6ea21d134be744207225753a1730c4bc1b4cdf836d44511c36bf0e34d7
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/*