mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Base image "archlinux/base" isn't available anymore,
https://lists.archlinux.org/pipermail/arch-dev-public/2020-November/030181.html
But instead of switching to archlinux/archlinux, we will use the
official image from Docker. Main difference is that the first one is
updated daily while the second is updated weekly.
Also, as we will install the packages from "base-devel" anyway, switch
to the "base-devel" tag.
"dev86" package is now available from the main repo, no need for
multilib repo anymore.
It is recommended to initialise local signing key used by pacman, so
let's do that.
Replace "markdown" by "discount" as the former isn't available anymore
and has been replaced by the later.
Also, clean pacman's cache.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
55 lines
1.1 KiB
Docker
55 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 \
|
|
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
|