1 FROM
localhost/dev:latest
3 ARG
WEB_HOME=/home/
${WEB_USER} 6 RUN
--network=host
pacman
-Sy
go
--noconfirm
7 RUN
useradd
--system
-s
/usr/bin/bash
-u
${WEB_ID} -m
${WEB_USER} 10 RUN
hg
clone
https://vc.compiler.company/comp/infra
.stash/infra
11 RUN
.stash/infra/scripts/wg-gen-keys.sh
private.key
public.key
12 RUN
hg
clone
https://vc.compiler.company/comp/home
.stash/home
13 RUN
cd
.stash/home
&& hg
up
${WEB_USER} && cp
.homerc
${WEB_HOME}/.homerc
15 RUN
hg
clone
https://vc.compiler.company/comp/org
.stash/org
20 RUN
skel
make
caddy
&& skel
make
caddy-install
24 ENV
WEB_USER=
${WEB_USER}