changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > pod / Containerfile.operator

changeset 33: 48affaffc460
parent: 9c7c441ca15b
child: 28492e359d92
author: Richard Westhaver <ellis@rwest.io>
date: Sat, 17 Aug 2024 17:08:46 -0400
permissions: -rw-r--r--
description: workers
1 FROM localhost/dev:latest
2 USER root
3 RUN usermod -l operator --move-home --home /home/operator ${DEV}
4 RUN echo "operator ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/operator
5 RUN --network=host pacman -Sy aspell hunspell-en_us --noconfirm
6 RUN pacman -Scc --noconfirm
7 USER operator
8 WORKDIR /home/operator
9 RUN hg clone https://vc.compiler.company/comp/infra .stash/infra
10 RUN .stash/infra/scripts/wg-gen-keys.sh private.key public.key
11 WORKDIR .stash/infra
12 # RUN sudo skel run install-emacs-pack
13 RUN sudo skel clean
14 WORKDIR /home/operator
15 RUN cd .stash/home && hg up operator && homer install
16 ENV DEV=operator
17 ENV DEV_HOME=/home/operator