Skip to content

Instantly share code, notes, and snippets.

@ed-flanagan
Last active October 2, 2021 00:29
Show Gist options
  • Save ed-flanagan/59d782ad4224e67743a86f4359f16ab6 to your computer and use it in GitHub Desktop.
Save ed-flanagan/59d782ad4224e67743a86f4359f16ab6 to your computer and use it in GitHub Desktop.
Dockerfile example for Racket & SICP package
FROM debian:bullseye-slim
RUN \
apt-get update \
&& apt-get install --yes --no-install-recommends \
ca-certificates \
libjpeg62-turbo \
libpangocairo-1.0-0 \
openssl \
racket \
racket-doc \
sqlite3 \
&& rm -rf /var/lib/apt/lists/*
RUN \
raco setup --doc-index --force-user-docs \
&& raco pkg install --auto --batch --fail-fast sicp
ENTRYPOINT ["racket", "-I", "sicp"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment