Adding docker build and push to Jenkins
This commit is contained in:
parent
f0c3fb9b4d
commit
24e98123d3
|
@ -1,4 +1,4 @@
|
|||
FROM schemers/chibi:head
|
||||
FROM docker.io/debian:trixie
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential \
|
||||
ca-certificates \
|
||||
|
@ -6,15 +6,17 @@ RUN apt-get update && apt-get install -y \
|
|||
make \
|
||||
docker.io \
|
||||
libffi-dev \
|
||||
pandoc
|
||||
pandoc \
|
||||
chicken-bin
|
||||
RUN chicken-install r7rs
|
||||
RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1
|
||||
RUN cd chibi-scheme && make -j 16 && make -j 16 install
|
||||
RUN snow-chibi install --always-yes "(foreign c)"
|
||||
RUN snow-chibi install --always-yes "(srfi 170)"
|
||||
RUN snow-chibi install --always-yes --impls=chicken "(foreign c)"
|
||||
RUN snow-chibi install --always-yes --impls=chicken "(srfi 170)"
|
||||
WORKDIR /builddir
|
||||
COPY Makefile .
|
||||
COPY compile-r7rs.scm .
|
||||
COPY libs/ libs/
|
||||
RUN make && make install
|
||||
RUN make build-static && make install
|
||||
WORKDIR /workdir
|
||||
RUN mkdir -p ${HOME}/.snow && echo "()" > ${HOME}/.snow/config.scm
|
||||
|
|
Loading…
Reference in New Issue