Fixes for snow-chibi
This commit is contained in:
parent
51349f0d75
commit
7fbc877068
|
@ -10,7 +10,7 @@ RUN cd chibi-scheme && make DESTDIR=/opt/compile-r7rs/chibi all
|
||||||
RUN cd chibi-scheme && make DESTDIR=/opt/compile-r7rs/chibi install
|
RUN cd chibi-scheme && make DESTDIR=/opt/compile-r7rs/chibi install
|
||||||
RUN mkdir -p /opt/compile-r7rs/bin
|
RUN mkdir -p /opt/compile-r7rs/bin
|
||||||
RUN echo "#!/bin/sh" > /opt/compile-r7rs/bin/snow-chibi
|
RUN echo "#!/bin/sh" > /opt/compile-r7rs/bin/snow-chibi
|
||||||
RUN echo "PATH=${PATH}:/opt/compile-r7rs/chibi/usr/local/bin CHIBI_MODULE_PATH=/opt/compile-r7rs/chibi/usr/local/share/chibi:/opt/compile-r7rs/chibi/usr/local/lib/chibi LD_LIBRARY_PATH=/opt/compile-r7rs/chibi/usr/local/lib exec chibi-scheme -mchibi.snow.commands -mchibi.snow.interface -mchibi.snow.package -mchibi.snow.utils /opt/compile-r7rs/chibi/usr/local/bin/snow-chibi.scm \"\$@\"" >> /opt/compile-r7rs/bin/snow-chibi
|
RUN echo "PATH=${PATH}:/opt/compile-r7rs/chibi/usr/local/bin CHIBI_MODULE_PATH=/opt/compile-r7rs/chibi/usr/local/share/chibi:/opt/compile-r7rs/chibi/usr/local/lib/chibi LD_LIBRARY_PATH=/opt/compile-r7rs/chibi/usr/local/lib exec /opt/compile-r7rs/chibi/usr/local/bin/chibi-scheme -mchibi.snow.commands -mchibi.snow.interface -mchibi.snow.package -mchibi.snow.utils /opt/compile-r7rs/chibi/usr/local/bin/snow-chibi.scm \"\$@\"" >> /opt/compile-r7rs/bin/snow-chibi
|
||||||
RUN chmod +x /opt/compile-r7rs/bin/snow-chibi
|
RUN chmod +x /opt/compile-r7rs/bin/snow-chibi
|
||||||
ENV SCHEME=chicken
|
ENV SCHEME=chicken
|
||||||
RUN snow-chibi --impls=${SCHEME} --always-yes install "(foreign c)"
|
RUN snow-chibi --impls=${SCHEME} --always-yes install "(foreign c)"
|
||||||
|
|
|
@ -18,4 +18,4 @@ FROM schemers/${IMAGE}
|
||||||
COPY --from=build /var/cache/apt/archives /debs
|
COPY --from=build /var/cache/apt/archives /debs
|
||||||
RUN dpkg -i /debs/*.deb
|
RUN dpkg -i /debs/*.deb
|
||||||
COPY --from=local-build-compile-r7rs /opt/compile-r7rs /opt/compile-r7rs
|
COPY --from=local-build-compile-r7rs /opt/compile-r7rs /opt/compile-r7rs
|
||||||
ENV PATH=${PATH}:/opt/compile-r7rs/bin
|
ENV PATH=/opt/compile-r7rs/bin:${PATH}
|
||||||
|
|
Loading…
Reference in New Issue