Bring things to new compile-r7rs

This commit is contained in:
2025-07-19 12:28:19 +03:00
parent 1b49431a3e
commit 306533561d
3 changed files with 24 additions and 21 deletions
+20 -17
View File
@@ -1,25 +1,28 @@
ARG SCHEME=chibi
FROM debian:bookworm AS build
RUN apt-get update && apt-get install -y git make chicken-bin build-essential
RUN chicken-install r7rs
RUN git clone https://github.com/Retropikzel/compile-r7rs.git --depth=1
RUN ls
RUN cd compile-r7rs && make && make install
FROM schemers/chibi:head AS build
RUN apt-get update && apt-get install -y \
ca-certificates \
git \
make \
build-essential
RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1
RUN cd chibi-scheme && make -j 32
RUN git clone https://gitea.scheme.org/Retropikzel/compile-r7rs.git --depth=1
RUN cd compile-r7rs --branch=retropikzel-dependency-fixes && make
ARG SCHEME=chibi
FROM schemers/${SCHEME}:head
RUN apt-get update && apt-get install -y \
build-essential \
git \
make \
libffi8 \
libgc1 \
libssl3 \
libuv1 \
build-essential \
libffi-dev \
libmbedtls-dev
COPY --from=build /usr/local/bin/compile-r7rs /usr/local/bin/compile-r7rs
build-essential \
git \
ca-certificates \
make \
libffi-dev
RUN mkdir ${HOME}/.snow && echo "()" > ${HOME}/.snow/config.scm
COPY --from=build /chibi-scheme /chibi-scheme
RUN cd /chibi-scheme && make -j 8 install
COPY --from=build /compile-r7rs /compile-r7rs
RUN cd /compile-r7rs && make install
ARG SCHEME=chibi
ENV COMPILE_R7RS=${SCHEME}
RUN mkdir -p ${HOME}/.snow && echo "()" > ${HOME}/.snow/config.scm