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
10 RUN
mkdir
-p
/usr/share/lisp
/usr/local/share/lisp
11 COPY
.stash/bin/
/usr/local/bin/
12 COPY
.stash/lib/
/usr/local/lib/
13 COPY
.stash/include/
/usr/local/include/
14 COPY
.stash/share/
/usr/local/share/
15 COPY
.stash/src/
/usr/local/src/
16 WORKDIR
/usr/local/src
17 RUN
hg
clone
https://vc.compiler.company/comp/infra
19 #
RUN
scripts/get-sk.sh
20 ENV
CARGO_HOME="/usr/local/share/cargo"
21 ENV
RUSTUP_HOME="/usr/local/share/rustup"
22 ENV
PATH="
$PATH:/usr/local/share/cargo/bin:/usr/local/share/lisp/bin"
23 RUN
adduser
-D
-u
${ID} -k
/etc/skel
${WORKER} 25 WORKDIR
${WORKER_HOME} 28 ENV
WORKER_HOME=
${WORKER_HOME}