action-images/rust-bookworm/Dockerfile
Louis Vallat 27f5d0349c
Some checks failed
Build and deploy Rust on Bookworm image / Build and deploy (push) Failing after 59s
feat: Initial commit
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
2024-09-07 19:05:33 +02:00

9 lines
296 B
Docker

FROM node:20-bookworm@sha256:48db4f6ea21d134be744207225753a1730c4bc1b4cdf836d44511c36bf0e34d7
ENV PATH="/root/.cargo/bin:$PATH"
RUN apt-get update && \
apt-get install git && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
rm -rf /var/lib/apt/lists/*