Skip to content

Commit 746bb43

Browse files
authored
Merge pull request #87 from wjunLu/main
Remove `selinux-policy` to disable selinux
2 parents a8844b8 + cb59af3 commit 746bb43

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
* Carlos Felipe S Pinheiro <felpin1@gmail.com>
1010
* Zach Mance <zachary.mance@gmail.com>
1111
* Timothy Middelkoop <tmiddelkoop@internet2.edu>
12+
* wjunlu <wjunlu217@gmail.com>

openeuler-24.03/Containerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ RUN dnf install -y --allowerasing \
3232
which \
3333
words \
3434
rdma-core \
35+
&& dnf remove -y selinux-policy \
3536
&& dnf clean all
3637

38+
# remove unused dynamic system user
39+
RUN userdel systemd-coredump
40+
3741
COPY excludes /etc/warewulf/
3842
COPY container_exit.sh /etc/warewulf/
3943
RUN chmod +x /etc/warewulf/container_exit.sh
@@ -44,4 +48,4 @@ CMD [ "/bin/echo", "-e", \
4448
"This image is intended to be used with the Warewulf cluster management and", \
4549
"\nprovisioning system.", \
4650
"\n", \
47-
"\nFor more information about Warewulf, visit https://warewulf.org" ]
51+
"\nFor more information about Warewulf, visit https://warewulf.org" ]

0 commit comments

Comments
 (0)