mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Rename it to have an x86_64 suffix, updating the build job names and scheduled rebuild task. Apply standard cleanups. Trim the package list down to what is actually needed. Archlinux's base-devel contains most libraries, but some of the listed packages have never been dependenices for Xen, and a lot are QEMU dependenices which aren't useful owing to the lack of the ninja package. This shrinks the container from 533MB to 380MB. No practical change. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Anthony PERARD <anthony.perard@vates.tech> Acked-by: Stefano Stabellini <sstabellini@kernel.org> Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
34 lines
652 B
Docker
34 lines
652 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM --platform=linux/amd64 archlinux:base-devel
|
|
LABEL maintainer.name="The Xen Project"
|
|
LABEL maintainer.email="xen-devel@lists.xenproject.org"
|
|
|
|
RUN <<EOF
|
|
#!/bin/bash
|
|
set -eu
|
|
|
|
useradd --create-home user
|
|
|
|
pacman-key --init
|
|
|
|
DEPS=(
|
|
# Tools (general)
|
|
git
|
|
wget
|
|
# libxenguest dombuilder
|
|
lzo
|
|
# libacpi
|
|
iasl
|
|
# Python bindings
|
|
python-setuptools
|
|
# Golang bindings
|
|
go
|
|
)
|
|
|
|
pacman -S --refresh --sysupgrade --noconfirm --noprogressbar --needed "${DEPS[@]}"
|
|
yes | pacman -S --clean --clean
|
|
EOF
|
|
|
|
USER user
|
|
WORKDIR /build
|