action-images/rust-bookworm/Dockerfile
Louis Vallat 4778c14ee2
All checks were successful
Build and publish "Python 3 on Bookworm" image / Build and publish (push) Successful in 18s
Build and publish "Rust on Bookworm" image / Build and publish (push) Successful in 56s
fix: added -y flag for apt-get install
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
2024-09-08 00:11:49 +02:00

9 lines
299 B
Docker

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/*