### Quickref --- Docker file for Quickref ## Copyright (C) 2018 EPITA Research and Development Laboratory ## Author: Antoine Martin ## Maintainers: Antoine Martin and Didier Verna ## Contact: Quickref Maintainers ## This file is part of Quickref. ## Permission to use, copy, modify, and distribute this software for any ## purpose with or without fee is hereby granted, provided that the above ## copyright notice and this permission notice appear in all copies. ## THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES ## WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ## ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ## WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ## ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF ## OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. FROM quickref/buildenv # Quickref User RUN useradd -m -s /bin/bash quickref \ && chown -R quickref:quickref /home/quickref WORKDIR /home/quickref USER quickref # Common Lisp Packages RUN mkdir common-lisp \ && cd common-lisp \ && git clone --depth 1 https://github.com/didierverna/declt \ && git clone --depth 1 https://gitlab.common-lisp.net/quickref/quickref \ && git clone --depth 1 https://gitlab.common-lisp.net/asdf/asdf \ && cd .. # Quicklisp RUN wget https://beta.quicklisp.org/quicklisp.lisp \ && /usr/local/bin/sbcl --non-interactive \ --load quicklisp.lisp \ --eval '(quicklisp-quickstart:install)' \ --eval '(ql-util:without-prompting (ql:add-to-init-file))' \ && rm -rf .cache/common-lisp quicklisp.lisp # Entry Point CMD /usr/local/bin/sbcl --non-interactive \ --eval '(ql:quickload :fr.epita.lrde.quickref)' \ --eval '(fr.epita.lrde.quickref:build)' ### Quickref ends here