Created
November 16, 2019 10:45
-
-
Save niklaskorz/9d09ea0f6c5a9aa2652cee826e238189 to your computer and use it in GitHub Desktop.
Dockerfile with Ubuntu 19.10, Clang 9, CMake 3.15 and vcpkg
This file contains hidden or 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:19.10 | |
RUN apt-get update | |
RUN apt-get install -y ninja-build clang | |
RUN apt-get install -y curl unzip tar wget git | |
RUN apt-get autoremove -y | |
RUN wget -O cmake.sh https://github.com/Kitware/CMake/releases/download/v3.15.5/cmake-3.15.5-Linux-x86_64.sh && sh ./cmake.sh --prefix=/usr/local --skip-license | |
ENV CC clang | |
ENV CXX clang++ | |
RUN mkdir -p /opt | |
RUN git clone https://github.com/Microsoft/vcpkg.git /opt/vcpkg | |
RUN cd /opt/vcpkg && ./bootstrap-vcpkg.sh -useSystemBinaries && ./vcpkg integrate install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment