Files
lam/docker/Dockerfile.rust

12 lines
339 B
Docker

FROM fedora:latest
ENV USER=lam
ENV PASS=lampass
RUN useradd -m -G wheel -p ${PASS} ${USER}
RUN dnf install -y \
clang \
gcc
USER ${USER}
WORKDIR /home/${USER}
RUN mkdir -p /home/${USER}/lam
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -t x86_64-unknown-linux-musl -y