improve build script to install docker

This commit is contained in:
Niklas Haiden
2025-10-05 17:58:40 +02:00
parent 6b1583437c
commit 209a36f816
2 changed files with 3 additions and 3 deletions
+3 -1
View File
@@ -1,10 +1,12 @@
FROM scratch AS ctx
COPY build.sh /build.sh
COPY repos /repos
FROM quay.io/centos-bootc/centos-bootc:c10s
COPY repos/docker-ce.repo /etc/yum.repos.d/docker-ce.repo
RUN --mount=type=tmpfs,dst=/var \
--mount=type=tmpfs,dst=/tmp \
--mount=type=tmpfs,dst=/boot \