-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
28 lines (25 loc) · 837 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
25
26
27
28
# Based partly on https://github.com/davazp/docker-sbcl
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
curl \
libncurses5-dev \
sbcl \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir /quicklisp
WORKDIR /quicklisp
RUN curl -O https://beta.quicklisp.org/quicklisp.lisp
RUN echo '(load "quicklisp.lisp") \
(quicklisp-quickstart:install) \
(ql::without-prompting \
(ql:add-to-init-file)) \
(ql:quickload "cl-charms") \
' > install-quicklisp.lisp
RUN sbcl --load install-quicklisp.lisp
# Using ~/common-lisp means ASDF will automatically find it
RUN mkdir -p /root/common-lisp/cl-rogue
WORKDIR /root/common-lisp/cl-rogue
COPY /etc/*.lisp *.lisp *.asd ./
RUN sbcl --load load-rogue.lisp
ENTRYPOINT sbcl --load run-rogue.lisp