mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Commitb5739330d7introduced the use of heredocs in the jessie/stretch dockerfiles. It turns out this was introduced by BuildKit in 2018 along with a standardisation of Dockerfile syntax, and has subsequently been adopted by the docker community. Annotate all dockerfiles with a statement of the syntax in use, and extend README.md details including how to activate BuildKit when it's available but off by default. This allows the containers to be rebuilt following commita0e29b3163("CI: Drop glibc-i386 from the build containers"). Fixes:b5739330d7("automation: fix jessie/stretch images to use archive.debian.org apt repos") 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>
53 lines
777 B
Docker
53 lines
777 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM --platform=linux/amd64 alpine:3.18
|
|
LABEL maintainer.name="The Xen Project" \
|
|
maintainer.email="xen-devel@lists.xenproject.org"
|
|
|
|
ENV USER root
|
|
|
|
RUN mkdir /build
|
|
WORKDIR /build
|
|
|
|
# build depends
|
|
RUN apk --no-cache add \
|
|
\
|
|
# xen build deps
|
|
argp-standalone \
|
|
autoconf \
|
|
bash \
|
|
bison \
|
|
clang \
|
|
curl \
|
|
dev86 \
|
|
flex \
|
|
g++ \
|
|
gcc \
|
|
git \
|
|
grep \
|
|
iasl \
|
|
libaio-dev \
|
|
libc6-compat \
|
|
linux-headers \
|
|
make \
|
|
musl-dev \
|
|
ncurses-dev \
|
|
ocaml \
|
|
ocaml-findlib \
|
|
patch \
|
|
python3-dev \
|
|
py3-setuptools \
|
|
texinfo \
|
|
util-linux-dev \
|
|
xz-dev \
|
|
yajl-dev \
|
|
zlib-dev \
|
|
\
|
|
# qemu build deps
|
|
glib-dev \
|
|
libattr \
|
|
libcap-ng-dev \
|
|
ninja \
|
|
pixman-dev \
|
|
# livepatch-tools deps
|
|
elfutils-dev \
|