Created
November 12, 2020 00:55
-
-
Save MAnfal/836b2859b96c8229d31cb249212ab4a6 to your computer and use it in GitHub Desktop.
learn_rust_docker_file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
RUN mkdir ~/src | |
WORKDIR /root/src | |
RUN apt update | |
RUN apt install -y curl | |
# Install linker for rust | |
# Stackoverflow https://stackoverflow.com/questions/52445961/how-do-i-fix-the-rust-error-linker-cc-not-found-for-debian-on-windows-10 | |
RUN apt install -y build-essential | |
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
RUN /bin/bash -c "source $HOME/.cargo/env" | |
ENTRYPOINT ["tail", "-f", "/dev/null"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment