franky/rust/Dockerfile
2024-06-28 19:26:15 +02:00

14 lines
345 B
Docker

FROM rockylinux:9.3
# Install base
RUN dnf install -y rpmdevtools rpmlint epel-release
RUN dnf group install -y "Development Tools"
RUN dnf install -y dpkg
# Install lang specifics
RUN dnf install -y rust cargo
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:$PATH"
CMD [ "/bin/bash" ]