Skip to content

Instantly share code, notes, and snippets.

@presci
Created February 9, 2024 15:29
Show Gist options
  • Save presci/5ca29720ee4c7a4e73d6799b79935400 to your computer and use it in GitHub Desktop.
Save presci/5ca29720ee4c7a4e73d6799b79935400 to your computer and use it in GitHub Desktop.
Dockerfile for haskell
FROM debian:bullseye-slim
RUN mkdir -p /usr/share/man/man1
# Update packages and install dependencies
RUN apt-get update && apt-get -y install \
git \
ca-certificates \
bash \
vim \
gawk sed grep bc coreutils wget zip \
make wget curl
RUN apt-get update
RUN apt-get -y install haskell-platform
RUN apt-get update
RUN apt-get install -y ghc
RUN apt install lua5.3
RUN apt-get update
RUN apt-get install -y nodejs
RUN mkdir -p /tmp/app
WORKDIR /tmp/app
RUN mkdir -p /tmp/rustlings
CMD ["bash"]
@presci
Copy link
Author

presci commented Feb 9, 2024

docker run -i -t -v /Users/piyer1/workspace/haskell:/tmp/app debian
docker build -t debian .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment