Files
qemu-reims-vgpu/tests/docker/dockerfiles/alpine.docker
T
Pierrick Bouvier fec4cd08bb tests/lcitool/refresh: generate dockerfiles using --host-arch x86_64
To ensure refresh output is consistent on any host architecture, we need
to specify which host arch it's supposed to target.
Indeed, by default, package list will depend on host architecture, which
means that output will depend on which machine runs refresh command.
For example, on aarch64 host, refresh removes libpmem-dev package since
it's not available.

Also, update lcitool submodule: It now uses arch specific images by
default. Thus we update all images at the same time.
https://gitlab.com/libvirt/libvirt-ci/-/commit/f34cd57eb892259c26600187bc35cc4152f932cf

Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20260923185725.863311-3-pierrick.bouvier@oss.qualcomm.com
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
2026-09-25 17:04:17 +00:00

143 lines
3.2 KiB
Docker

# THIS FILE WAS AUTO-GENERATED
#
# $ lcitool dockerfile --layers all --host-arch x86_64 alpine-323 qemu
#
# https://gitlab.com/libvirt/libvirt-ci
FROM docker.io/library/alpine:3.23
RUN apk update && \
apk upgrade && \
apk add \
alsa-lib-dev \
attr-dev \
bash \
bc \
bison \
bzip2 \
bzip2-dev \
ca-certificates \
capstone-dev \
ccache \
ceph-dev \
clang \
cmocka-dev \
coreutils \
ctags \
curl-dev \
cyrus-sasl-dev \
dbus \
diffutils \
dtc-dev \
eudev-dev \
findutils \
flex \
fuse3-dev \
gcc \
gcovr \
gettext \
git \
glib-dev \
glib-static \
gnutls-dev \
gtk+3.0-dev \
gtk-vnc-dev \
json-c-dev \
libaio-dev \
libbpf-dev \
libcap-ng-dev \
libcbor-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 \
libxdp-dev \
linux-pam-dev \
llvm \
lttng-ust-dev \
lzo-dev \
make \
mesa-dev \
meson \
mtools \
multipath-tools \
musl-dev \
ncurses-dev \
ndctl-dev \
net-tools \
nettle-dev \
numactl-dev \
openssh-client \
pcre2-dev \
pipewire-dev \
pixman-dev \
pkgconf \
pulseaudio-dev \
py3-numpy \
py3-pip \
py3-setuptools \
py3-sphinx \
py3-sphinx_rtd_theme \
py3-wheel \
python3 \
rpm2cpio \
rust \
rust-bindgen \
samurai \
sdl2-dev \
sdl2_image-dev \
sed \
snappy-dev \
sndio-dev \
socat \
sparse \
spice-dev \
spice-protocol \
swtpm \
tar \
tesseract-ocr \
usbredir-dev \
util-linux \
vde2-dev \
virglrenderer-dev \
vte3-dev \
vulkan-tools \
which \
xen-dev \
xorriso \
zlib-dev \
zlib-static \
zstd \
zstd-dev && \
rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \
apk list --installed | sort > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
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/gcc
ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
ENV LANG="en_US.UTF-8"
ENV MAKE="/usr/bin/make"
ENV NINJA="/usr/bin/ninja"
ENV PYTHON="/usr/bin/python3"
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/17463
RUN apk add clang19-libclang
# As a final step configure the user (if env is defined)
ARG USER
ARG UID
RUN if [ "${USER}" ]; then \
id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
ENV ENABLE_RUST=1