FROM debian:testing
 
 RUN apt-get update -y && apt-get install -y build-essential sbcl git zlib1g-dev wget
 RUN mkdir /sbcl-build
 
 RUN git clone git://git.code.sf.net/p/sbcl/sbcl /sbcl-build
 WORKDIR /sbcl-build
 
 RUN ./make.sh --fancy --prefix=/usr/local/ --with-sb-linkable-runtime --with-sb-dynamic-core --arch=x86-64
 RUN ./install.sh
 
 WORKDIR /
 RUN rm -rf /sbcl-build
 RUN apt-get purge -y sbcl
 
 WORKDIR /root
 RUN wget https://beta.quicklisp.org/quicklisp.lisp > quicklisp.lisp
 RUN sbcl --load quicklisp.lisp --eval '(quicklisp-quickstart:install)' --quit
 RUN rm quicklisp.lisp