Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit c1cf07c

Browse files
committed
remove default /etc/idmapd.conf from the image to prevent unintended start of rpc.idmapd
1 parent 5ac0707 commit c1cf07c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44

55
FROM debian:stable
66

7+
# kmod is required for lsmod
8+
# libcap2-bin is required for checking capabilities
79
RUN apt-get update && \
810
apt-get install -y --no-install-recommends nfs-kernel-server kmod libcap2-bin && \
911
apt-get clean && \
10-
rm -rf /var/lib/apt/lists
12+
rm -rf /var/lib/apt/lists && \
13+
rm /etc/idmapd.conf # remove the default idmapd.conf
1114

1215
ADD ./entrypoint.sh /usr/local/bin
1316
RUN chmod +x /usr/local/bin/entrypoint.sh

0 commit comments

Comments
 (0)