2021-07-09 17:29:37 +03:00
|
|
|
FROM docker.io/library/ubuntu:20.04
|
2021-07-09 17:29:39 +03:00
|
|
|
ENV PACKAGES \
|
2021-07-09 17:29:47 +03:00
|
|
|
bc \
|
2021-02-11 15:27:36 +03:00
|
|
|
bsdmainutils \
|
2021-07-09 17:29:47 +03:00
|
|
|
bzip2 \
|
|
|
|
ca-certificates \
|
2020-06-12 22:02:31 +03:00
|
|
|
ccache \
|
2021-07-09 17:29:42 +03:00
|
|
|
clang \
|
2021-07-09 17:29:47 +03:00
|
|
|
dbus \
|
|
|
|
debianutils \
|
|
|
|
diffutils \
|
|
|
|
exuberant-ctags \
|
|
|
|
findutils \
|
|
|
|
g++ \
|
2020-06-12 22:02:31 +03:00
|
|
|
gcc \
|
2021-02-11 15:27:36 +03:00
|
|
|
gcovr \
|
2020-10-07 19:00:22 +03:00
|
|
|
genisoimage \
|
2020-06-12 22:02:31 +03:00
|
|
|
gettext \
|
|
|
|
git \
|
2021-07-09 17:29:47 +03:00
|
|
|
hostname \
|
2020-06-12 22:02:31 +03:00
|
|
|
libaio-dev \
|
2021-07-09 17:29:47 +03:00
|
|
|
libasan5 \
|
|
|
|
libasound2-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
libattr1-dev \
|
|
|
|
libbrlapi-dev \
|
|
|
|
libbz2-dev \
|
2021-07-09 17:29:47 +03:00
|
|
|
libc6-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
libcacard-dev \
|
|
|
|
libcap-ng-dev \
|
2021-07-09 17:29:47 +03:00
|
|
|
libcapstone-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
libcurl4-gnutls-dev \
|
2021-07-09 17:29:47 +03:00
|
|
|
libdaxctl-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
libdrm-dev \
|
|
|
|
libepoxy-dev \
|
|
|
|
libfdt-dev \
|
2021-03-18 21:46:44 +03:00
|
|
|
libffi-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
libgbm-dev \
|
2021-07-09 17:29:47 +03:00
|
|
|
libgcrypt20-dev \
|
|
|
|
libglib2.0-dev \
|
|
|
|
libglusterfs-dev \
|
|
|
|
libgnutls28-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
libgtk-3-dev \
|
|
|
|
libibverbs-dev \
|
|
|
|
libiscsi-dev \
|
|
|
|
libjemalloc-dev \
|
|
|
|
libjpeg-turbo8-dev \
|
2020-11-17 20:36:34 +03:00
|
|
|
liblttng-ust-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
liblzo2-dev \
|
|
|
|
libncursesw5-dev \
|
|
|
|
libnfs-dev \
|
|
|
|
libnuma-dev \
|
2021-07-09 17:29:47 +03:00
|
|
|
libpam0g-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
libpixman-1-dev \
|
2021-07-09 17:29:47 +03:00
|
|
|
libpmem-dev \
|
|
|
|
libpng-dev \
|
|
|
|
libpulse-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
librbd-dev \
|
|
|
|
librdmacm-dev \
|
|
|
|
libsasl2-dev \
|
|
|
|
libsdl2-dev \
|
2021-07-09 17:29:47 +03:00
|
|
|
libsdl2-image-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
libseccomp-dev \
|
2021-11-15 23:29:43 +03:00
|
|
|
libselinux-dev \
|
2021-01-21 20:44:51 +03:00
|
|
|
libslirp-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
libsnappy-dev \
|
|
|
|
libspice-protocol-dev \
|
|
|
|
libspice-server-dev \
|
|
|
|
libssh-dev \
|
2021-07-09 17:29:47 +03:00
|
|
|
libsystemd-dev \
|
|
|
|
libtasn1-6-dev \
|
|
|
|
libtest-harness-perl \
|
|
|
|
libubsan1 \
|
|
|
|
libudev-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
libusb-1.0-0-dev \
|
|
|
|
libusbredirhost-dev \
|
|
|
|
libvdeplug-dev \
|
2021-07-09 17:29:47 +03:00
|
|
|
libvirglrenderer-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
libvte-2.91-dev \
|
|
|
|
libxen-dev \
|
2021-07-09 17:29:47 +03:00
|
|
|
libxml2-dev \
|
2020-06-12 22:02:31 +03:00
|
|
|
libzstd-dev \
|
2021-07-09 17:29:47 +03:00
|
|
|
llvm \
|
|
|
|
locales \
|
2020-06-12 22:02:31 +03:00
|
|
|
make \
|
2021-07-09 17:29:47 +03:00
|
|
|
multipath-tools \
|
2021-07-09 17:29:42 +03:00
|
|
|
ncat \
|
2021-07-09 17:29:47 +03:00
|
|
|
nettle-dev \
|
2020-08-13 16:58:50 +03:00
|
|
|
ninja-build \
|
2021-07-09 17:29:47 +03:00
|
|
|
openssh-client \
|
|
|
|
perl-base \
|
|
|
|
pkgconf \
|
|
|
|
python3 \
|
2020-07-01 16:56:37 +03:00
|
|
|
python3-numpy \
|
|
|
|
python3-opencv \
|
2021-07-09 17:29:47 +03:00
|
|
|
python3-pillow \
|
2020-07-01 16:56:37 +03:00
|
|
|
python3-pip \
|
2021-07-09 17:29:47 +03:00
|
|
|
python3-setuptools \
|
2020-06-12 22:02:31 +03:00
|
|
|
python3-sphinx \
|
2021-03-23 14:53:28 +03:00
|
|
|
python3-sphinx-rtd-theme \
|
2020-07-01 16:56:37 +03:00
|
|
|
python3-venv \
|
2021-07-09 17:29:47 +03:00
|
|
|
python3-wheel \
|
2020-07-01 16:56:37 +03:00
|
|
|
python3-yaml \
|
|
|
|
rpm2cpio \
|
2021-07-09 17:29:47 +03:00
|
|
|
sed \
|
2020-06-12 22:02:31 +03:00
|
|
|
sparse \
|
2021-07-09 17:29:47 +03:00
|
|
|
systemtap-sdt-dev \
|
|
|
|
tar \
|
2020-07-01 16:56:37 +03:00
|
|
|
tesseract-ocr \
|
|
|
|
tesseract-ocr-eng \
|
2021-07-09 17:29:47 +03:00
|
|
|
texinfo \
|
|
|
|
xfslibs-dev \
|
|
|
|
zlib1g-dev
|
2020-06-12 22:02:31 +03: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
|