Switch to new compile-r7rs
This commit is contained in:
parent
cb06ceb1bd
commit
bfd1e0b241
|
|
@ -1,11 +1,4 @@
|
||||||
ARG COMPILE_R7RS=chibi
|
ARG COMPILE_R7RS=chibi
|
||||||
FROM schemers/sagittarius AS build
|
|
||||||
RUN apt-get update && apt-get install -y wget build-essential make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev git
|
|
||||||
RUN git clone https://github.com/Retropikzel/chibi-scheme.git --branch=snow-chibi-foreign-depends
|
|
||||||
RUN cd chibi-scheme && make PREFIX=/usr/local-other && make PREFIX=/usr/local-other install
|
|
||||||
RUN wget https://github.com/ktakashi/sagittarius-scheme/releases/download/v0.9.13/sagittarius-0.9.13.tar.gz && tar -xf sagittarius-0.9.13.tar.gz
|
|
||||||
RUN cd sagittarius-0.9.13 && ./dist.sh gen && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other && make && make install
|
|
||||||
|
|
||||||
FROM schemers/${COMPILE_R7RS}
|
FROM schemers/${COMPILE_R7RS}
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
|
@ -19,10 +12,9 @@ RUN apt-get update && apt-get install -y \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
libmbedtls-dev \
|
libmbedtls-dev \
|
||||||
markdown
|
markdown
|
||||||
COPY --from=build /usr/local-other /usr/local-other
|
RUN git clone https://github.com/Retropikzel/chibi-scheme.git --branch=snow-chibi-foreign-depends
|
||||||
RUN ln -sf /usr/local/bin/chibi-scheme /usr/local/bin/chibi
|
RUN cd chibi-scheme && make && make install
|
||||||
RUN rm -rf /usr/local/bin/snow-chibi
|
RUN chicken-install r7rs
|
||||||
ENV PATH=${PATH}:/usr/local-other/bin
|
|
||||||
RUN git clone https://gitea.scheme.org/Retropikzel/compile-r7rs.git --depth=1
|
RUN git clone https://gitea.scheme.org/Retropikzel/compile-r7rs.git --depth=1
|
||||||
RUN cd compile-r7rs && make && make install
|
RUN cd compile-r7rs && make && make install
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue