1 FROM
localhost/alpine:latest
4 #
ADD
etc/skel/*
/etc/skel/
7 ARG
WORKER_HOME=/home/
${WORKER} 8 RUN
apk
add
build-base
zstd-dev
curl
make
git
linux-headers
openssl-dev
pkgconf
clang
m4
tree-sitter
9 RUN
mkdir
/usr/share/lisp
10 RUN
mkdir
/usr/local/share/lisp
11 WORKDIR
/usr/local/src
12 RUN
hg
clone
https://vc.compiler.company/comp/infra
13 RUN
hg
clone
https://vc.compiler.company/comp/core
15 ENV
CARGO_HOME="/usr/local/share/cargo"
16 ENV
RUSTUP_HOME="/usr/local/share/rustup"
17 RUN
make
rustup-install
tree-sitter-langs-install
18 ENV
PATH="
$PATH:/usr/local/share/cargo/bin"
20 #RUN
rustup
default
nightly
#
disabled
due
to
issue
with
zellij
build
21 ADD
etc/sbclrc
/etc/sbclrc
22 RUN
cd
..
&& rm
-rf
infra
core
23 RUN
adduser
-D
-u
${ID} -k
/etc/skel
${WORKER} 25 WORKDIR
${WORKER_HOME} 28 ENV
WORKER_HOME=
${WORKER_HOME}