Skip to content

Instantly share code, notes, and snippets.

@ebzzry
Created June 30, 2018 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebzzry/617e28950b932aa98dece282767bd2bc to your computer and use it in GitHub Desktop.
Save ebzzry/617e28950b932aa98dece282767bd2bc to your computer and use it in GitHub Desktop.
Dockerfile
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