1# THIS FILE WAS AUTO-GENERATED 2# 3# $ lcitool dockerfile --layers all alpine-318 qemu 4# 5# https://gitlab.com/libvirt/libvirt-ci 6 7FROM docker.io/library/alpine:3.18 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 g++ \ 36 gcc \ 37 gcovr \ 38 gettext \ 39 git \ 40 glib-dev \ 41 glib-static \ 42 gnutls-dev \ 43 gtk+3.0-dev \ 44 json-c-dev \ 45 libaio-dev \ 46 libbpf-dev \ 47 libcap-ng-dev \ 48 libdrm-dev \ 49 libepoxy-dev \ 50 libffi-dev \ 51 libgcrypt-dev \ 52 libjpeg-turbo-dev \ 53 libnfs-dev \ 54 libpng-dev \ 55 libseccomp-dev \ 56 libselinux-dev \ 57 libslirp-dev \ 58 libssh-dev \ 59 libtasn1-dev \ 60 liburing-dev \ 61 libusb-dev \ 62 linux-pam-dev \ 63 llvm \ 64 lttng-ust-dev \ 65 lzo-dev \ 66 make \ 67 mesa-dev \ 68 meson \ 69 mtools \ 70 multipath-tools \ 71 musl-dev \ 72 ncurses-dev \ 73 ndctl-dev \ 74 net-tools \ 75 nettle-dev \ 76 nmap-ncat \ 77 numactl-dev \ 78 openssh-client \ 79 pcre-dev \ 80 pipewire-dev \ 81 pixman-dev \ 82 pkgconf \ 83 pulseaudio-dev \ 84 py3-numpy \ 85 py3-pillow \ 86 py3-pip \ 87 py3-sphinx \ 88 py3-sphinx_rtd_theme \ 89 py3-yaml \ 90 python3 \ 91 rpm2cpio \ 92 samurai \ 93 sdl2-dev \ 94 sdl2_image-dev \ 95 sed \ 96 snappy-dev \ 97 sndio-dev \ 98 socat \ 99 sparse \ 100 spice-dev \ 101 spice-protocol \ 102 tar \ 103 tesseract-ocr \ 104 usbredir-dev \ 105 util-linux \ 106 vde2-dev \ 107 virglrenderer-dev \ 108 vte3-dev \ 109 which \ 110 xen-dev \ 111 xfsprogs-dev \ 112 xorriso \ 113 zlib-dev \ 114 zlib-static \ 115 zstd \ 116 zstd-dev && \ 117 apk list | sort > /packages.txt && \ 118 mkdir -p /usr/libexec/ccache-wrappers && \ 119 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/c++ && \ 120 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ 121 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ 122 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \ 123 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc 124 125ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" 126ENV LANG "en_US.UTF-8" 127ENV MAKE "/usr/bin/make" 128ENV NINJA "/usr/bin/ninja" 129ENV PYTHON "/usr/bin/python3" 130# As a final step configure the user (if env is defined) 131ARG USER 132ARG UID 133RUN if [ "${USER}" ]; then \ 134 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi 135