diff --git a/docker/alpine32/Dockerfile b/docker/alpine32/Dockerfile index fd6c9aa..6c2a412 100644 --- a/docker/alpine32/Dockerfile +++ b/docker/alpine32/Dockerfile @@ -63,7 +63,7 @@ RUN ghcup config set gpg-setting GPGStrict && \ ghcup --verbose install ghc --isolate=/usr --force ${GHC} && \ ghcup --verbose install cabal --isolate=/usr/bin --force ${CABAL_INSTALL} && \ find "/usr/lib/ghc-${GHC}/" \( -name "*_p.a" -o -name "*.p_hi" \) -type f -delete && \ - rm -r "/usr/share/doc/ghc-${GHC}" && \ + rm -rf "/usr/share/doc/ghc-${GHC}" && \ rm -rf /tmp/ghcup* && \ ghcup gc -p -s -c -t diff --git a/docker/alpine64/Dockerfile b/docker/alpine64/Dockerfile index fe40833..c4152ba 100644 --- a/docker/alpine64/Dockerfile +++ b/docker/alpine64/Dockerfile @@ -64,7 +64,7 @@ RUN ghcup config set gpg-setting GPGStrict && \ ghcup --verbose install ghc --isolate=/usr --force ${GHC} && \ ghcup --verbose install cabal --isolate=/usr/bin --force ${CABAL_INSTALL} && \ find "/usr/lib/ghc-${GHC}/" \( -name "*_p.a" -o -name "*.p_hi" \) -type f -delete && \ - rm -r "/usr/share/doc/ghc-${GHC}" && \ + rm -rf "/usr/share/doc/ghc-${GHC}" && \ rm -rf /tmp/ghcup* && \ ghcup gc -p -s -c -t