changelog shortlog graph tags branches files raw help

Mercurial > infra > pod / changeset: vc entrypoint

changeset 24: b97af2c62373
parent 23: ce053bf5ea3c
child 25: fc675ca6075b
author: Richard Westhaver <ellis@rwest.io>
date: Sun, 21 Jul 2024 18:00:59 -0400
files: Containerfile.vc
description: vc entrypoint
     1.1--- a/Containerfile.vc	Sun Jul 21 01:46:51 2024 -0400
     1.2+++ b/Containerfile.vc	Sun Jul 21 18:00:59 2024 -0400
     1.3@@ -1,8 +1,9 @@
     1.4 FROM localhost/dev:latest
     1.5-USER root
     1.6 ARG VC_USER=vc
     1.7 ARG VC_HOME=/home/${VC_USER}
     1.8 ARG VC_ID=842
     1.9+USER root
    1.10+RUN --network=host pacman -Sy python-pygments python-pygit2 python-dulwich --noconfirm
    1.11 RUN useradd --system -s /usr/bin/bash -u ${VC_ID} -m ${VC_USER}
    1.12 USER ${VC_USER}
    1.13 WORKDIR ${VC_HOME}
    1.14@@ -10,8 +11,8 @@
    1.15 RUN hg clone https://vc.compiler.company/comp/infra .stash/infra
    1.16 RUN .stash/infra/scripts/wg-gen-keys.sh private.key public.key
    1.17 RUN hg clone https://vc.compiler.company/comp/home .stash/home
    1.18-RUN cd .stash/home && hg up ${VC_USER}
    1.19-RUN cp -rf .stash/home/* ~/
    1.20+RUN cd .stash/home && hg up ${VC_USER} && cp .homerc ${VC_HOME}/.homerc
    1.21+RUN homer install
    1.22 WORKDIR .stash/infra
    1.23 RUN skel make repos
    1.24 RUN skel make packy-repos
    1.25@@ -19,4 +20,5 @@
    1.26 RUN skel clean
    1.27 WORKDIR ${VC_HOME}
    1.28 ENV VC_USER=${VC_USER}
    1.29-ENV VC_ID=${VC_ID}
    1.30\ No newline at end of file
    1.31+ENV VC_ID=${VC_ID}
    1.32+ENTRYPOINT ["hg", "serve", "--web-conf", "hgweb.conf"]
    1.33\ No newline at end of file