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 #
RUN
hg
clone
https://vc.compiler.company/comp/etc
16 ENV
CARGO_HOME="/usr/local/share/cargo"
17 ENV
RUSTUP_HOME="/usr/local/share/rustup"
18 RUN
make
rustup-install
tree-sitter-langs-install
19 ENV
PATH="
$PATH:/usr/local/share/cargo/bin"
21 #RUN
rustup
default
nightly
#
disabled
due
to
issue
with
zellij
build
22 #
ADD
etc/sbclrc
/etc/sbclrc
23 RUN
cd
..
&& rm
-rf
infra
core
24 RUN
adduser
-D
-u
${ID} -k
/etc/skel
${WORKER} 26 WORKDIR
${WORKER_HOME} 29 ENV
WORKER_HOME=
${WORKER_HOME}