Coder Social home page Coder Social logo

dockerfiles's Introduction

Dockerfiles for Common Lisp programming

Dockerfiles for each version of Common Lisp implementations and utilities. Currently provides the following products:

  • Roswell, a Common Lisp implementation manager
    Docker Pulls Docker Stars
  • SBCL, a high-performance Common Lisp compiler
    Docker Pulls Docker Stars
  • Clozure CL, an open source Common Lisp implementation hosted by Clozure Associates
    Docker Pulls Docker Stars

Usage

Fetching from Docker Hub

Build images are also available on Docker Hub.

$ docker run -it --rm fukamachi/sbcl
* (lisp-implementation-type)
"SBCL"
* (lisp-implementation-version)
"2.0.0"

Building by your own

$ git clone https://github.com/fukamachi/dockerfiles
$ cd dockerfiles

$ docker buildx create --use

# Build the latest SBCL image (Debian)
$ ./build.sh sbcl
# Build SBCL 2.0.0 image (Debian)
$ ./build.sh sbcl 2.0.0
# Build SBCL 2.0.0 image (Alpine)
$ ./build.sh sbcl 2.0.0 alpine

# Start a REPL
$ docker run -it --rm fukamachi/sbcl:2.0.0-debian
* (lisp-implementation-type)
"SBCL"
* (lisp-implementation-version)
"2.0.0"

Fork

