jgoldfar / alpine-sbcl Goto Github PK
View Code? Open in Web Editor NEWBootstrap build for SBCL in Alpine Linux, since it's not available for older Alpine versions
License: MIT License
Bootstrap build for SBCL in Alpine Linux, since it's not available for older Alpine versions
License: MIT License
# docker build -t jgoldfar/alpine-sbcl -f Dockerfile.3.15 .
Sending build context to Docker daemon 110.1kB
Step 1/10 : FROM alpine:3.15
---> c4fc93816858
Step 2/10 : LABEL maintainer="Jonathan Goldfarb <[email protected]>"
---> Using cache
---> 99eeb58173f1
Step 3/10 : ENV ALPINE_EDGE_REPOSITORY http://dl-4.alpinelinux.org/alpine/edge/testing
---> Using cache
---> f34fc7fb9115
Step 4/10 : ENV SBCL_VERSION 2.2.2
---> Using cache
---> e69cfc468cee
Step 5/10 : ENV SBCL_DIR sbcl
---> Using cache
---> 3751cc8cd855
Step 6/10 : ENV ALPINE_REPOSITORIES /etc/apk/repositories
---> Using cache
---> 35842b5c9e0e
Step 7/10 : ENV SBCL_URL https://github.com/sbcl/sbcl
---> Using cache
---> f16522a21212
Step 8/10 : ENV SBCL_RELEASE ${SBCL_DIR}-${SBCL_VERSION}
---> Using cache
---> c7ab63302a31
Step 9/10 : ENV NETDB_PATCH "\n#define NETDB_INTERNAL -1\n#define NETDB_SUCCESS 0"
---> Using cache
---> 773ea73c1375
Step 10/10 : RUN cp ${ALPINE_REPOSITORIES} ${ALPINE_REPOSITORIES}.backup && echo ${ALPINE_EDGE_REPOSITORY} >> ${ALPINE_REPOSITORIES} && apk update && apk add --no-cache --virtual build-deps linux-headers musl-dev gcc make sbcl git && sed -i "s/.*OVERFLOW.*/&\n${NETDB_PATCH}/" /usr/include/netdb.h && mkdir /home/temp && cd /home/temp && git clone ${SBCL_URL} && cd ${SBCL_DIR} && git checkout ${SBCL_RELEASE} && sh make.sh && sh install.sh && rm -fr /usr/local/share/* && cd /home && rm -rf temp && apk del build-deps && cp ${ALPINE_REPOSITORIES}.backup ${ALPINE_REPOSITORIES} && rm ${ALPINE_REPOSITORIES}.backup && rm -fr /var/cache/apk/*
---> Running in 81fed0a51c41
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
fetch http://dl-4.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
v3.15.6-39-gb8a0279d74 [https://dl-cdn.alpinelinux.org/alpine/v3.15/main]
v3.15.6-38-g327cfc61c2 [https://dl-cdn.alpinelinux.org/alpine/v3.15/community]
v20220809-1725-ge559eba743 [http://dl-4.alpinelinux.org/alpine/edge/testing]
OK: 21759 distinct packages available
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
fetch http://dl-4.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(1/23) Installing linux-headers (5.10.41-r0)
(2/23) Installing musl-dev (1.2.2-r7)
(3/23) Installing libgcc (10.3.1_git20211027-r0)
(4/23) Installing libstdc++ (10.3.1_git20211027-r0)
(5/23) Installing binutils (2.37-r3)
(6/23) Installing libgomp (10.3.1_git20211027-r0)
(7/23) Installing libatomic (10.3.1_git20211027-r0)
(8/23) Installing libgphobos (10.3.1_git20211027-r0)
(9/23) Installing gmp (6.2.1-r1)
(10/23) Installing isl22 (0.22-r0)
(11/23) Installing mpfr4 (4.1.0-r0)
(12/23) Installing mpc1 (1.2.1-r0)
(13/23) Installing gcc (10.3.1_git20211027-r0)
(14/23) Installing make (4.3-r0)
(15/23) Installing sbcl (2.1.7-r0)
(16/23) Installing ca-certificates (20220614-r0)
(17/23) Installing brotli-libs (1.0.9-r5)
(18/23) Installing nghttp2-libs (1.46.0-r0)
(19/23) Installing libcurl (7.80.0-r2)
(20/23) Installing expat (2.4.7-r0)
(21/23) Installing pcre2 (10.40-r0)
(22/23) Installing git (2.34.4-r0)
(23/23) Installing build-deps (20220826.141551)
Executing busybox-1.34.1-r7.trigger
Executing ca-certificates-20220614-r0.trigger
OK: 185 MiB in 37 packages
Cloning into 'sbcl'...
Note: switching to 'sbcl-2.2.2'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 5a98c5807 2.2.2: will be tagged as "sbcl-2.2.2"
This is SBCL 2.1.7, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* "SBCL"
* make: /bin/sh: Operation not permitted
make: *** [Makefile:24: clean] Error 127
The command '/bin/sh -c cp ${ALPINE_REPOSITORIES} ${ALPINE_REPOSITORIES}.backup && echo ${ALPINE_EDGE_REPOSITORY} >> ${ALPINE_REPOSITORIES} && apk update && apk add --no-cache --virtual build-deps linux-headers musl-dev gcc make sbcl git && sed -i "s/.*OVERFLOW.*/&\n${NETDB_PATCH}/" /usr/include/netdb.h && mkdir /home/temp && cd /home/temp && git clone ${SBCL_URL} && cd ${SBCL_DIR} && git checkout ${SBCL_RELEASE} && sh make.sh && sh install.sh && rm -fr /usr/local/share/* && cd /home && rm -rf temp && apk del build-deps && cp ${ALPINE_REPOSITORIES}.backup ${ALPINE_REPOSITORIES} && rm ${ALPINE_REPOSITORIES}.backup && rm -fr /var/cache/apk/*' returned a non-zero code: 2
# uname -a; cat /etc/issue
Linux nas 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux
Debian GNU/Linux 9 \n \l
Output image should just have sbcl + dylibs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.