From: "Alex Bennée" <alex.bennee@linaro.org>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: Fam Zheng <famz@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2 5/8] docker: warn users to use ubuntu16.04 for the LTS Xenial image
Date: Wed, 17 Jan 2018 12:11:08 +0000 [thread overview]
Message-ID: <871sioofc3.fsf@linaro.org> (raw)
In-Reply-To: <20180115143500.22631-6-f4bug@amsat.org>
Philippe Mathieu-Daudé <f4bug@amsat.org> writes:
> deprecate the generic 'ubuntu' image, but stay backward incompatible
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/docker/Makefile.include | 3 ++-
> tests/docker/dockerfiles/ubuntu.docker | 26 ++++++++++----------------
> tests/docker/dockerfiles/ubuntu16.04.docker | 16 ++++++++++++++++
> 3 files changed, 28 insertions(+), 17 deletions(-)
> create mode 100644 tests/docker/dockerfiles/ubuntu16.04.docker
>
> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
> index d5cf896966..1adea40499 100644
> --- a/tests/docker/Makefile.include
> +++ b/tests/docker/Makefile.include
> @@ -4,7 +4,7 @@
>
> DOCKER_SUFFIX := .docker
> DOCKER_FILES_DIR := $(SRC_PATH)/tests/docker/dockerfiles
> -DOCKER_DEPRECATED_IMAGES := debian
> +DOCKER_DEPRECATED_IMAGES := debian ubuntu
> DOCKER_IMAGES := $(filter-out $(DOCKER_DEPRECATED_IMAGES),$(sort $(notdir $(basename $(wildcard $(DOCKER_FILES_DIR)/*.docker)))))
> DOCKER_TARGETS := $(patsubst %,docker-image-%,$(DOCKER_IMAGES))
> # Use a global constant ccache directory to speed up repetitive builds
> @@ -61,6 +61,7 @@ docker-image-debian-ppc64el-cross: docker-image-debian9
> docker-image-debian-s390x-cross: docker-image-debian9
> docker-image-debian-win32-cross: docker-image-debian8-mxe
> docker-image-debian-win64-cross: docker-image-debian8-mxe
> +docker-image-ubuntu: docker-image-ubuntu16.04
> docker-image-travis: NOUSER=1
>
> # Expand all the pre-requistes for each docker image and test combination
> diff --git a/tests/docker/dockerfiles/ubuntu.docker b/tests/docker/dockerfiles/ubuntu.docker
> index 686d90ae8c..808ea2bf38 100644
> --- a/tests/docker/dockerfiles/ubuntu.docker
> +++ b/tests/docker/dockerfiles/ubuntu.docker
> @@ -1,16 +1,10 @@
> -FROM ubuntu:16.04
> -RUN apt-get update
> -ENV PACKAGES flex bison \
> - libusb-1.0-0-dev libiscsi-dev librados-dev libncurses5-dev libncursesw5-dev \
> - libseccomp-dev libgnutls-dev libssh2-1-dev libspice-server-dev \
> - libspice-protocol-dev libnss3-dev libfdt-dev \
> - libgtk-3-dev libvte-2.91-dev libsdl1.2-dev libpng12-dev libpixman-1-dev \
> - libvdeplug-dev liblzo2-dev libsnappy-dev libbz2-dev libxen-dev librdmacm-dev libibverbs-dev \
> - libsasl2-dev libjpeg-turbo8-dev xfslibs-dev libcap-ng-dev libbrlapi-dev libcurl4-gnutls-dev \
> - libbluetooth-dev librbd-dev libaio-dev glusterfs-common libnuma-dev libepoxy-dev libdrm-dev libgbm-dev \
> - libjemalloc-dev libcacard-dev libusbredirhost-dev libnfs-dev libcap-dev libattr1-dev \
> - texinfo \
> - gettext git make ccache python-yaml gcc clang sparse
> -RUN apt-get -y install $PACKAGES
> -RUN dpkg -l $PACKAGES | sort > /packages.txt
> -ENV FEATURES clang pyyaml
> +# SPDX-License-Identifier: GPL-2.0-or-later
> +#
> +# This template is deprecated, it was previously based on Xenial on QEMU 2.11.
> +#
> +FROM qemu:ubuntu16.04
> +
> +RUN for n in $(seq 8); do echo; done && \
> + echo "\n\t\tThis image is deprecated." && echo && \
> + echo "\tUse 'FROM qemu:ubuntu16.04' to use the Ubuntu Xenial LTS image" && \
> + for n in $(seq 8); do echo; done
> diff --git a/tests/docker/dockerfiles/ubuntu16.04.docker b/tests/docker/dockerfiles/ubuntu16.04.docker
> new file mode 100644
> index 0000000000..ce7c5d3d33
> --- /dev/null
> +++ b/tests/docker/dockerfiles/ubuntu16.04.docker
> @@ -0,0 +1,16 @@
> +FROM ubuntu:16.04
> +RUN apt-get update
> +ENV PACKAGES flex bison \
> + libusb-1.0-0-dev libiscsi-dev librados-dev libncurses5-dev libncursesw5-dev \
> + libseccomp-dev libgnutls-dev libssh2-1-dev libspice-server-dev \
> + libspice-protocol-dev libnss3-dev libfdt-dev \
> + libgtk-3-dev libvte-2.91-dev libsdl1.2-dev libpng12-dev libpixman-1-dev \
> + libvdeplug-dev liblzo2-dev libsnappy-dev libbz2-dev libxen-dev librdmacm-dev libibverbs-dev \
> + libsasl2-dev libjpeg-turbo8-dev xfslibs-dev libcap-ng-dev libbrlapi-dev libcurl4-gnutls-dev \
> + libbluetooth-dev librbd-dev libaio-dev glusterfs-common libnuma-dev libepoxy-dev libdrm-dev libgbm-dev \
> + libjemalloc-dev libcacard-dev libusbredirhost-dev libnfs-dev libcap-dev libattr1-dev \
> + texinfo \
> + gettext git make ccache python-yaml gcc clang sparse
> +RUN DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install $PACKAGES
> +RUN dpkg -l $PACKAGES | sort > /packages.txt
> +ENV FEATURES clang pyyaml
--
Alex Bennée
next prev parent reply other threads:[~2018-01-17 12:11 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-15 14:34 [Qemu-devel] [PATCH v2 0/8] docker: update Ubuntu and Fedora images, deprecate old ones Philippe Mathieu-Daudé
2018-01-15 14:34 ` [Qemu-devel] [PATCH v2 1/8] docker: sort images list displayed by 'make docker' Philippe Mathieu-Daudé
2018-01-17 9:37 ` Alex Bennée
2018-01-17 9:37 ` Alex Bennée
2018-05-26 5:17 ` Philippe Mathieu-Daudé
2018-05-29 13:25 ` Alex Bennée
2018-01-15 14:34 ` [Qemu-devel] [PATCH v2 2/8] docker: do not display deprecated images in 'make docker' help Philippe Mathieu-Daudé
2018-01-17 11:01 ` Alex Bennée
2018-05-26 5:19 ` Philippe Mathieu-Daudé
2018-01-15 14:34 ` [Qemu-devel] [PATCH v2 3/8] docker: add the Ubuntu Trusty base image Philippe Mathieu-Daudé
2018-01-15 16:25 ` Daniel P. Berrange
2018-01-15 14:34 ` [Qemu-devel] [PATCH v2 4/8] docker: do not use Trusty APT source in Xenial Philippe Mathieu-Daudé
2018-01-17 11:04 ` Alex Bennée
2018-01-17 11:54 ` Alex Bennée
2018-01-17 12:25 ` Philippe Mathieu-Daudé
2018-01-15 14:34 ` [Qemu-devel] [PATCH v2 5/8] docker: warn users to use ubuntu16.04 for the LTS Xenial image Philippe Mathieu-Daudé
2018-01-17 12:11 ` Alex Bennée [this message]
2018-01-15 14:34 ` [Qemu-devel] [PATCH v2 6/8] docker: add the Fedora 27 base image Philippe Mathieu-Daudé
2018-01-15 16:27 ` Daniel P. Berrange
2018-01-15 16:38 ` Philippe Mathieu-Daudé
2018-01-16 20:20 ` Philippe Mathieu-Daudé
2018-01-17 4:06 ` Fam Zheng
2018-01-15 14:34 ` [Qemu-devel] [PATCH v2 7/8] docker: warn users to use newer fedora25/fedora27 " Philippe Mathieu-Daudé
2018-01-17 10:55 ` Alex Bennée
2018-01-15 14:34 ` [Qemu-devel] [PATCH v2 8/8] docker: fix typo Philippe Mathieu-Daudé
2018-01-17 12:11 ` Alex Bennée
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871sioofc3.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=f4bug@amsat.org \
--cc=famz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.