mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Ocaml 4.08 and earlier had the compiler package depend on graphics, and therefore on X. Ocaml 4.09 and later dropped this dependency. Debian and Ubuntu versions with Ocaml 4.08 and earlier (which are Debian Bullseye/11, and Ubuntu Focal/20.04 and earlier) had ocaml-nox packages with this dependency stripped, which we use to keep the size of the containers down. In newer versions of Debian and Ubuntu, ocaml-nox is just a transitional package referring back to ocaml. Ubuntu Resolute/26.04 has finally removed this transitional package. For all versions where ocaml-nox is just a transitional package, swap to the ocaml package. No functional change. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Denis Mukhin <dmukhin@ford.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org> Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
74 lines
1.3 KiB
Docker
74 lines
1.3 KiB
Docker
# syntax=docker/dockerfile:1
|
|
FROM --platform=linux/amd64 debian:trixie-slim
|
|
LABEL maintainer.name="The Xen Project"
|
|
LABEL maintainer.email="xen-devel@lists.xenproject.org"
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN <<EOF
|
|
#!/bin/bash
|
|
set -eu
|
|
|
|
useradd --create-home user
|
|
|
|
apt-get update
|
|
|
|
DEPS=(
|
|
# Xen
|
|
bison
|
|
build-essential
|
|
checkpolicy
|
|
clang
|
|
flex
|
|
|
|
# Tools (general)
|
|
ca-certificates
|
|
cpio
|
|
git-core
|
|
pkg-config
|
|
wget
|
|
# libxenguest dombuilder
|
|
libbz2-dev
|
|
liblz4-dev
|
|
liblzma-dev
|
|
liblzo2-dev
|
|
libzstd-dev
|
|
zlib1g-dev
|
|
# libacpi
|
|
acpica-tools
|
|
# libxl
|
|
uuid-dev
|
|
libnl-3-dev
|
|
libyajl-dev
|
|
# RomBIOS
|
|
bcc
|
|
bin86
|
|
# xentop
|
|
libncurses5-dev
|
|
# Python bindings
|
|
python3-dev
|
|
python3-setuptools
|
|
# Golang bindings
|
|
golang-go
|
|
# Ocaml bindings/oxenstored
|
|
ocaml
|
|
ocaml-findlib
|
|
|
|
# for test phase, qemu-* jobs
|
|
busybox-static
|
|
expect
|
|
ovmf
|
|
qemu-system-x86
|
|
|
|
# for build-each-commit-gcc
|
|
ccache
|
|
)
|
|
|
|
apt-get -y --no-install-recommends install "${DEPS[@]}"
|
|
|
|
rm -rf /var/lib/apt/lists*
|
|
EOF
|
|
|
|
USER user
|
|
WORKDIR /build
|