changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > pod / Containerfile.operator

changeset 40: 90970dfd5a8b
parent: 28492e359d92
child: be286d8b2764
author: Richard Westhaver <ellis@rwest.io>
date: Tue, 24 Sep 2024 15:02:27 -0400
permissions: -rw-r--r--
description: merge
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 WORKDIR /home/operator
8 RUN hg clone https://vc.compiler.company/infra .stash/infra
9 RUN hg clone https://vc.compiler.company/core .stash/core
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/.stash
17 USER operator
18 RUN cd core/emacs && make
19 USER root
20 RUN rm -rf .stash/core .stash/infra
21 USER operator
22 WORKDIR /home/operator
23 RUN cd .stash/home && hg up operator && homer install
24 ENV DEV=operator
25 ENV DEV_HOME=/home/operator