shen-cl icon indicating copy to clipboard operation
shen-cl copied to clipboard

Add Dockerfile

Open rkoeninger opened this issue 7 years ago • 4 comments

  • Add a Dockerfile to the repo root that copy Linux SBCL build into container.
    • Can be based on small alpine image
    • Can host different image for each release of each port
    • Could also just refer to shen-cl build as shen as that's the most widely used one
    • Just shen-cl for now?
  • Make shen organization on DockerHub, name is still available

Publicly hosted docker image would allow one to start working with Shen by running:

docker run -it --rm shen/shen:latest

rkoeninger avatar Oct 03 '18 19:10 rkoeninger

Maybe an image based on alpine would be a better option in terms of size.

tizoc avatar Oct 03 '18 20:10 tizoc

Oh, I assumed centos was one of the smaller ones. Alpine is much smaller.

rkoeninger avatar Oct 03 '18 21:10 rkoeninger

Yes, and if you do a multi-staged build the resulting image should be not much bigger than the resulting Shen execultable.

tizoc avatar Oct 03 '18 21:10 tizoc

This one looks like a good base, uses Alpine: https://github.com/eshamster/docker-cl-base

tizoc avatar Oct 03 '19 17:10 tizoc