Skip to content

Instantly share code, notes, and snippets.

@gramian
Created February 28, 2023 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gramian/d57db7688007bd50ed789c6ab20de5b2 to your computer and use it in GitHub Desktop.
Save gramian/d57db7688007bd50ed789c6ab20de5b2 to your computer and use it in GitHub Desktop.
Chicken Scheme Dockerfile
## 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