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