Last active
February 17, 2025 08:53
-
-
Save c4droid369/0abbe6375b69ca7ecaba846d6dae19d4 to your computer and use it in GitHub Desktop.
Building ChezScheme in Docker
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
| # 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