Created
February 9, 2024 15:29
-
-
Save presci/5ca29720ee4c7a4e73d6799b79935400 to your computer and use it in GitHub Desktop.
Dockerfile for haskell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker run -i -t -v /Users/piyer1/workspace/haskell:/tmp/app debian
docker build -t debian .