1# THIS FILE WAS AUTO-GENERATED 2# 3# $ lcitool dockerfile --layers all alpine-316 qemu 4# 5# https://gitlab.com/libvirt/libvirt-ci 6 7FROM docker.io/library/alpine:3.16 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 cdrkit \ 23 ceph-dev \ 24 clang \ 25 cmocka-dev \ 26 ctags \ 27 curl-dev \ 28 cyrus-sasl-dev \ 29 dbus \ 30 diffutils \ 31 dtc-dev \ 32 eudev-dev \ 33 findutils \ 34 flex \ 35 fuse3-dev \ 36 g++ \ 37 gcc \ 38 gcovr \ 39 gettext \ 40 git \ 41 glib-dev \ 42 glib-static \ 43 gnutls-dev \ 44 gtk+3.0-dev \ 45 json-c-dev \ 46 libaio-dev \ 47 libbpf-dev \ 48 libcap-ng-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 linux-pam-dev \ 64 llvm \ 65 lttng-ust-dev \ 66 lzo-dev \ 67 make \ 68 mesa-dev \ 69 meson \ 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 pixman-dev \ 81 pkgconf \ 82 pulseaudio-dev \ 83 py3-numpy \ 84 py3-pillow \ 85 py3-pip \ 86 py3-sphinx \ 87 py3-sphinx_rtd_theme \ 88 py3-yaml \ 89 python3 \ 90 rpm2cpio \ 91 samurai \ 92 sdl2-dev \ 93 sdl2_image-dev \ 94 sed \ 95 snappy-dev \ 96 sndio-dev \ 97 socat \ 98 sparse \ 99 spice-dev \ 100 spice-protocol \ 101 tar \ 102 tesseract-ocr \ 103 usbredir-dev \ 104 util-linux \ 105 vde2-dev \ 106 virglrenderer-dev \ 107 vte3-dev \ 108 which \ 109 xen-dev \ 110 xfsprogs-dev \ 111 zlib-dev \ 112 zlib-static \ 113 zstd \ 114 zstd-dev && \ 115 apk list | sort > /packages.txt && \ 116 mkdir -p /usr/libexec/ccache-wrappers && \ 117 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/c++ && \ 118 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ 119 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ 120 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \ 121 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc 122 123ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" 124ENV LANG "en_US.UTF-8" 125ENV MAKE "/usr/bin/make" 126ENV NINJA "/usr/bin/ninja" 127ENV PYTHON "/usr/bin/python3" 128# As a final step configure the user (if env is defined) 129ARG USER 130ARG UID 131RUN if [ "${USER}" ]; then \ 132 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi 133