haddock2/Dockerfile
Igor Ranieri 36e1955f06
Some checks failed
Haskell CI / build (pull_request) Failing after 2m50s
Haskell CI / test (pull_request) Has been skipped
Haskell CI / fourmolu (pull_request) Has been skipped
Haskell CI / hlint (pull_request) Has been skipped
Updated dockerfile.
2025-10-05 18:43:21 +02:00

21 lines
531 B
Docker

FROM haskell:9.12.2-slim-bookworm
RUN apt-get update && apt-get install -y \
curl \
git \
libgmp10 \
&& rm -rf /var/lib/apt/lists/*
# Install Node.js
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/*
# Install Haskell tools
RUN cabal update && \
cabal install --install-method=copy --installdir=/usr/local/bin \
fourmolu hlint cabal-gild && \
rm -rf ~/.cabal/packages ~/.cabal/store
WORKDIR /workspace
CMD ["bash"]