1 FROM
localhost/alpine:latest
4 #
ADD
etc/skel/*
/etc/skel/
7 ARG
WORKER_HOME=/home/
${WORKER} 8 #
TODO:
build
sbcl
for
musl
9 RUN
apk
add
build-base
zstd-dev
curl
make
git
linux-headers
openssl-dev
pkgconf
clang
m4
tree-sitter
sbcl
10 RUN
mkdir
/usr/share/lisp
11 RUN
mkdir
/usr/local/share/lisp
12 WORKDIR
/usr/local/src
13 RUN
hg
clone
https://vc.compiler.company/comp/infra
16 ENV
CARGO_HOME="/usr/local/share/cargo"
17 ENV
RUSTUP_HOME="/usr/local/share/rustup"
18 ENV
PATH="
$PATH:/usr/local/share/cargo/bin:/usr/local/share/lisp/bin"
19 #
RUN
sk
make
sbcl
sbcl-install
quicklisp
rustup
tree-sitter-langs
rocksdb
20 RUN
make
sbcl-install-gencgc
21 RUN
adduser
-D
-u
${ID} -k
/etc/skel
${WORKER} 23 WORKDIR
${WORKER_HOME} 26 ENV
WORKER_HOME=
${WORKER_HOME}