Update build scripts in Containerfile
Replace 10-build.sh with 10-repos.sh and add additional build scripts for multimedia, virtualization, and Steam.
This commit is contained in:
+25
-2
@@ -60,9 +60,32 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
|||||||
--mount=type=cache,dst=/var/cache \
|
--mount=type=cache,dst=/var/cache \
|
||||||
--mount=type=cache,dst=/var/log \
|
--mount=type=cache,dst=/var/log \
|
||||||
--mount=type=tmpfs,dst=/tmp \
|
--mount=type=tmpfs,dst=/tmp \
|
||||||
/ctx/build/10-build.sh
|
/ctx/build/10-repos.sh
|
||||||
|
|
||||||
|
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||||
|
--mount=type=cache,dst=/var/cache \
|
||||||
|
--mount=type=cache,dst=/var/log \
|
||||||
|
--mount=type=tmpfs,dst=/tmp \
|
||||||
|
/ctx/build/20-multimedia.sh
|
||||||
|
|
||||||
|
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||||
|
--mount=type=cache,dst=/var/cache \
|
||||||
|
--mount=type=cache,dst=/var/log \
|
||||||
|
--mount=type=tmpfs,dst=/tmp \
|
||||||
|
/ctx/build/30-virt.sh
|
||||||
|
|
||||||
|
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||||
|
--mount=type=cache,dst=/var/cache \
|
||||||
|
--mount=type=cache,dst=/var/log \
|
||||||
|
--mount=type=tmpfs,dst=/tmp \
|
||||||
|
/ctx/build/40-steam.sh
|
||||||
|
|
||||||
|
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||||
|
--mount=type=cache,dst=/var/cache \
|
||||||
|
--mount=type=cache,dst=/var/log \
|
||||||
|
--mount=type=tmpfs,dst=/tmp \
|
||||||
|
/ctx/build/50-remove packages and enable Services.sh
|
||||||
|
|
||||||
# Nach dem Ausführen von 10-build.sh:
|
|
||||||
# Deklaration der Verzeichnisse für systemd-tmpfiles, um bootc-Linting-Warnungen zu vermeiden.
|
# Deklaration der Verzeichnisse für systemd-tmpfiles, um bootc-Linting-Warnungen zu vermeiden.
|
||||||
# Dies stellt sicher, dass /var/lib/dnf und /var/lib/rpm beim Booten sauber existieren.
|
# Dies stellt sicher, dass /var/lib/dnf und /var/lib/rpm beim Booten sauber existieren.
|
||||||
RUN mkdir -p /etc/tmpfiles.d/ && \
|
RUN mkdir -p /etc/tmpfiles.d/ && \
|
||||||
|
|||||||
Reference in New Issue
Block a user