Add drop-in configuration for bootc service override
Create a drop-in to override the ExecStart command for the bootc-fetch-apply-updates service.
This commit is contained in:
@@ -62,6 +62,11 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||
--mount=type=tmpfs,dst=/tmp \
|
||||
/ctx/build/10-build.sh
|
||||
|
||||
# Erstelle einen "Drop-in" um den Befehl zu überschreiben
|
||||
RUN mkdir -p /etc/systemd/system/bootc-fetch-apply-updates.service.d/ && \
|
||||
echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/bootc upgrade --staged --quiet" > \
|
||||
/etc/systemd/system/bootc-fetch-apply-updates.service.d/override.conf
|
||||
|
||||
### LINTING
|
||||
## Verify final image and contents are correct.
|
||||
RUN bootc container lint
|
||||
|
||||
Reference in New Issue
Block a user