changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > pod / Containerfile.operator

changeset 42: be286d8b2764
parent: 90970dfd5a8b
author: Richard Westhaver <ellis@rwest.io>
date: Sat, 28 Sep 2024 16:49:18 -0400
permissions: -rw-r--r--
description: emacs fixes
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/infra .stash/infra
10 RUN hg clone https://vc.compiler.company/core .stash/core
11 RUN .stash/infra/scripts/wg-gen-keys.sh private.key public.key
12 RUN mkdir .emacs.d
13 WORKDIR .stash/infra
14 RUN sudo skel build emacs
15 RUN sudo skel install emacs
16 RUN sudo skel clean
17 WORKDIR /home/operator/.stash
18 USER operator
19 RUN mkdir -pv ~/.stash/tmp
20 RUN cd core/emacs && skel make install
21 USER root
22 RUN rm -rf .stash/core .stash/infra
23 USER operator
24 WORKDIR /home/operator
25 RUN cd .stash/home && hg up operator && homer install
26 ENV DEV=operator
27 ENV DEV_HOME=/home/operator