Split image layers and serialize registry pushes

This commit is contained in:
SubQ committed 2026-12-06 07:24:11 +03:00
1 parent 72bac2d644
commit 8096b3df11
5 files changed
+42 -20

No files matched your search

+15 -8
View File
@@ -8,6 +8,8 @@
#
# Arch Linux is the base because it packages GCC 16 (C++26 reflection),
# CMake 4, the Vulkan SDK pieces and every Void dependency in one repository.
# The install is split into several RUN layers so no single image layer gets
# large enough to upset the container registry.
FROM archlinux:base-devel
LABEL org.opencontainers.image.title="Void CI Vulkan" \
@@ -17,19 +19,27 @@ LABEL org.opencontainers.image.title="Void CI Vulkan" \
ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \
CMAKE_GENERATOR=Ninja \
CCACHE_DIR=/var/cache/ccache \
WINEDEBUG=-all \
WINEDLLOVERRIDES=mscoree,mshtml=
CCACHE_DIR=/var/cache/ccache
RUN pacman -Syu --noconfirm --needed \
RUN pacman -Syu --noconfirm \
&& pacman -S --noconfirm --needed \
base-devel gcc cmake ninja git pkgconf python ccache \
&& pacman -Scc --noconfirm
RUN pacman -S --noconfirm --needed \
vulkan-headers vulkan-icd-loader vulkan-validation-layers vulkan-tools \
mesa vulkan-radeon vulkan-swrast vulkan-mesa-layers \
glslang shaderc shader-slang \
&& pacman -Scc --noconfirm
RUN pacman -S --noconfirm --needed \
glfw gtest boost openssl sqlite libsodium libarchive freetype2 \
libx11 libxcb libxcursor libxrandr libxi libxinerama libxkbcommon \
wayland wayland-protocols \
wine zip unzip jq curl ca-certificates xorg-server-xvfb \
&& pacman -Scc --noconfirm
RUN pacman -S --noconfirm --needed \
zip unzip jq curl ca-certificates xorg-server-xvfb \
&& pacman -Scc --noconfirm
RUN git config --system --add safe.directory '*' \
@@ -40,7 +50,4 @@ RUN git config --system --add safe.directory '*' \
USER builder
WORKDIR /home/builder
# Warm a 64-bit Wine prefix so Windows cross tests do not initialise it per job.
RUN wineboot --init >/dev/null 2>&1 || true; wineserver -w || true
CMD ["/bin/bash"]