Restrict permissions on quadlet directory
This commit is contained in:
parent
5b40fc2724
commit
6da7a8d562
2 changed files with 6 additions and 0 deletions
|
@ -30,5 +30,8 @@ COPY etc /etc
|
|||
RUN firewall-offline-cmd --set-default-zone public
|
||||
RUN firewall-offline-cmd --remove-service ssh
|
||||
|
||||
# Restrict permissions on quadlet directory
|
||||
RUN chmod 700 /etc/containers/systemd
|
||||
|
||||
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
||||
RUN ostree container commit
|
||||
|
|
|
@ -30,5 +30,8 @@ COPY etc /etc
|
|||
RUN firewall-offline-cmd --set-default-zone public
|
||||
RUN firewall-offline-cmd --remove-service ssh
|
||||
|
||||
# Restrict permissions on quadlet directory
|
||||
RUN chmod 700 /etc/containers/systemd
|
||||
|
||||
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
||||
RUN ostree container commit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue