2021-07-09 16:29:37 +02:00
|
|
|
FROM docker.io/library/ubuntu:20.04
|
2021-07-09 16:29:39 +02:00
|
|
|
ENV PACKAGES \
|
2021-02-11 13:27:36 +01:00
|
|
|
bsdmainutils \
|
2020-06-12 21:02:31 +02:00
|
|
|
ccache \
|
2021-07-09 16:29:42 +02:00
|
|
|
clang \
|
2020-06-12 21:02:31 +02:00
|
|
|
gcc \
|
2021-02-11 13:27:36 +01:00
|
|
|
gcovr \
|
2020-10-07 18:00:22 +02:00
|
|
|
genisoimage \
|
2020-06-12 21:02:31 +02:00
|
|
|
gettext \
|
|
|
|
git \
|
|
|
|
libaio-dev \
|
|
|
|
libattr1-dev \
|
|
|
|
libbrlapi-dev \
|
|
|
|
libbz2-dev \
|
|
|
|
libcacard-dev \
|
|
|
|
libcap-ng-dev \
|
|
|
|
libcurl4-gnutls-dev \
|
|
|
|
libdrm-dev \
|
|
|
|
libepoxy-dev \
|
|
|
|
libfdt-dev \
|
2021-03-18 19:46:44 +01:00
|
|
|
libffi-dev \
|
2020-06-12 21:02:31 +02:00
|
|
|
libgbm-dev \
|
|
|
|
libgtk-3-dev \
|
|
|
|
libibverbs-dev \
|
|
|
|
libiscsi-dev \
|
|
|
|
libjemalloc-dev \
|
|
|
|
libjpeg-turbo8-dev \
|
2020-11-17 18:36:34 +01:00
|
|
|
liblttng-ust-dev \
|
2020-06-12 21:02:31 +02:00
|
|
|
liblzo2-dev \
|
|
|
|
libncursesw5-dev \
|
|
|
|
libnfs-dev \
|
|
|
|
libnuma-dev \
|
|
|
|
libpixman-1-dev \
|
|
|
|
librbd-dev \
|
|
|
|
librdmacm-dev \
|
|
|
|
libsasl2-dev \
|
|
|
|
libsdl2-dev \
|
|
|
|
libseccomp-dev \
|
2021-01-21 18:44:51 +01:00
|
|
|
libslirp-dev \
|
2020-06-12 21:02:31 +02:00
|
|
|
libsnappy-dev \
|
|
|
|
libspice-protocol-dev \
|
|
|
|
libspice-server-dev \
|
|
|
|
libssh-dev \
|
|
|
|
libusb-1.0-0-dev \
|
|
|
|
libusbredirhost-dev \
|
|
|
|
libvdeplug-dev \
|
|
|
|
libvte-2.91-dev \
|
|
|
|
libxen-dev \
|
|
|
|
libzstd-dev \
|
|
|
|
make \
|
2021-07-09 16:29:42 +02:00
|
|
|
ncat \
|
2020-08-13 15:58:50 +02:00
|
|
|
ninja-build \
|
2020-07-01 15:56:37 +02:00
|
|
|
python3-numpy \
|
|
|
|
python3-opencv \
|
|
|
|
python3-pil \
|
|
|
|
python3-pip \
|
2020-06-12 21:02:31 +02:00
|
|
|
python3-sphinx \
|
2021-03-23 12:53:28 +01:00
|
|
|
python3-sphinx-rtd-theme \
|
2020-07-01 15:56:37 +02:00
|
|
|
python3-venv \
|
|
|
|
python3-yaml \
|
|
|
|
rpm2cpio \
|
2020-06-12 21:02:31 +02:00
|
|
|
sparse \
|
2020-07-01 15:56:37 +02:00
|
|
|
tesseract-ocr \
|
|
|
|
tesseract-ocr-eng \
|
2021-07-09 16:29:39 +02:00
|
|
|
xfslibs-dev
|
2020-06-12 21:02:31 +02:00
|
|
|
RUN apt-get update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get -y install $PACKAGES
|
|
|
|
RUN dpkg -l $PACKAGES | sort > /packages.txt
|
|
|
|
|
|
|
|
# Apply patch https://reviews.llvm.org/D75820
|
|
|
|
# This is required for TSan in clang-10 to compile with QEMU.
|
|
|
|
RUN sed -i 's/^const/static const/g' /usr/lib/llvm-10/lib/clang/10.0.0/include/sanitizer/tsan_interface.h
|