Skip to content

Instantly share code, notes, and snippets.

@c4droid369
Last active February 17, 2025 08:53
Show Gist options
  • Select an option

  • Save c4droid369/0abbe6375b69ca7ecaba846d6dae19d4 to your computer and use it in GitHub Desktop.

Select an option

Save c4droid369/0abbe6375b69ca7ecaba846d6dae19d4 to your computer and use it in GitHub Desktop.
Building ChezScheme in Docker
# Prepare environment
FROM alpine:latest
RUN sed -i 's#https\?://dl-cdn.alpinelinux.org/alpine#https://mirrors.tuna.tsinghua.edu.cn/alpine#g' /etc/apk/repositories
RUN apk update && \
apk upgrade && \
apk add --no-cache build-base make ncurses-dev git
# Building Chez Scheme
RUN git clone --depth 1 --filter=blob:none https://github.com/cisco/chezscheme /chez
WORKDIR /chez
RUN ./configure \
--prefix=/usr --machine=ta6le \
--disable-x11 --disable-iconv && \
make -j$(nproc) -l$(nproc) && \
make install
WORKDIR /
CMD [ "scheme" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment