Created
February 28, 2023 23:58
-
-
Save gramian/d57db7688007bd50ed789c6ab20de5b2 to your computer and use it in GitHub Desktop.
Chicken Scheme Dockerfile
This file contains hidden or 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
## Chicken Scheme Dockerfile | |
# Build: docker build -t chicken:latest . | |
# Usage: docker run -it chicken | |
FROM alpine:latest | |
RUN apk add --no-cache chicken | |
RUN chicken-install linenoise | |
# RUN chicken-install other-egg | |
RUN adduser -D -g '' chicken | |
USER chicken | |
WORKDIR /home/chicken | |
RUN echo "(import linenoise) (current-input-port (make-linenoise-port))" > /home/chicken/.csirc | |
ENTRYPOINT csi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment