-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
36 lines (31 loc) · 885 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
# Install standard dependencies.
RUN apt-get update && apt-get install -y \
build-essential \
clang \
clang-tidy \
cppcheck \
doctest-dev \
doxygen \
curl \
git \
lcov \
python3-pip \
tar \
unzip \
wget \
zip
# Install minimal CMake version
ENV CMAKE_VERSION=3.19.8
RUN wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-Linux-x86_64.tar.gz \
&& tar -xf cmake-${CMAKE_VERSION}-Linux-x86_64.tar.gz \
&& cp -r cmake-${CMAKE_VERSION}-Linux-x86_64/* /usr/ \
&& rm -rf cmake-${CMAKE_VERSION}-Linux-x64-64
# Install vcpkg
ENV VCPKG_DISABLE_METRICS=
ENV VCPKG_ROOT=/vcpkg
RUN git clone https://github.com/microsoft/vcpkg \
&& ./vcpkg/bootstrap-vcpkg.sh
# Install python dependencies
RUN pip3 install jinja2 Pygments