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"]