-
Notifications
You must be signed in to change notification settings - Fork 0
/
Containerfile.ubuntu-18.04
47 lines (44 loc) · 1.21 KB
/
Containerfile.ubuntu-18.04
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
37
38
39
40
41
42
43
44
45
46
47
FROM docker.io/ubuntu:18.04
ARG cmakeVersion
ARG mesonVersion
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update
RUN apt-get -y upgrade
RUN apt-get -y autoremove
RUN apt-get -y install --no-install-recommends \
clang-10 \
clang++-10 \
curl \
gawk \
gcc \
g++ \
git \
jq \
libbson-dev \
libcurl4-openssl-dev \
libevent-dev \
libmongoc-dev \
libncurses-dev \
liblz4-dev \
libpmem-dev \
liburcu-dev \
maven \
ninja-build \
openjdk-8-jdk \
pkg-config \
python3.7 \
python3-dev \
python3-pip
RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-10 1
RUN update-alternatives --set clang /usr/bin/clang-10
RUN update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-10 \
1
RUN update-alternatives --set clang++ /usr/bin/clang++-10
RUN python3 -m pip install Cython
RUN python3.7 -m pip install meson==${mesonVersion}
RUN mkdir -p /usr/local
RUN curl -sSLo /tmp/cmake.tar.gz \
https://github.com/Kitware/CMake/releases/download/v${cmakeVersion}/cmake-${cmakeVersion}-linux-x86_64.tar.gz
RUN tar --strip-components 1 -xf /tmp/cmake.tar.gz --directory /usr/local
RUN rm /tmp/cmake.tar.gz
RUN ulimit -c unlimited