aboutsummaryrefslogtreecommitdiff
path: root/tests/docker
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2022-01-05 13:49:53 +0000
committerAlex Bennée <alex.bennee@linaro.org>2022-01-18 16:42:42 +0000
commite1cb5c7550804ea61971366598431aa7c0cadfd8 (patch)
treee147dcd942e27f71feb883578043b6cce75d846f /tests/docker
parente6302780086d8453524e63d1fe8053ca80cc09a3 (diff)
tests/docker: auto-generate alpine.docker with lcitool
This commit is best examined using the "-b" option to diff. Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20211215141949.3512719-19-berrange@redhat.com> Message-Id: <20220105135009.1584676-19-alex.bennee@linaro.org>
Diffstat (limited to 'tests/docker')
-rw-r--r--tests/docker/dockerfiles/alpine.docker225
1 files changed, 119 insertions, 106 deletions
diff --git a/tests/docker/dockerfiles/alpine.docker b/tests/docker/dockerfiles/alpine.docker
index 0ac30c8014..97c7a88d1f 100644
--- a/tests/docker/dockerfiles/alpine.docker
+++ b/tests/docker/dockerfiles/alpine.docker
@@ -1,109 +1,122 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile alpine-edge qemu
+#
+# https://gitlab.com/libvirt/libvirt-ci
-FROM alpine:edge
+FROM docker.io/library/alpine:edge
-RUN apk update
-RUN apk upgrade
+RUN apk update && \
+ apk upgrade && \
+ apk add \
+ alsa-lib-dev \
+ attr-dev \
+ bash \
+ bc \
+ bzip2 \
+ bzip2-dev \
+ ca-certificates \
+ capstone-dev \
+ ccache \
+ cdrkit \
+ ceph-dev \
+ clang \
+ ctags \
+ curl-dev \
+ cyrus-sasl-dev \
+ dbus \
+ diffutils \
+ dtc-dev \
+ eudev-dev \
+ findutils \
+ g++ \
+ gcc \
+ gcovr \
+ gettext \
+ git \
+ glib-dev \
+ glib-static \
+ gnutls-dev \
+ gtk+3.0-dev \
+ libaio-dev \
+ libbpf-dev \
+ libcap-ng-dev \
+ libdrm-dev \
+ libepoxy-dev \
+ libffi-dev \
+ libgcrypt-dev \
+ libjpeg-turbo-dev \
+ libnfs-dev \
+ libpng-dev \
+ libseccomp-dev \
+ libselinux-dev \
+ libslirp-dev \
+ libssh-dev \
+ libtasn1-dev \
+ liburing-dev \
+ libusb-dev \
+ libxml2-dev \
+ linux-pam-dev \
+ llvm11 \
+ lttng-ust-dev \
+ lzo-dev \
+ make \
+ mesa-dev \
+ meson \
+ multipath-tools \
+ ncurses-dev \
+ ndctl-dev \
+ net-tools \
+ nettle-dev \
+ nmap-ncat \
+ numactl-dev \
+ openssh-client \
+ pcre-dev \
+ perl \
+ perl-test-harness \
+ pixman-dev \
+ pkgconf \
+ pulseaudio-dev \
+ py3-numpy \
+ py3-pillow \
+ py3-pip \
+ py3-sphinx \
+ py3-sphinx_rtd_theme \
+ py3-virtualenv \
+ py3-yaml \
+ python3 \
+ rpm2cpio \
+ samurai \
+ sdl2-dev \
+ sdl2_image-dev \
+ sed \
+ snappy-dev \
+ sparse \
+ spice-dev \
+ spice-protocol \
+ tar \
+ tesseract-ocr \
+ texinfo \
+ usbredir-dev \
+ util-linux \
+ vde2-dev \
+ virglrenderer-dev \
+ vte3-dev \
+ which \
+ xen-dev \
+ xfsprogs-dev \
+ zlib-dev \
+ zlib-static \
+ zstd-dev && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/c++ && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
-# Please keep this list sorted alphabetically
-ENV PACKAGES \
- alsa-lib-dev \
- attr-dev \
- bash \
- bc \
- bzip2 \
- bzip2-dev \
- ca-certificates \
- capstone-dev \
- ccache \
- cdrkit \
- ceph-dev \
- clang \
- ctags \
- curl-dev \
- cyrus-sasl-dev \
- dbus \
- diffutils \
- dtc-dev \
- eudev-dev \
- findutils \
- g++ \
- gcc \
- gcovr \
- gettext \
- git \
- glib-dev \
- glib-static \
- gnutls-dev \
- gtk+3.0-dev \
- libaio-dev \
- libbpf-dev \
- libcap-ng-dev \
- libdrm-dev \
- libepoxy-dev \
- libffi-dev \
- libgcrypt-dev \
- libjpeg-turbo-dev \
- libnfs-dev \
- libpng-dev \
- libseccomp-dev \
- libselinux-dev \
- libslirp-dev \
- libssh-dev \
- libtasn1-dev \
- liburing-dev \
- libusb-dev \
- libxml2-dev \
- linux-pam-dev \
- llvm11 \
- lttng-ust-dev \
- lzo-dev \
- make \
- mesa-dev \
- meson \
- multipath-tools \
- ncurses-dev \
- ndctl-dev \
- net-tools \
- nettle-dev \
- nmap-ncat \
- numactl-dev \
- openssh-client \
- pcre-dev \
- perl \
- perl-test-harness \
- pixman-dev \
- pkgconf \
- pulseaudio-dev \
- py3-numpy \
- py3-pillow \
- py3-pip \
- py3-sphinx \
- py3-sphinx_rtd_theme \
- py3-virtualenv \
- py3-yaml \
- python3 \
- rpm2cpio \
- samurai \
- sdl2-dev \
- sdl2_image-dev \
- sed \
- snappy-dev \
- sparse \
- spice-dev \
- spice-protocol \
- tar \
- tesseract-ocr \
- texinfo \
- usbredir-dev \
- util-linux \
- vde2-dev \
- virglrenderer-dev \
- vte3-dev \
- which \
- xen-dev \
- xfsprogs-dev \
- zlib-dev \
- zlib-static \
- zstd-dev
-
-RUN apk add $PACKAGES
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV NINJA "/usr/bin/ninja"
+ENV PYTHON "/usr/bin/python3"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"