Testing dynamic Jenkinsfile
This commit is contained in:
parent
01bdc8d79a
commit
505b48ef8f
|
|
@ -1,8 +1,8 @@
|
||||||
ARG COMPILE_R7RS=chibi
|
ARG COMPILE_R7RS=chibi
|
||||||
FROM schemers/sagittarius AS build
|
FROM schemers/sagittarius AS build
|
||||||
RUN apt-get update && apt-get install -y build-essential git make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev
|
#RUN apt-get update && apt-get install -y build-essential git make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev
|
||||||
RUN git clone https://bitbucket.org/ktakashi/sagittarius-scheme.git --branch=version_0.9.12 --depth=1
|
#RUN git clone https://bitbucket.org/ktakashi/sagittarius-scheme.git --branch=version_0.9.12 --depth=1
|
||||||
RUN cd sagittarius-scheme && ./dist.sh gen && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install
|
#RUN cd sagittarius-scheme && ./dist.sh gen && mkdir build && cd build && 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 \
|
||||||
|
|
@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y \
|
||||||
build-essential \
|
build-essential \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
libmbedtls-dev
|
libmbedtls-dev
|
||||||
COPY --from=build /usr/local /usr/local-other/
|
COPY --from=build /usr/local/* /usr/local/
|
||||||
ENV PATH=${PATH}:/usr/local-other/bin
|
ENV PATH=${PATH}:/usr/local-other/bin
|
||||||
RUN git clone https://github.com/Retropikzel/compile-r7rs.git --depth=1
|
RUN git clone https://github.com/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