1# THIS FILE WAS AUTO-GENERATED 2# 3# $ lcitool dockerfile --layers all alpine-319 qemu 4# 5# https://gitlab.com/libvirt/libvirt-ci 6 7FROM docker.io/library/alpine:3.19 8 9RUN apk update && \ 10 apk upgrade && \ 11 apk add \ 12 alsa-lib-dev \ 13 attr-dev \ 14 bash \ 15 bc \ 16 bison \ 17 bzip2 \ 18 bzip2-dev \ 19 ca-certificates \ 20 capstone-dev \ 21 ccache \ 22 ceph-dev \ 23 clang \ 24 cmocka-dev \ 25 ctags \ 26 curl-dev \ 27 cyrus-sasl-dev \ 28 dbus \ 29 diffutils \ 30 dtc-dev \ 31 eudev-dev \ 32 findutils \ 33 flex \ 34 fuse3-dev \ 35 gcc \ 36 gcovr \ 37 gettext \ 38 git \ 39 glib-dev \ 40 glib-static \ 41 gnutls-dev \ 42 gtk+3.0-dev \ 43 gtk-vnc-dev \ 44 json-c-dev \ 45 libaio-dev \ 46 libbpf-dev \ 47 libcap-ng-dev \ 48 libcbor-dev \ 49 libdrm-dev \ 50 libepoxy-dev \ 51 libffi-dev \ 52 libgcrypt-dev \ 53 libjpeg-turbo-dev \ 54 libnfs-dev \ 55 libpng-dev \ 56 libseccomp-dev \ 57 libselinux-dev \ 58 libslirp-dev \ 59 libssh-dev \ 60 libtasn1-dev \ 61 liburing-dev \ 62 libusb-dev \ 63 libxdp-dev \ 64 linux-pam-dev \ 65 llvm \ 66 lttng-ust-dev \ 67 lzo-dev \ 68 make \ 69 mesa-dev \ 70 meson \ 71 mtools \ 72 multipath-tools \ 73 musl-dev \ 74 ncurses-dev \ 75 ndctl-dev \ 76 net-tools \ 77 nettle-dev \ 78 nmap-ncat \ 79 numactl-dev \ 80 openssh-client \ 81 pcre-dev \ 82 pipewire-dev \ 83 pixman-dev \ 84 pkgconf \ 85 pulseaudio-dev \ 86 py3-numpy \ 87 py3-pillow \ 88 py3-pip \ 89 py3-sphinx \ 90 py3-sphinx_rtd_theme \ 91 py3-yaml \ 92 python3 \ 93 rpm2cpio \ 94 rust \ 95 rust-bindgen \ 96 samurai \ 97 sdl2-dev \ 98 sdl2_image-dev \ 99 sed \ 100 snappy-dev \ 101 sndio-dev \ 102 socat \ 103 sparse \ 104 spice-dev \ 105 spice-protocol \ 106 swtpm \ 107 tar \ 108 tesseract-ocr \ 109 usbredir-dev \ 110 util-linux \ 111 vde2-dev \ 112 virglrenderer-dev \ 113 vte3-dev \ 114 which \ 115 xen-dev \ 116 xorriso \ 117 zlib-dev \ 118 zlib-static \ 119 zstd \ 120 zstd-dev && \ 121 rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \ 122 apk list --installed | sort > /packages.txt && \ 123 mkdir -p /usr/libexec/ccache-wrappers && \ 124 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ 125 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ 126 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc 127 128ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" 129ENV LANG "en_US.UTF-8" 130ENV MAKE "/usr/bin/make" 131ENV NINJA "/usr/bin/ninja" 132ENV PYTHON "/usr/bin/python3" 133# As a final step configure the user (if env is defined) 134ARG USER 135ARG UID 136RUN if [ "${USER}" ]; then \ 137 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi 138