changelog shortlog graph tags branches changeset file revisions annotate raw help

Mercurial > infra > pod / Containerfile.vc

revision 38: c4d56de0ee1a
parent 36: 8a7410b6d45c
     1.1--- a/Containerfile.vc	Wed Sep 04 16:57:00 2024 -0400
     1.2+++ b/Containerfile.vc	Fri Sep 13 20:17:53 2024 -0400
     1.3@@ -3,17 +3,17 @@
     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 python-pip apache nano --noconfirm
     1.8+RUN --network=host pacman -Sy python-pygments python-pygit2 python-dulwich python-pip apache uwsgi --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 pip install --user --break-system-packages hg-evolve 
    1.13 RUN mkdir .stash
    1.14-RUN hg clone https://vc.compiler.company/infra .stash/infra
    1.15+COPY --chmod=0755 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/home .stash/home
    1.18+RUN cp -rf .stash/infra/home .stash/home
    1.19 RUN cd .stash/home && hg up ${VC_USER} && cp .homerc ${VC_HOME}/.homerc
    1.20 RUN homer install
    1.21 ENV VC_USER=${VC_USER}
    1.22 ENV VC_ID=${VC_ID}
    1.23-ENTRYPOINT ["hg", "serve", "--web-conf", "hgweb.conf"]
    1.24\ No newline at end of file
    1.25+CMD ["./serve.sh"]
    1.26\ No newline at end of file