mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
As with other compression libraries, group liblz4 into ZLIB_{CFLAGS,LIBS}.
Add the packages to the Debian Trixie build containers for coverage.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
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-nox
|
|
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
|