-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
24 lines (17 loc) · 725 Bytes
/
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
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
WORKDIR /home/janice/cl-oju
# Run the unit tests:
COPY . /home/janice/cl-oju
RUN make test-ecl
RUN make test