To make GitHub Actions work, add the following secrets` to your forked GitHub repository.

  • DOCKER_HUB_PASSWORD
    • Password for Docker Hub

See GitHub's document.

dockerfiles's People

Contributors

fukamachi avatar github-actions[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dockerfiles's Issues

cannot set up roswell in a container when using fukamachi/roswell:latest

I faced with the following error when using fukamachi/roswell:latest.

I also tried using fukamachi/roswell:latest-ubuntu, and then I made it.

$ docker pull fukamachi/roswell
Using default tag: latest
latest: Pulling from fukamachi/roswell
8ec398bc0356: Already exists 
606b83e725dc: Pull complete 
d49ff92fd5f5: Pull complete 
Digest: sha256:5abde3931b4e773b0b77ddbbb2a2e04e24a8be47a1fecbc9cfbd334e187f121c
Status: Downloaded newer image for fukamachi/roswell:latest
docker.io/fukamachi/roswell:latest
$ docker run -it --rm fukamachi/roswell /bin/bash
root@8abdd98d2122:/# ros
Installing sbcl-bin...
No SBCL version specified. Downloading platform-table.html to see the available versions...
[##########################################################################]100%
Installing sbcl-bin/2.0.0...
Downloading https://github.com/roswell/sbcl_bin/releases/download/2.0.0/sbcl-2.0.0-x86-64-linux-binary.tar.bz2
[                                                                    [                                                                    [#                                                                   [#                                                                   [##                                                                  [##                                                                  [###                                                                 [###                                                                 [####                                                                [####                                                                [#####                                                               [#####                                                               [######                                                              [######                                                              [#######                                                             [#######                                                             [########                                                            [########                                                            [########                                                            [#########                                                           [#########                                                           [##########                                                          [##########                                                          [###########                                                         [###########                                                         [###########                                                         [############                                                        [############                                                        [#############                                                       [#############                                                       [##############                                                      [##############                                                      [###############                                                     [###############                                                     [################                                                    [################                                                    [#################                                                   [#################                                                   [#################                                                   [##################                                                  [##################                                                  [###################                                                 [###################                                                 [####################                                                [####################                                                [#####################                                               [#####################                                               [######################                                              [######################                                              [#######################                                             [#######################                                             [########################                                            [########################                                            [#########################                                           [#########################                                           [#########################                                           [##########################                                          [##########################                                          [###########################                                         [###########################                                         [############################                                        [############################                                        [############################                                        [#############################                                       [#############################                                       [##############################                                      [##############################                                      [###############################                                     [###############################                                     [################################                                    [################################                                    [#################################                                   [#################################                                   [##################################                                  [##################################                                  [###################################                                 [###################################                                 [####################################                                [####################################                                [#####################################                               [#####################################                               [######################################                              [######################################                              [#######################################                             [#######################################                             [########################################                            [########################################                            [#########################################                           [#########################################                           [##########################################                          [##########################################                          [###########################################                         [###########################################                         [############################################                        [############################################                        [#############################################                       [#############################################                       [#############################################                       [##############################################                      [##############################################                      [###############################################                     [###############################################                     [################################################                    [################################################                    [################################################                    [#################################################                   [#################################################                   [##################################################                  [##################################################                  [###################################################                 [###################################################                 [####################################################                [####################################################                [#####################################################               [#####################################################               [######################################################              [######################################################              [######################################################              [#######################################################             [#######################################################             [########################################################            [########################################################            [#########################################################           [#########################################################           [##########################################################          [##########################################################          [###########################################################         [###########################################################         [############################################################        [############################################################        [#############################################################       [#############################################################       [##############################################################      [##############################################################      [##############################################################      [###############################################################     [###############################################################     [################################################################    [################################################################    [#################################################################   [#################################################################   [#################################################################   [##################################################################  [##################################################################  [################################################################### [################################################################### [####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[##########################################################################]100%
Extracting sbcl-bin-2.0.0-x86-64-linux.tar.bz2 to /root/.roswell/src/sbcl-2.0.0-x86-64-linux/
Building sbcl-bin/2.0.0... Done.
Install Script for sbcl-bin...
Installing Quicklisp... Done 11160
Making core for Roswell...
Unhandled TYPE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                  {10005404C3}>:
  The value
    NIL
  is not of type
    (OR (VECTOR CHARACTER) (VECTOR NIL) BASE-STRING PATHNAME SYNONYM-STREAM
        FILE-STREAM)

  when binding PATHNAME

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10005404C3}>
0: (PATHNAME-NAME NIL) [more]
1: (MAIN)
2: (SB-INT:SIMPLE-EVAL-IN-LEXENV (APPLY (QUOTE MAIN) ROSWELL:*ARGV*) #<NULL-LEXENV>)
3: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) #<NULL-LEXENV>)
4: (SB-EXT:EVAL-TLF (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL NIL)
5: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL)
6: (SB-INT:LOAD-AS-SOURCE #<CONCATENATED-STREAM :STREAMS NIL {1003399E03}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
7: ((FLET SB-FASL::THUNK :IN LOAD))
8: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<CLOSURE (FLET SB-FASL::THUNK :IN LOAD) {7FB055DD753B}> #<CONCATENATED-STREAM :STREAMS NIL {1003399E03}>)
9: ((FLET SB-FASL::LOAD-STREAM :IN LOAD) #<CONCATENATED-STREAM :STREAMS NIL {1003399E03}> NIL)
10: (LOAD #<CONCATENATED-STREAM :STREAMS NIL {1003399E03}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST T :EXTERNAL-FORMAT :DEFAULT)
11: ((FLET ROSWELL::BODY :IN ROSWELL:SCRIPT) #<SB-SYS:FD-STREAM for "file /etc/roswell/help.ros" {10033988F3}>)
12: (ROSWELL:SCRIPT "/etc/roswell/help.ros")
13: (ROSWELL:RUN ((:EVAL "(ros:quicklisp)") (:SCRIPT "/etc/roswell/help.ros") (:QUIT NIL)))
14: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "/etc/roswell/help.ros") (:QUIT NIL)))) #<NULL-LEXENV>)
15: (EVAL (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "/etc/roswell/help.ros") (:QUIT NIL)))))
16: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(progn #-ros.init(cl:load \"/etc/roswell/init.lisp\"))") (:EVAL . "(ros:run '((:eval\"(ros:quicklisp)\")(:script \"/etc/roswell/help.ros\")(:quit ())))")))
17: (SB-IMPL::TOPLEVEL-INIT)
18: ((FLET SB-UNIX::BODY :IN SB-EXT:SAVE-LISP-AND-DIE))
19: ((FLET "WITHOUT-INTERRUPTS-BODY-14" :IN SB-EXT:SAVE-LISP-AND-DIE))
20: ((LABELS SB-IMPL::RESTART-LISP :IN SB-EXT:SAVE-LISP-AND-DIE))

unhandled condition in --disable-debugger mode, quitting
$ docker pull fukamachi/roswell:latest-ubuntu
latest-ubuntu: Pulling from fukamachi/roswell
2746a4a261c9: Already exists 
4c1d20cdee96: Already exists 
0d3160e1d0de: Already exists 
c8e37668deea: Already exists 
606b83e725dc: Pull complete 
d19e10ebfd38: Pull complete 
Digest: sha256:f51f7984deafbc858d962ac368b6ae7d05666a3bc51fb5ade1e8ed36c1e2e7be
Status: Downloaded newer image for fukamachi/roswell:latest-ubuntu
docker.io/fukamachi/roswell:latest-ubuntu
$ docker run -it --rm fukamachi/roswell:latest-ubuntu /bin/bash
root@62a31971ceef:/# ros init
Installing sbcl-bin...
No SBCL version specified. Downloading platform-table.html to see the available versions...
[##########################################################################]100%
Installing sbcl-bin/2.0.0...
Downloading https://github.com/roswell/sbcl_bin/releases/download/2.0.0/sbcl-2.0.0-x86-64-linux-binary.tar.bz2
[                                                                    [                                                                    [#                                                                   [#                                                                   [##                                                                  [##                                                                  [###                                                                 [###                                                                 [####                                                                [####                                                                [#####                                                               [#####                                                               [######                                                              [######                                                              [#######                                                             [#######                                                             [########                                                            [########                                                            [########                                                            [#########                                                           [#########                                                           [##########                                                          [##########                                                          [###########                                                         [###########                                                         [###########                                                         [############                                                        [############                                                        [#############                                                       [#############                                                       [##############                                                      [##############                                                      [###############                                                     [###############                                                     [################                                                    [################                                                    [#################                                                   [#################                                                   [#################                                                   [##################                                                  [##################                                                  [###################                                                 [###################                                                 [####################                                                [####################                                                [#####################                                               [#####################                                               [######################                                              [######################                                              [#######################                                             [#######################                                             [########################                                            [########################                                            [#########################                                           [#########################                                           [#########################                                           [##########################                                          [##########################                                          [###########################                                         [###########################                                         [############################                                        [############################                                        [############################                                        [#############################                                       [#############################                                       [##############################                                      [##############################                                      [###############################                                     [###############################                                     [################################                                    [################################                                    [#################################                                   [#################################                                   [##################################                                  [##################################                                  [###################################                                 [###################################                                 [####################################                                [####################################                                [#####################################                               [#####################################                               [######################################                              [######################################                              [#######################################                             [#######################################                             [########################################                            [########################################                            [#########################################                           [#########################################                           [##########################################                          [##########################################                          [###########################################                         [###########################################                         [############################################                        [############################################                        [#############################################                       [#############################################                       [#############################################                       [##############################################                      [##############################################                      [###############################################                     [###############################################                     [################################################                    [################################################                    [################################################                    [#################################################                   [#################################################                   [##################################################                  [##################################################                  [###################################################                 [###################################################                 [####################################################                [####################################################                [#####################################################               [#####################################################               [######################################################              [######################################################              [######################################################              [#######################################################             [#######################################################             [########################################################            [########################################################            [#########################################################           [#########################################################           [##########################################################          [##########################################################          [###########################################################         [###########################################################         [############################################################        [############################################################        [#############################################################       [#############################################################       [##############################################################      [##############################################################      [##############################################################      [###############################################################     [###############################################################     [################################################################    [################################################################    [#################################################################   [#################################################################   [#################################################################   [##################################################################  [##################################################################  [################################################################### [################################################################### [####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[####################################################################[##########################################################################]100%
Extracting sbcl-bin-2.0.0-x86-64-linux.tar.bz2 to /root/.roswell/src/sbcl-2.0.0-x86-64-linux/
Building sbcl-bin/2.0.0... Done.
Install Script for sbcl-bin...
Installing Quicklisp... Done 12942
Making core for Roswell...
root@62a31971ceef:/# ros run
* (print "hello world")

"hello world" 
"hello world"
* 

sbcl 2.3.7 not build on arm64

sbcl version below 2.3.7 where both build for amd64 and arm64,
but 2.3.7 is not.

I couldn't find anything on the commits that could cause the problem,
so I believe it was build manually.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.