1 FROM
localhost/dev:latest
4 ARG
WORKER_HOME=/home/
${WORKER} 6 RUN
useradd
--system
-s
/usr/bin/bash
-u
${WORKER_ID} -m
${WORKER} -G
wheel
8 RUN
chown
-R
${WORKER_ID}:worker
/usr/local/
10 RUN
mkdir
-pv
${WORKER_HOME}/.stash
11 WORKDIR
${WORKER_HOME}/.stash
12 RUN
hg
clone
https://vc.compiler.company/comp/infra
14 ENV
CARGO_HOME="/usr/local/share/rust/cargo"
15 ENV
RUSTUP_HOME="/usr/local/share/rust/rustup"
16 ENV
PATH="
$PATH:/usr/local/share/cargo/bin:/usr/local/share/lisp/bin"
17 RUN
mkdir
-pv
.stash/tmp
18 RUN
skel
install
quicklisp
20 WORKDIR
${WORKER_HOME} 21 RUN
hg
clone
https://vc.compiler.company/comp/home
.stash/home
&& cd
.stash/home
&& hg
up
${WORKER} 22 RUN
cp
.stash/home/.homerc
${WORKER_HOME}/.homerc
25 ENV
WORKER_ID=
${WORKER_ID} 26 ENV
WORKER_HOME=
${WORKER_HOME}