1# syntax=docker/dockerfile:1 2FROM --platform=linux/amd64 archlinux:base-devel 3LABEL maintainer.name="The Xen Project" \ 4 maintainer.email="xen-devel@lists.xenproject.org" 5 6RUN pacman-key --init 7 8RUN pacman -S --refresh --sysupgrade --noconfirm --noprogressbar --needed \ 9 bin86 \ 10 bridge-utils \ 11 bzip2 \ 12 dev86 \ 13 discount \ 14 dtc \ 15 e2fsprogs \ 16 ghostscript \ 17 git \ 18 gnutls \ 19 go \ 20 iasl \ 21 inetutils \ 22 iproute \ 23 libaio \ 24 libcacard \ 25 libgl \ 26 libjpeg-turbo \ 27 libnl \ 28 libpng \ 29 libseccomp \ 30 net-tools \ 31 nss \ 32 perl \ 33 pixman \ 34 pkgconfig \ 35 python \ 36 python-setuptools \ 37 sdl \ 38 sdl2 \ 39 spice \ 40 spice-protocol \ 41 # systemd for Xen < 4.19 42 systemd \ 43 transfig \ 44 usbredir \ 45 wget \ 46 xz \ 47 yajl \ 48 zlib \ 49 && yes | pacman -S --clean --clean 50 51ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl 52 53RUN useradd --create-home user 54USER user 55WORKDIR /build 56