From 179d4dd493de47104f11b2b6dc6338d6d642c608 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 19 Feb 2023 19:33:01 +0800 Subject: [PATCH] Fixup --- docker/arm32v7/focal/Dockerfile | 5 +---- docker/arm64v8/focal/Dockerfile | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/docker/arm32v7/focal/Dockerfile b/docker/arm32v7/focal/Dockerfile index d969be7..a816aec 100644 --- a/docker/arm32v7/focal/Dockerfile +++ b/docker/arm32v7/focal/Dockerfile @@ -54,10 +54,7 @@ ENV NO_COLOR=1 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 /tmp/ghcup* && \ - ghcup gc -p -s -c -t + ghcup gc -s -c -t ENV PATH /root/.cabal/bin:/root/.ghcup/bin:/root/.local/bin:$PATH diff --git a/docker/arm64v8/focal/Dockerfile b/docker/arm64v8/focal/Dockerfile index 6849a1b..a7704bb 100644 --- a/docker/arm64v8/focal/Dockerfile +++ b/docker/arm64v8/focal/Dockerfile @@ -54,10 +54,7 @@ ENV NO_COLOR=1 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 /tmp/ghcup* && \ - ghcup gc -p -s -c -t + ghcup gc -s -c -t ENV PATH /root/.cabal/bin:/root/.ghcup/bin:/root/.local/bin:$PATH