https://github.com/thma/alpinehaskell
an Alpine based docker image providing all runtime libs required by Haskell programs at runtime.
https://github.com/thma/alpinehaskell
Last synced: 9 months ago
JSON representation
an Alpine based docker image providing all runtime libs required by Haskell programs at runtime.
- Host: GitHub
- URL: https://github.com/thma/alpinehaskell
- Owner: thma
- License: apache-2.0
- Created: 2018-04-21T20:03:42.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:33:40.000Z (over 2 years ago)
- Last Synced: 2025-02-09T17:32:50.179Z (over 1 year ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AlpineHaskell
an Alpine based docker image providing all runtime libs required by Haskell programs at runtime.
## basic idea
The basic idea behind this project is to provide a streamlined docker image that provides
all runtime infrastructure required by Haskell applications but maintains a small footprint (< 9 MB).
After building the AlpineHaskell image you can derive runtime images for your haskell applications as shown in the following
example Dockerfile:
```
FROM alpine-haskell
# copy the actual executable
COPY ./.stack-work/install/x86_64-linux-nopie/lts-11.2/8.2.2/bin/HsWiki /hswiki
# add further application specific configuration
# create content mountpoint
RUN mkdir content
# expose http port to outside world
EXPOSE 3000
# startup the server
CMD ["/hswiki"]
```