-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathDockerfile
35 lines (31 loc) · 1.27 KB
/
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
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.194.3/containers/ubuntu/.devcontainer/base.Dockerfile
# [Choice] Ubuntu version: hirsute, bionic, focal
ARG VARIANT="bionic"
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
# [Optional] Uncomment this section to install additional OS packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
make \
gdb \
clang \
pkg-config \
curl \
git \
wget \
libbotan-2-dev \
qt5-default \
libssl-dev \
rustc \
cargo \
rust-src \
rustfmt \
rust-clippy
RUN curl -O -L https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.gz \
&& tar -xzf boost_1_78_0.tar.gz \
&& cd boost_1_78_0 \
&& ./bootstrap.sh --with-libraries=serialization,filesystem,test --prefix=/usr \
&& ./b2 install link=static runtime-link=static toolset=clang cflags=-fPIC cxxflags=-fPIC
RUN cd /opt && mkdir cmake && cd cmake \
&& wget https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-linux-x86_64.sh \
&& chmod +x cmake-3.22.2-linux-x86_64.sh \
&& sudo sh cmake-3.22.2-linux-x86_64.sh --prefix=/usr/local/ --exclude-subdir --skip-license