Removing unnecessary selinux stuff
This commit is contained in:
@@ -14,21 +14,6 @@ FROM quay.io/fedora/fedora-silverblue:42
|
||||
|
||||
COPY --from=builder /gocryptfs/gocryptfs /usr/bin/gocryptfs
|
||||
|
||||
# Set up custom SELinux policies
|
||||
#COPY synapse.te /tmp/synapse.te
|
||||
#COPY benZfsSnapshotAutomount.te /tmp/benZfsSnapshotAutomount.te
|
||||
#RUN checkmodule -M -m -o /tmp/synapse.mod /tmp/synapse.te \
|
||||
# && semodule_package -o /tmp/synapse.pp -m /tmp/synapse.mod \
|
||||
# && semodule -r synapse || true \
|
||||
# && semodule -i /tmp/synapse.pp \
|
||||
# && rm -f /tmp/synapse.{te,mod,pp} \
|
||||
# && checkmodule -M -m -o /tmp/benZfsSnapshotAutomount.mod /tmp/benZfsSnapshotAutomount.te \
|
||||
# && semodule_package -o /tmp/benZfsSnapshotAutomount.pp -m /tmp/benZfsSnapshotAutomount.mod \
|
||||
# && semodule -r benZfsSnapshotAutomount || true \
|
||||
# && semodule -i /tmp/benZfsSnapshotAutomount.pp \
|
||||
# && rm -f /tmp/benZfsSnapshotAutomount.{te,mod,pp}
|
||||
|
||||
|
||||
# Install ZFS repository
|
||||
RUN dnf install -y https://github.com/zfsonlinux/zfsonlinux.github.com/raw/master/fedora/zfs-release-2-8$(rpm --eval "%{dist}").noarch.rpm && \
|
||||
# cleanup and verification stage
|
||||
@@ -89,7 +74,8 @@ RUN dnf install -y \
|
||||
stress-ng \
|
||||
telnet \
|
||||
vim \
|
||||
zrepl-v0.6.0-1.x86_64
|
||||
zrepl-v0.6.0-1.x86_64 \
|
||||
&& dnf clean all
|
||||
|
||||
# Cleanup image for linting
|
||||
RUN test -f /usr/lib/sysusers.d/libvirt.conf || echo -e 'g libvirt 963' > /usr/lib/sysusers.d/libvirt.conf && \
|
||||
|
||||
Reference in New Issue
Block a user