Speed up tests
This commit is contained in:
parent
48a31e5c88
commit
a54bc367b0
|
|
@ -1,25 +1,22 @@
|
||||||
|
ARG SCHEME=chibi
|
||||||
|
ARG IMAGE=chibi:head
|
||||||
|
FROM docker.io/debian:trixie-slim AS local-chibi
|
||||||
|
RUN apt-get update && apt-get install -y git ca-certificates make gcc libc-dev
|
||||||
|
#RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1
|
||||||
|
RUN git clone https://github.com/Retropikzel/chibi-scheme.git --branch gauche-fixes --depth=1
|
||||||
|
RUN cd chibi-scheme && make DESTDIR=/opt/chibi -j16 && make DESTDIR=/opt/chibi -j16 install
|
||||||
|
|
||||||
ARG SCHEME=chibi
|
ARG SCHEME=chibi
|
||||||
ARG IMAGE=chibi:head
|
ARG IMAGE=chibi:head
|
||||||
FROM docker.io/schemers/${IMAGE}
|
FROM docker.io/schemers/${IMAGE}
|
||||||
RUN apt-get update && apt-get install \
|
RUN apt-get update && apt-get install -y make pandoc libffi-dev
|
||||||
--no-install-suggests \
|
COPY --from=local-chibi /opt/chibi /opt/chibi
|
||||||
--no-install-recommends \
|
|
||||||
-y \
|
|
||||||
gcc \
|
|
||||||
libc6-dev \
|
|
||||||
make \
|
|
||||||
libffi-dev \
|
|
||||||
pandoc \
|
|
||||||
libmbedtls-dev \
|
|
||||||
tree \
|
|
||||||
git \
|
|
||||||
ca-certificates
|
|
||||||
RUN mkdir -p ${HOME}/.snow && echo "()" > ${HOME}/.snow/config.scm
|
|
||||||
#RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1
|
|
||||||
RUN git clone https://github.com/Retropikzel/chibi-scheme.git --branch gauche-fixes
|
|
||||||
RUN cd chibi-scheme && make && make install
|
|
||||||
COPY --from=docker.io/retropikzel1/compile-r7rs /opt/compile-r7rs /opt/compile-r7rs
|
COPY --from=docker.io/retropikzel1/compile-r7rs /opt/compile-r7rs /opt/compile-r7rs
|
||||||
ENV PATH=/opt/compile-r7rs/bin:${PATH}
|
|
||||||
ARG SCHEME=chibi
|
ARG SCHEME=chibi
|
||||||
ENV COMPILE_R7RS=${SCHEME}
|
ENV COMPILE_R7RS=${SCHEME}
|
||||||
ENV GUILE_AUTO_COMPILE=0
|
ENV GUILE_AUTO_COMPILE=0
|
||||||
|
RUN mkdir -p ${HOME}/.snow && echo "()" > ${HOME}/.snow/config.scm
|
||||||
|
ENV CHIBI_MODULE_PATH=/opt/chibi/usr/local/share/chibi:/opt/chibi/usr/local/lib/chibi
|
||||||
|
ENV LD_LIBRARY_PATH=/opt/chibi/usr/local/lib:/opt/chibi/usr/local/lib/chibi
|
||||||
|
ENV PATH=/opt/compile-r7rs/bin:/opt/chibi/usr/local/bin:${PATH}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue