minor improvements in the Dockerfile

This commit is contained in:
Balazs Komuves 2023-11-28 16:45:12 +01:00
parent 8b52621e14
commit fa4f5313df
No known key found for this signature in database
GPG Key ID: F63B7AEF18435562

6
base-image/Dockerfile Executable file → Normal file
View File

@ -85,12 +85,10 @@ RUN cd /tmp && \
BOOTSTRAP_HASKELL_NONINTERACTIVE=1 sh ./install_ghcup && \
source /root/.ghcup/env && \
echo -e "\nsource /root/.ghcup/env" >>$HOME/.bashrc && \
ghcup --version >/zk/versions/ghcup.txt
ghcup --version >/zk/versions/ghcup.txt && \
rm /tmp/install_ghcup
RUN source /root/.ghcup/env && \
ghc --version >/zk/versions/ghc.txt && \
cabal --version >/zk/versions/cabal.txt && \
rm /tmp/install_ghcup && \
ghcup upgrade && \
ghcup install cabal 2.4.1.0 && \
ghcup set cabal 2.4.1.0 && \