Skip to content

Commit

Permalink
Use -rf when deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
xZero707 committed Apr 4, 2023
1 parent a2bd19c commit e69ea5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FROM alpine:3.15
# http://wiki.linux-nfs.org/wiki/index.php/Nfsv4_configuration
RUN set -eux \
&& apk --update --no-cache add bash nfs-utils \
&& rm -v /etc/idmapd.conf /etc/exports \
&& rm -rfv /etc/idmapd.conf /etc/exports \
&& mkdir -p /var/lib/nfs/rpc_pipefs \
&& mkdir -p /var/lib/nfs/v4recovery \
&& echo "rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs defaults 0 0" >> /etc/fstab \
Expand Down

0 comments on commit e69ea5a

Please sign in to comment.