Apply hardened firewall configuration
This commit is contained in:
parent
bd5ff059ca
commit
5b40fc2724
2 changed files with 8 additions and 0 deletions
|
@ -26,5 +26,9 @@ RUN dnf5 -y remove bash-color-prompt
|
||||||
# Apply configuration
|
# Apply configuration
|
||||||
COPY etc /etc
|
COPY etc /etc
|
||||||
|
|
||||||
|
# Apply hardened firewall configuration
|
||||||
|
RUN firewall-offline-cmd --set-default-zone public
|
||||||
|
RUN firewall-offline-cmd --remove-service ssh
|
||||||
|
|
||||||
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
||||||
RUN ostree container commit
|
RUN ostree container commit
|
||||||
|
|
|
@ -26,5 +26,9 @@ RUN dnf5 -y remove bash-color-prompt
|
||||||
# Apply configuration
|
# Apply configuration
|
||||||
COPY etc /etc
|
COPY etc /etc
|
||||||
|
|
||||||
|
# Apply hardened firewall configuration
|
||||||
|
RUN firewall-offline-cmd --set-default-zone public
|
||||||
|
RUN firewall-offline-cmd --remove-service ssh
|
||||||
|
|
||||||
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
||||||
RUN ostree container commit
|
RUN ostree container commit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue