diff --git a/dockerfiles/Dockerfile.snow-chibi-install-test b/dockerfiles/Dockerfile.snow-chibi-install-test index d80661f..335adee 100644 --- a/dockerfiles/Dockerfile.snow-chibi-install-test +++ b/dockerfiles/Dockerfile.snow-chibi-install-test @@ -1,3 +1,10 @@ +FROM debian:bookworm-slim AS build +RUN apt-get update && apt-get install -y \ + chicken-bin +RUN chicken-install r7rs +RUN git clone https://gitea.scheme.org/Retropikzel/compile-r7rs.git --depth=1 +RUN cd compile-r7rs && make && make install + ARG SCHEME=chibi FROM schemers/${SCHEME} RUN apt-get update && apt-get install -y \ @@ -13,13 +20,11 @@ RUN apt-get update && apt-get install -y \ libmbedtls-dev \ markdown \ pandoc \ - weasyprint \ - chicken-bin + weasyprint +COPY --from=build /usr/local/ /usr/local-other +ENV PATH=/usr/local-other:${PATH} RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1 RUN cd chibi-scheme && make && make install -RUN chicken-install r7rs -RUN git clone https://gitea.scheme.org/Retropikzel/compile-r7rs.git --depth=1 -RUN cd compile-r7rs && make && make install ARG SCHEME=chibi ENV COMPILE_R7RS=${SCHEME} RUN mkdir -p ${HOME}/.snow && echo "()" > ${HOME}/.snow/config.scm