-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
35 lines (28 loc) · 1 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM ubuntu
RUN apt-get -qq -y update
RUN apt-get -qq -y upgrade
RUN apt-get install -qq -y sbcl make curl git ecl
# Pull down Quicklisp and install it
RUN curl -s -o quicklisp.lisp http:https://beta.quicklisp.org/quicklisp.lisp
RUN ecl --load quicklisp.lisp \
--eval '(quicklisp-quickstart:install :path "/home/janice/quicklisp")' \
--eval '(ql:quickload :1am)'
RUN echo | ecl --load /home/janice/quicklisp/setup.lisp --eval '(ql:add-to-init-file)'
RUN echo | sbcl --load /home/janice/quicklisp/setup.lisp --eval '(ql:add-to-init-file)' --quit
ENV LISP_HOME=/home/janice/quicklisp/local-projects
ENV BINDIR=/home/janice/bin
WORKDIR /home/janice/steelcut
# Run the unit tests:
COPY *.asd *.sh Makefile /home/janice/steelcut/
COPY src /home/janice/steelcut/src
COPY test /home/janice/steelcut/test
# RUN make test-ecl
RUN make clean test
RUN make
RUN mkdir /home/janice/bin
RUN make install
RUN $BINDIR/steelcut foo
WORKDIR /home/janice/quicklisp/local-projects/foo
RUN make
RUN make install
RUN $BINDIR/foo