
It is good practice to use an explicit registry for referencing the base image. This is because some distros will inject their own registries into the search path. For example registry.fedoraproject.org comes ahead of docker.io. Using an explicit registry avoids wasting time querying multiple registries for images that they won't have. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210623142245.307776-5-berrange@redhat.com> Message-Id: <20210709143005.1554-13-alex.bennee@linaro.org>
73 lines
1.5 KiB
Docker
73 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 docker.io/library/ubuntu:20.04
|
|
ENV PACKAGES \
|
|
ccache \
|
|
clang \
|
|
dbus \
|
|
gcc \
|
|
gettext \
|
|
git \
|
|
glusterfs-common \
|
|
libaio-dev \
|
|
libattr1-dev \
|
|
libbrlapi-dev \
|
|
libbz2-dev \
|
|
libcacard-dev \
|
|
libcap-ng-dev \
|
|
libcurl4-gnutls-dev \
|
|
libdrm-dev \
|
|
libepoxy-dev \
|
|
libfdt-dev \
|
|
libffi-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 \
|
|
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 \
|
|
libzstd-dev \
|
|
make \
|
|
ninja-build \
|
|
python3-yaml \
|
|
python3-sphinx \
|
|
python3-sphinx-rtd-theme \
|
|
sparse \
|
|
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 docs
|