-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
39 lines (32 loc) · 993 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
29
30
31
32
33
34
35
36
37
38
39
FROM ubuntu:14.04
MAINTAINER Erik Edrosa <[email protected]>
ENV LIBUV_VERSION v1.5.0
ENV LIBUV_DIR libuv-$LIBUV_VERSION
ENV LIBUV_ARCHIVE $LIBUV_DIR.tar.gz
ENV LANG C.UTF-8
RUN apt-get update && apt-get install -y \
sbcl \
curl \
make \
automake \
libtool \
gcc
WORKDIR /tmp/
# download and build libuv for wookie
RUN mkdir -p libuv \
&& cd libuv \
&& curl -sLO http://dist.libuv.org/dist/$LIBUV_VERSION/$LIBUV_ARCHIVE \
&& tar xf $LIBUV_ARCHIVE \
&& rm $LIBUV_ARCHIVE \
&& cd $LIBUV_DIR \
&& ./autogen.sh \
&& ./configure \
&& make \
&& make install \
&& rm -rf libuv
# download and install quicklisp
RUN curl -sO https://beta.quicklisp.org/quicklisp.lisp \
&& echo "(load \"quicklisp.lisp\") (quicklisp-quickstart:install :path \"/opt/quicklisp\") (ql::without-prompting (ql:add-to-init-file))" | sbcl \
&& cp $HOME/.sbclrc /etc/sbclrc
# download and install wookie
RUN echo "(ql:quickload :wookie)" | sbcl