Created
June 30, 2018 02:13
-
-
Save ebzzry/617e28950b932aa98dece282767bd2bc to your computer and use it in GitHub Desktop.
Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM nixos/nix | |
MAINTAINER Rommel Martinez <ebzzry@ebzzry.io> | |
RUN nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs | |
RUN nix-channel --update | |
RUN nix-env -iA nixpkgs.git nixpkgs.sbcl nixpkgs.gnumake nixpkgs.curl nixpkgs.cl-launch nixpkgs.bzip2 nixpkgs.nix-prefetch-scripts | |
RUN mkdir -p ~/common-lisp | |
RUN git clone https://github.com/fare/asdf ~/common-lisp/asdf | |
RUN git clone https://github.com/ebzzry/baf ~/common-lisp/baf | |
RUN curl -O https://beta.quicklisp.org/quicklisp.lisp | |
RUN sbcl --load quicklisp.lisp --eval '(quicklisp-quickstart:install)' --eval '(let ((ql-util::*do-not-prompt* t)) (ql:add-to-init-file) (ql:quickload :cl-launch) (sb-ext:quit))' | |
RUN make -C ~/common-lisp/baf | |
ENTRYPOINT [ "/root/common-lisp/baf/baf" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment