Run rpm-ostree via nsenter
ContainerImages/cfg/pipeline/head This commit looks good Details

Pre-configuration scripts may need to install packages on the host using
`rpm-ostree`.
main
Dustin 2024-01-28 12:26:32 -06:00
parent c068619c8a
commit 865858cf5f
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ RUN --mount=type=cache,target=/var/cache \
&& ln -snf /host/etc/passwd /etc/passwd \
&& ln -snf /host/etc/group /etc/group \
&& for cmd in \
rpm-ostree \
systemctl \
systemd-sysusers \
; do ln -s nsenter.sh /usr/local/bin/${cmd}; done \