You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
718 B
Plaintext
24 lines
718 B
Plaintext
5 years ago
|
FROM debian:buster
|
||
|
|
||
4 years ago
|
ENV CHICKEN_VERSION 5.2.0
|
||
5 years ago
|
ENV PLATFORM linux
|
||
|
|
||
4 years ago
|
RUN set -eux; \
|
||
|
apt-get update; \
|
||
|
apt-get install -y wget build-essential; \
|
||
|
wget -qO- https://code.call-cc.org/releases/${CHICKEN_VERSION}/chicken-${CHICKEN_VERSION}.tar.gz | tar xzv; \
|
||
|
cd /chicken-${CHICKEN_VERSION}; \
|
||
|
make PLATFORM=${PLATFORM}; \
|
||
|
make PLATFORM=${PLATFORM} install; \
|
||
|
make PLATFORM=${PLATFORM} check; \
|
||
|
cd /; \
|
||
5 years ago
|
rm -rf /chicken-${CHICKEN_VERSION}
|
||
|
|
||
|
# install project assembly tool
|
||
|
COPY chicken-assemble.scm /usr/bin/chicken-assemble
|
||
|
RUN chicken-install clojurian:3 \
|
||
|
records \
|
||
|
srfi-1 \
|
||
|
srfi-69 && \
|
||
|
chmod a+x /usr/bin/chicken-assemble
|