Last active
August 23, 2019 15:54
-
-
Save jacqueswww/e1b2f35bb7749bd03babd6161a81dabc to your computer and use it in GitHub Desktop.
nimplay Dockerfile
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:18.04 | |
RUN apt-get update && \ | |
apt-get install -y software-properties-common wget curl gcc && \ | |
wget https://nim-lang.org/download/nim-0.20.2-linux_x64.tar.xz && \ | |
tar xf nim-0.20.2-linux_x64.tar.xz && \ | |
cd nim-0.20.2 && \ | |
./install.sh /usr/bin && \ | |
cd .. && \ | |
rm -rf nim-0.20.2 && \ | |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \ | |
apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main" && \ | |
apt-get install -y clang-8 && \ | |
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 1000 && \ | |
apt-get remove -y curl wget gcc software-properties-common && \ | |
apt-get auto-remove -y && \ | |
rm -rf /var/lib/apt/lists/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment