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>
This commit is contained in:
parent
e630278008
commit
e1cb5c7550
@ -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"
|
||||
|
@ -84,6 +84,7 @@ try:
|
||||
generate_dockerfile("ubuntu2004", "ubuntu-2004",
|
||||
trailer="".join(ubuntu2004_tsanhack))
|
||||
generate_dockerfile("opensuse-leap", "opensuse-leap-152")
|
||||
generate_dockerfile("alpine", "alpine-edge")
|
||||
|
||||
generate_cirrus("freebsd-12")
|
||||
generate_cirrus("freebsd-13")
|
||||
|
Loading…
Reference in New Issue
Block a user