Skip to content

Instantly share code, notes, and snippets.

@niklaskorz
Created November 16, 2019 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niklaskorz/9d09ea0f6c5a9aa2652cee826e238189 to your computer and use it in GitHub Desktop.
Save niklaskorz/9d09ea0f6c5a9aa2652cee826e238189 to your computer and use it in GitHub Desktop.
Dockerfile with Ubuntu 19.10, Clang 9, CMake 3.15 and vcpkg
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