It is the favourite small container distribution and it just works.
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
.gitlab-ci.yml | 23 +++++++++++
ci/containers/alpine-314.Dockerfile | 57 ++++++++++++++++++++++++++++
ci/containers/alpine-edge.Dockerfile | 57 ++++++++++++++++++++++++++++
3 files changed, 137 insertions(+)
create mode 100644 ci/containers/alpine-314.Dockerfile
create mode 100644 ci/containers/alpine-edge.Dockerfile
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 43fba2e84cfa..935711e8fea3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -95,6 +95,15 @@ stages:
- if: "$CIRRUS_GITHUB_REPO && $CIRRUS_API_TOKEN"
# Native container build jobs
+x64-alpine-314-container:
+ extends: .container_job
+ variables:
+ NAME: alpine-314
+
+x64-alpine-edge-container:
+ extends: .container_job
+ variables:
+ NAME: alpine-edge
x64-centos-8-container:
extends: .container_job
@@ -174,6 +183,20 @@ x64-centos-8:
variables:
NAME: centos-8
+x64-alpine-314:
+ extends: .native_build_job
+ needs:
+ - x64-alpine-314-container
+ variables:
+ NAME: alpine-314
+
+x64-alpine-edge:
+ extends: .native_build_job
+ needs:
+ - x64-alpine-edge-container
+ variables:
+ NAME: alpine-edge
+
x64-centos-8-clang:
extends: .native_build_job
needs:
diff --git a/ci/containers/alpine-314.Dockerfile b/ci/containers/alpine-314.Dockerfile
new file mode 100644
index 000000000000..c9ae76e7120b
--- /dev/null
+++ b/ci/containers/alpine-314.Dockerfile
@@ -0,0 +1,57 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile alpine-314 libnbd
+#
+#
https://gitlab.com/libvirt/libvirt-ci/-/commit/1b32d74a089da43a0f79eba012...
+
+FROM docker.io/library/alpine:3.14
+
+RUN apk update && \
+ apk upgrade && \
+ apk add \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ diffutils \
+ fuse3 \
+ fuse3-dev \
+ g++ \
+ gcc \
+ git \
+ glib-dev \
+ gnutls-dev \
+ gnutls-utils \
+ go \
+ hexdump \
+ iproute2 \
+ jq \
+ libev-dev \
+ libtool \
+ libxml2-dev \
+ make \
+ nbd \
+ nbd-client \
+ ocaml \
+ ocaml-findlib-dev \
+ ocaml-ocamldoc \
+ perl \
+ pkgconf \
+ py3-flake8 \
+ python3-dev \
+ qemu \
+ qemu-img \
+ sed \
+ valgrind && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/c++ && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/ci/containers/alpine-edge.Dockerfile b/ci/containers/alpine-edge.Dockerfile
new file mode 100644
index 000000000000..4512e44252b5
--- /dev/null
+++ b/ci/containers/alpine-edge.Dockerfile
@@ -0,0 +1,57 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile alpine-edge libnbd
+#
+#
https://gitlab.com/libvirt/libvirt-ci/-/commit/1b32d74a089da43a0f79eba012...
+
+FROM docker.io/library/alpine:edge
+
+RUN apk update && \
+ apk upgrade && \
+ apk add \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ diffutils \
+ fuse3 \
+ fuse3-dev \
+ g++ \
+ gcc \
+ git \
+ glib-dev \
+ gnutls-dev \
+ gnutls-utils \
+ go \
+ hexdump \
+ iproute2 \
+ jq \
+ libev-dev \
+ libtool \
+ libxml2-dev \
+ make \
+ nbd \
+ nbd-client \
+ ocaml \
+ ocaml-findlib-dev \
+ ocaml-ocamldoc \
+ perl \
+ pkgconf \
+ py3-flake8 \
+ python3-dev \
+ qemu \
+ qemu-img \
+ sed \
+ valgrind && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/c++ && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
--
2.32.0