Alpine 3.19 is needed for upcoming stubdomain tests, as linux stubdomain
build requires dracut-core package (dracut-install tool specifically)
which isn't available in 3.18. While technically it will be needed only
in the x86_64 builds, switch Alpine version everywhere for uniformity.
Note this bumps kernel version requirement on docker runners -
dracut-install uses faccessat2() syscall which was introduced in Linux
5.8.
Signed-off-by: Marek Marczykowski-Górecki
---
automation/build/alpine/3.18-arm64v8.dockerfile | 49 +--
automation/build/alpine/3.18.dockerfile | 51 +--
automation/build/alpine/3.19-arm64v8.dockerfile | 49 ++-
automation/build/alpine/3.19.dockerfile | 51 ++-
automation/gitlab-ci/build.yaml | 56 +++
automation/gitlab-ci/test.yaml| 52 +++---
automation/scripts/containerize | 4 +-
automation/tests-artifacts/alpine/3.18-arm64v8.dockerfile | 65 +
automation/tests-artifacts/alpine/3.18.dockerfile | 66 +
automation/tests-artifacts/alpine/3.19-arm64v8.dockerfile | 65 -
automation/tests-artifacts/alpine/3.19.dockerfile | 67 -
11 files changed, 288 insertions(+), 287 deletions(-)
delete mode 100644 automation/build/alpine/3.18-arm64v8.dockerfile
delete mode 100644 automation/build/alpine/3.18.dockerfile
create mode 100644 automation/build/alpine/3.19-arm64v8.dockerfile
create mode 100644 automation/build/alpine/3.19.dockerfile
delete mode 100644 automation/tests-artifacts/alpine/3.18-arm64v8.dockerfile
delete mode 100644 automation/tests-artifacts/alpine/3.18.dockerfile
create mode 100644 automation/tests-artifacts/alpine/3.19-arm64v8.dockerfile
create mode 100644 automation/tests-artifacts/alpine/3.19.dockerfile
diff --git a/automation/build/alpine/3.18-arm64v8.dockerfile
b/automation/build/alpine/3.18-arm64v8.dockerfile
deleted file mode 100644
index 91e90220240f..
--- a/automation/build/alpine/3.18-arm64v8.dockerfile
+++ /dev/null
@@ -1,49 +0,0 @@
-FROM --platform=linux/arm64/v8 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 \
- curl \
- dev86 \
- dtc-dev \
- flex \
- gcc \
- git \
- iasl \
- libaio-dev \
- libfdt \
- 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 \
- pixman-dev \
- # qubes test deps
- openssh-client \
- fakeroot \
diff --git a/automation/build/alpine/3.18.dockerfile
b/automation/build/alpine/3.18.dockerfile
deleted file mode 100644
index 8d5dac05b01f..
--- a/automation/build/alpine/3.18.dockerfile
+++ /dev/null
@@ -1,51 +0,0 @@
-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 \
diff --git a/automation/build/alpine/3.19-arm64v8.dockerfile
b/automation/build/alpine/3.19-arm64v8.dockerfile
new file mode 100644
index ..158cf465a9ff
--- /dev/null
+++ b/automation/build/alpine/3.19-arm64v8.dockerfile
@@ -0,0 +1,49 @@
+FROM --platform=linux/arm64/v8 alpine:3.19
+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 \
+ curl \
+ dev86 \
+ dtc-dev \
+ flex \
+ gcc \
+ git \
+ iasl \
+ libaio-dev \
+ libfdt \
+ 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 \
+ pixman-dev \
+ # qubes test deps
+ openssh-client \
+ fakeroot \
diff --git a/automation/build/