bcbf279473
As part of the push to drop python2 support, replace any explicit python2 dependencies with python3 versions. For centos, python2 still exists as an implicit dependency, but by adding python3 we will be able to build even if the configure script begins to require python 3.5+. Tested with centos7, fedora, ubuntu, ubuntu1804, and debian 9 (amd64). Tested under a custom configure script that requires Python 3.5+. the travis dockerfile is also moved to using python3, which was tested by running `make docker-test-build@travis`, which I hope is sufficient. Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20190923181140.7235-7-jsnow@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Cleber Rosa <crosa@redhat.com> Tested-by: Cleber Rosa <crosa@redhat.com>
72 lines
1.5 KiB
Docker
72 lines
1.5 KiB
Docker
#
|
|
# Latest Ubuntu Release
|
|
#
|
|
# Useful for testing against relatively bleeding edge libraries and
|
|
# compilers. We also have seperate recipe for the most recent LTS
|
|
# release.
|
|
#
|
|
# When updating use the full tag not :latest otherwise the build
|
|
# system won't pick up that it has changed.
|
|
#
|
|
|
|
FROM ubuntu:19.04
|
|
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 \
|
|
libgnutls28-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 \
|
|
libpng-dev \
|
|
librados-dev \
|
|
librbd-dev \
|
|
librdmacm-dev \
|
|
libsasl2-dev \
|
|
libsdl2-dev \
|
|
libseccomp-dev \
|
|
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 \
|
|
make \
|
|
python3-yaml \
|
|
python3-sphinx \
|
|
sparse \
|
|
texinfo \
|
|
xfslibs-dev
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get -y install $PACKAGES
|
|
RUN dpkg -l $PACKAGES | sort > /packages.txt
|
|
ENV FEATURES clang pyyaml sdl2
|