From bee3e90155df49ad680dcc1d5596632cc78c5029 Mon Sep 17 00:00:00 2001 From: xZero707 Date: Mon, 3 Apr 2023 22:41:11 +0200 Subject: [PATCH] Use Alpine 3.17 as base and fix ehough/docker-nfs-server#80 In Alpine 3.17, capsh is provided by package libcap-utils, so installing nfs-utils alone is not enough --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cd190c2..b78bfc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -ARG BUILD_FROM=alpine:latest +ARG BUILD_FROM=alpine:3.17 FROM $BUILD_FROM -RUN apk --update --no-cache add bash nfs-utils && \ +RUN apk --update --no-cache add bash libcap-utils nfs-utils && \ \ # remove the default config files rm -v /etc/idmapd.conf /etc/exports