1 FROM
localhost/alpine:latest
6 ARG
WORKER_HOME=/home/
${WORKER} 7 #
TODO:
build
sbcl
for
musl
8 RUN
apk
add
build-base
zstd-dev
curl
make
git
linux-headers
openssl-dev
pkgconf
clang
m4
9 RUN
mkdir
-p
/usr/share/lisp
/usr/local/share/lisp
10 COPY
.stash/bin/
/usr/local/bin/
11 COPY
.stash/lib/
/usr/local/lib/
12 COPY
.stash/include/
/usr/local/include/
13 COPY
.stash/share/
/usr/local/share/
14 COPY
.stash/src/
/usr/local/src/
15 WORKDIR
/usr/local/src
16 RUN
hg
clone
https://vc.compiler.company/comp/infra
18 #
RUN
scripts/get-sk.sh
19 ENV
CARGO_HOME="/usr/local/share/cargo"
20 ENV
RUSTUP_HOME="/usr/local/share/rustup"
21 ENV
PATH="
$PATH:/usr/local/share/cargo/bin:/usr/local/share/lisp/bin"
22 RUN
adduser
-D
-u
${ID} -k
/etc/skel
${WORKER} 24 WORKDIR
${WORKER_HOME} 27 ENV
WORKER_HOME=
${WORKER_HOME}