# HG changeset patch # User Richard Westhaver # Date 1725483420 14400 # Node ID 8a7410b6d45cb42e3713599c2207f2b9f839eada # Parent 28492e359d92979562b44ae990ad8bec5f4427c5 vc updates diff -r 28492e359d92 -r 8a7410b6d45c Containerfile.vc --- a/Containerfile.vc Tue Sep 03 20:40:39 2024 -0400 +++ b/Containerfile.vc Wed Sep 04 16:57:00 2024 -0400 @@ -3,10 +3,11 @@ ARG VC_HOME=/home/${VC_USER} ARG VC_ID=842 USER root -RUN --network=host pacman -Sy python-pygments python-pygit2 python-dulwich apache nano --noconfirm +RUN --network=host pacman -Sy python-pygments python-pygit2 python-dulwich python-pip apache nano --noconfirm RUN useradd --system -s /usr/bin/bash -u ${VC_ID} -m ${VC_USER} USER ${VC_USER} WORKDIR ${VC_HOME} +RUN pip install --user --break-system-packages hg-evolve RUN mkdir .stash RUN hg clone https://vc.compiler.company/infra .stash/infra RUN .stash/infra/scripts/wg-gen-keys.sh private.key public.key @@ -15,4 +16,4 @@ RUN homer install ENV VC_USER=${VC_USER} ENV VC_ID=${VC_ID} -# ENTRYPOINT ["hg", "serve", "--web-conf", "hgweb.conf"] \ No newline at end of file +ENTRYPOINT ["hg", "serve", "--web-conf", "hgweb.conf"] \ No newline at end of file