changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > pod / Containerfile.operator

changeset 38: c4d56de0ee1a
parent: 28492e359d92
child: 90970dfd5a8b
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 13 Sep 2024 20:17:53 -0400
permissions: -rw-r--r--
description: cleanup
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 mkdir -pv .stash/tmp
13 RUN sudo skel build emacs
14 RUN sudo skel install emacs
15 RUN sudo skel clean
16 WORKDIR /home/operator
17 RUN cd .stash/home && hg up operator && homer install
18 ENV DEV=operator
19 ENV DEV_HOME=/home/operator