changelog shortlog graph tags branches changeset file revisions annotate raw help

Mercurial > infra > pod / Containerfile.vc

revision 35: 28492e359d92
parent 25: fc675ca6075b
child 36: 8a7410b6d45c
     1.1--- a/Containerfile.vc	Mon Aug 19 10:31:22 2024 -0400
     1.2+++ b/Containerfile.vc	Tue Sep 03 20:40:39 2024 -0400
     1.3@@ -3,23 +3,16 @@
     1.4 ARG VC_HOME=/home/${VC_USER}
     1.5 ARG VC_ID=842
     1.6 USER root
     1.7-RUN --network=host pacman -Sy python-pygments python-pygit2 python-dulwich --noconfirm
     1.8+RUN --network=host pacman -Sy python-pygments python-pygit2 python-dulwich apache nano --noconfirm
     1.9 RUN useradd --system -s /usr/bin/bash -u ${VC_ID} -m ${VC_USER}
    1.10 USER ${VC_USER}
    1.11 WORKDIR ${VC_HOME}
    1.12 RUN mkdir .stash
    1.13-RUN hg clone https://vc.compiler.company/comp/infra .stash/infra
    1.14+RUN hg clone https://vc.compiler.company/infra .stash/infra
    1.15 RUN .stash/infra/scripts/wg-gen-keys.sh private.key public.key
    1.16-RUN hg clone https://vc.compiler.company/comp/home .stash/home
    1.17+RUN hg clone https://vc.compiler.company/home .stash/home
    1.18 RUN cd .stash/home && hg up ${VC_USER} && cp .homerc ${VC_HOME}/.homerc
    1.19 RUN homer install
    1.20-WORKDIR .stash/infra
    1.21-RUN skel make repos
    1.22-RUN skel make packy-repos
    1.23-RUN mv .stash/src ${VC_HOME}/src
    1.24-RUN skel clean
    1.25-RUN skel run init-vc-bundles
    1.26-WORKDIR ${VC_HOME}
    1.27 ENV VC_USER=${VC_USER}
    1.28 ENV VC_ID=${VC_ID}
    1.29-ENTRYPOINT ["hg", "serve", "--web-conf", "hgweb.conf"]
    1.30\ No newline at end of file
    1.31+# ENTRYPOINT ["hg", "serve", "--web-conf", "hgweb.conf"]
    1.32\ No newline at end of file