lcitool/alpine: workaround bindgen issue

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20250924120426.2158655-15-marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau
2025-09-30 19:33:25 +04:00
parent 4ef07afe8e
commit 2e6d3417aa
2 changed files with 9 additions and 1 deletions
+2
View File
@@ -131,6 +131,8 @@ ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/17463
RUN apk add clang19-libclang
# As a final step configure the user (if env is defined)
ARG USER
ARG UID
+7 -1
View File
@@ -97,6 +97,11 @@ def generate_yaml(os, target, arch, trailer=None):
generate(filename, cmd, trailer)
alpine_extras = [
"# https://gitlab.alpinelinux.org/alpine/aports/-/issues/17463\n",
"RUN apk add clang19-libclang\n",
]
# Netmap still needs to be manually built as it is yet to be packaged
# into a distro. We also add cscope and gtags which are used in the CI
# test
@@ -167,7 +172,8 @@ try:
#
# Standard native builds
#
generate_dockerfile("alpine", "alpine-321")
generate_dockerfile("alpine", "alpine-321",
trailer="".join(alpine_extras))
generate_dockerfile("centos9", "centos-stream-9")
generate_dockerfile("debian", "debian-12",
trailer="".join(debian12_extras))