2808b467dd
As recommended in https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#sort-multi-line-arguments "This helps to avoid duplication of packages and make the list much easier to update. This also makes PRs a lot easier to read and review." Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180818015344.797-4-f4bug@amsat.org> Signed-off-by: Fam Zheng <famz@redhat.com>
62 lines
1.3 KiB
Docker
62 lines
1.3 KiB
Docker
FROM ubuntu:16.04
|
|
RUN echo "deb http://archive.ubuntu.com/ubuntu/ trusty universe multiverse" >> \
|
|
/etc/apt/sources.list
|
|
ENV PACKAGES flex bison \
|
|
ccache \
|
|
clang \
|
|
gcc \
|
|
gettext \
|
|
git \
|
|
glusterfs-common \
|
|
libaio-dev \
|
|
libattr1-dev \
|
|
libbluetooth-dev \
|
|
libbrlapi-dev \
|
|
libbz2-dev \
|
|
libcacard-dev \
|
|
libcap-dev \
|
|
libcap-ng-dev \
|
|
libcurl4-gnutls-dev \
|
|
libdrm-dev \
|
|
libepoxy-dev \
|
|
libfdt-dev \
|
|
libgbm-dev \
|
|
libgnutls-dev \
|
|
libgtk-3-dev \
|
|
libibverbs-dev \
|
|
libiscsi-dev \
|
|
libjemalloc-dev \
|
|
libjpeg-turbo8-dev \
|
|
liblzo2-dev \
|
|
libncurses5-dev \
|
|
libncursesw5-dev \
|
|
libnfs-dev \
|
|
libnss3-dev \
|
|
libnuma-dev \
|
|
libpixman-1-dev \
|
|
libpng12-dev \
|
|
librados-dev \
|
|
librbd-dev \
|
|
librdmacm-dev \
|
|
libsasl2-dev \
|
|
libsdl2-dev \
|
|
libseccomp-dev \
|
|
libsnappy-dev \
|
|
libspice-protocol-dev \
|
|
libspice-server-dev \
|
|
libssh2-1-dev \
|
|
libusb-1.0-0-dev \
|
|
libusbredirhost-dev \
|
|
libvdeplug-dev \
|
|
libvte-2.91-dev \
|
|
libxen-dev \
|
|
make \
|
|
python-yaml \
|
|
sparse \
|
|
texinfo \
|
|
xfslibs-dev
|
|
RUN apt-get update && \
|
|
apt-get -y install $PACKAGES
|
|
RUN dpkg -l $PACKAGES | sort > /packages.txt
|
|
ENV FEATURES clang pyyaml sdl2
|