mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
Xen 4.14 no longer runs in Gitlab CI. Drop the dependency to shrink the build containers a little. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org>
62 lines
1.5 KiB
Docker
62 lines
1.5 KiB
Docker
FROM --platform=linux/amd64 debian:stretch
|
|
LABEL maintainer.name="The Xen Project" \
|
|
maintainer.email="xen-devel@lists.xenproject.org"
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV USER root
|
|
|
|
RUN mkdir /build
|
|
WORKDIR /build
|
|
|
|
# replace repos in archive as release is EOL
|
|
RUN cat <<"END" > /etc/apt/sources.list
|
|
deb http://archive.debian.org/debian/ stretch main contrib non-free
|
|
deb http://archive.debian.org/debian/ stretch-backports main contrib non-free
|
|
deb http://archive.debian.org/debian-security/ stretch/updates main contrib non-free
|
|
END
|
|
|
|
# build depends
|
|
RUN apt-get update && \
|
|
apt-get --quiet --yes install \
|
|
build-essential \
|
|
zlib1g-dev \
|
|
libncurses5-dev \
|
|
libssl-dev \
|
|
python-dev \
|
|
python3-dev \
|
|
xorg-dev \
|
|
uuid-dev \
|
|
libyajl-dev \
|
|
libaio-dev \
|
|
libglib2.0-dev \
|
|
clang \
|
|
libpixman-1-dev \
|
|
pkg-config \
|
|
flex \
|
|
bison \
|
|
acpica-tools \
|
|
bin86 \
|
|
bcc \
|
|
liblzma-dev \
|
|
libnl-3-dev \
|
|
ocaml-nox \
|
|
libfindlib-ocaml-dev \
|
|
markdown \
|
|
transfig \
|
|
pandoc \
|
|
checkpolicy \
|
|
wget \
|
|
git \
|
|
nasm \
|
|
gnupg \
|
|
apt-transport-https \
|
|
# for test phase, qemu-smoke-* jobs
|
|
qemu-system-x86 \
|
|
# for test phase, qemu-alpine-* jobs
|
|
cpio \
|
|
busybox-static \
|
|
&& \
|
|
apt-get autoremove -y && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
|