annotate update/Dockerfile @ 7:07aa4c3cddc4

redo user accounts
author drewp@bigasterisk.com
date Sun, 19 Mar 2023 17:19:47 -0700
parents a248c94091e7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
781290b4a683 nightly updater. performance config attempts & notes
drewp@bigasterisk.com
parents:
diff changeset
1 FROM bang5:5000/base_basic
781290b4a683 nightly updater. performance config attempts & notes
drewp@bigasterisk.com
parents:
diff changeset
2 WORKDIR /opt
4
a248c94091e7 get updater working BAMN
drewp@bigasterisk.com
parents: 2
diff changeset
3 RUN apt install -y python3-atomicwrites
a248c94091e7 get updater working BAMN
drewp@bigasterisk.com
parents: 2
diff changeset
4
a248c94091e7 get updater working BAMN
drewp@bigasterisk.com
parents: 2
diff changeset
5
a248c94091e7 get updater working BAMN
drewp@bigasterisk.com
parents: 2
diff changeset
6 # from /my/proj/infra/kube.py
a248c94091e7 get updater working BAMN
drewp@bigasterisk.com
parents: 2
diff changeset
7 RUN curl -L -o ./kubectl https://github.com/rancher/k3s/releases/download/v1.24.3+k3s1/k3s
a248c94091e7 get updater working BAMN
drewp@bigasterisk.com
parents: 2
diff changeset
8 RUN chmod +x kubectl
a248c94091e7 get updater working BAMN
drewp@bigasterisk.com
parents: 2
diff changeset
9
2
781290b4a683 nightly updater. performance config attempts & notes
drewp@bigasterisk.com
parents:
diff changeset
10 COPY update.sh ./
781290b4a683 nightly updater. performance config attempts & notes
drewp@bigasterisk.com
parents:
diff changeset
11
7
07aa4c3cddc4 redo user accounts
drewp@bigasterisk.com
parents: 4
diff changeset
12 RUN useradd -MN -u 501 drewp
07aa4c3cddc4 redo user accounts
drewp@bigasterisk.com
parents: 4
diff changeset
13
07aa4c3cddc4 redo user accounts
drewp@bigasterisk.com
parents: 4
diff changeset
14 RUN useradd --no-create-home --uid 1050 photoprism
07aa4c3cddc4 redo user accounts
drewp@bigasterisk.com
parents: 4
diff changeset
15
2
781290b4a683 nightly updater. performance config attempts & notes
drewp@bigasterisk.com
parents:
diff changeset
16 CMD ["./update.sh"]