Mercurial > code > home > repos > photoprism
annotate update/Dockerfile @ 7:07aa4c3cddc4
redo user accounts
author | drewp@bigasterisk.com |
---|---|
date | Sun, 19 Mar 2023 17:19:47 -0700 |
parents | a248c94091e7 |
children |
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 | 3 RUN apt install -y python3-atomicwrites |
4 | |
5 | |
6 # from /my/proj/infra/kube.py | |
7 RUN curl -L -o ./kubectl https://github.com/rancher/k3s/releases/download/v1.24.3+k3s1/k3s | |
8 RUN chmod +x kubectl | |
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 | 12 RUN useradd -MN -u 501 drewp |
13 | |
14 RUN useradd --no-create-home --uid 1050 photoprism | |
15 | |
2
781290b4a683
nightly updater. performance config attempts & notes
drewp@bigasterisk.com
parents:
diff
changeset
|
16 CMD ["./update.sh"] |