Skip to content

Base image for Common Lisp projects with SBCL or CCL and latest ASDF, Qlot and Roswell

Notifications You must be signed in to change notification settings

40ants/base-lisp-image

Repository files navigation

Base Lisp Image

This is a base lisp image for 40Ants projects.

Latest version of this image is 0.14.0. It includes Qlot (0.10.8), Roswell (21.01.14.108), ASDF (3.3.4.13) and following Lisps:

  • SBCL: 2.1.3
  • Clozure CL: 1.11.5

Image is based on Ubuntu Focal (20.04 LTS).

It is hosted on the Docker Hub. Choose appropriate version in the ChangeLog and download it from DockerHub's releases page.

How to use

Quick start

Start container for development:

docker run \
       --rm -ti \
       --name dev-lisp \
       -p 4005:4005 \
       -v `pwd`:/app \
       40ants/base-lisp-image:latest-sbcl-bin

And of cause you can use it as a base image in your own dockerfiles.

Inherit your own image from base-lisp-image

Here is a minimal example:

FROM 40ants/base-lisp-image:latest-sbcl-bin

COPY qlfile qlfile.lock app-deps.asd /app/
RUN install-dependencies

COPY . /app

EXPOSE 80
CMD /app/entrypoint.sh

This way you can use this image for deployment of your application.

How to build a new image

./build.sh

Ideas

  • Embed SLY to make it available out of the box.