Files
xen/automation/build/archlinux/current.dockerfile
T
Javi Merino bbc72a7877 automation: Add python3's setuptools to some containers
In preparation of supporting both distutils and setuptools, add the
python3 setuptools module to the containers that have recent python3
installations.

Debian Stretch, Ubuntu trusty (14.04), Ubuntu xenial (16.04) and
Ubuntu bionic (18.04) are kept without setuptools on purpose, to test
installations that don't have it.

Centos 7 in particular is kept with python2 only.

Signed-off-by: Javi Merino <javi.merino@cloud.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
2023-09-20 20:53:58 +01:00

56 lines
1.1 KiB
Docker

FROM archlinux:base-devel
LABEL maintainer.name="The Xen Project" \
maintainer.email="xen-devel@lists.xenproject.org"
RUN pacman-key --init
RUN pacman -S --refresh --sysupgrade --noconfirm --noprogressbar --needed \
bin86 \
bridge-utils \
bzip2 \
dev86 \
discount \
dtc \
e2fsprogs \
ghostscript \
git \
gnutls \
go \
iasl \
inetutils \
iproute \
# lib32-glibc for Xen < 4.15
lib32-glibc \
libaio \
libcacard \
libgl \
libjpeg-turbo \
libnl \
libpng \
libseccomp \
net-tools \
nss \
perl \
pixman \
pkgconfig \
python \
python-setuptools \
sdl \
sdl2 \
spice \
spice-protocol \
systemd \
transfig \
usbredir \
wget \
xz \
yajl \
zlib \
&& yes | pacman -S --clean --clean
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
RUN useradd --create-home user
USER user
WORKDIR /build