2018-05-30 19:26:36 +00:00
|
|
|
FROM ubuntu:18.04
|
2016-12-17 04:19:55 +00:00
|
|
|
|
2018-09-21 22:00:57 +00:00
|
|
|
RUN apt-get update -y \
|
2019-08-05 07:09:09 +00:00
|
|
|
&& apt-get install -y software-properties-common \
|
|
|
|
&& add-apt-repository ppa:ubuntu-toolchain-r/test \
|
2018-09-21 22:00:57 +00:00
|
|
|
&& env DEBIAN_FRONTEND=noninteractive \
|
|
|
|
apt-get install --yes --no-install-recommends \
|
|
|
|
bash \
|
|
|
|
ccache \
|
|
|
|
cmake \
|
|
|
|
curl \
|
|
|
|
expect \
|
2019-08-05 07:09:09 +00:00
|
|
|
g++-9 \
|
|
|
|
gcc-9 \
|
2018-09-21 22:00:57 +00:00
|
|
|
libreadline-dev \
|
|
|
|
ninja-build \
|
|
|
|
perl \
|
|
|
|
pkg-config \
|
|
|
|
python \
|
|
|
|
python-lxml \
|
|
|
|
python-requests \
|
|
|
|
python-termcolor \
|
|
|
|
sudo \
|
2019-04-18 10:20:31 +00:00
|
|
|
tzdata \
|
2020-03-17 18:00:57 +00:00
|
|
|
gperf \
|
|
|
|
libcctz-dev
|
2016-12-17 04:19:55 +00:00
|
|
|
|
2019-08-11 09:30:01 +00:00
|
|
|
RUN apt install -y wget
|
|
|
|
RUN printf "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main\ndeb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" >> /etc/apt/sources.list \
|
|
|
|
&& wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && apt update && apt-get install -y clang-8 lldb-8 lld-8
|
|
|
|
|
2018-09-21 22:00:57 +00:00
|
|
|
COPY build.sh /
|
2016-12-17 04:19:55 +00:00
|
|
|
|
2018-09-21 22:00:57 +00:00
|
|
|
CMD ["/bin/bash", "/build.sh"]
|