Aaron Kollasch
7ab3669fdb
Switch from gosu to setpriv
...
Preserves supplementary groups if `PHOTOPRISM_GID` is set.
Removes gosu installation as it is no longer needed.
2022-09-28 09:45:32 +02:00
Michael Mayer
5d51ed82c6
Docker: Fix order of path names in PATH environment variable #1064
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-17 20:06:56 +02:00
Michael Mayer
0f8dfdea20
Docker: Update scripts/dist/entrypoint.sh
...
Changes the init script filepath.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-08-28 14:55:48 +02:00
Michael Mayer
fab00ec6e0
CI: Change headers in scripts/dist
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-23 13:16:10 +02:00
Michael Mayer
c2baf2ae5a
Docker: Create default users and groups #2262 #2228
...
Creates accounts to run PhotoPrism under a custom user ID. Also adds
them to the video and render groups, which might help to access hardware
transcoding devices.
2022-04-18 14:14:32 +02:00
Michael Mayer
cb89a1a189
Docker: Update default PATH and dist scripts #2125
2022-03-23 08:33:44 +01:00
Michael Mayer
357995556f
Docker: Set explicit PATH in dist scripts #2125
2022-03-23 08:16:01 +01:00
Michael Mayer
0ee686ffb1
Docker: Make sure /sbin/gosu exists and has the right permissions #2120
...
see https://github.com/photoprism/photoprism/discussions/2120
2022-03-17 17:02:38 +01:00
Michael Mayer
16522c68d8
Docker: Improve entrypoint scripts #2146 #2149
2022-03-17 10:14:08 +01:00
Michael Mayer
5dce02ebbd
Docker: Use absolute command names to avoid path problems #2146 #2149
2022-03-16 19:09:53 +01:00
Michael Mayer
c91fa51be7
Docker: Move init scripts to /scripts and rename $DOCKER_ARCH #2076
...
DOCKER_ARCH has been renamed to PHOTOPRISM_ARCH as it can be used
for installing deps outside of Docker environments as well.
2022-03-11 09:05:42 +01:00
Michael Mayer
3fe573845c
Docker: Use common entrypoint.sh script for develop and prod env #2076
2022-03-01 13:55:05 +01:00
Michael Mayer
0e7dd5e3f8
Docker: Improve log messages in entrypoint.sh scripts
2022-02-21 10:56:27 +01:00
Michael Mayer
4d6c3a78bb
Docker: Remove duplicate log from prod entrypoint.sh script
2022-02-20 15:07:02 +01:00
Michael Mayer
6ddbae85cc
Docker: Improve info logs in entrypoint.sh scripts
2022-02-20 15:05:04 +01:00
Michael Mayer
2f8d406747
Docker: Improve logging in entrypoint.sh scripts
2022-02-20 14:25:20 +01:00
Michael Mayer
20b3e6a268
Docker: Improve user id switching in entrypoint.sh scripts
2022-02-20 14:23:24 +01:00
Michael Mayer
053394c969
Docker: Improve umask and logging in entrypoint.sh scripts
2022-02-20 14:02:13 +01:00
Michael Mayer
eb862fb000
Docker: Improve entrypoint.sh scripts
2022-02-20 12:50:37 +01:00
Michael Mayer
8f424a91d5
Docker: Fix build tag variable name in entrypoint.sh scripts
2022-02-20 12:37:37 +01:00
Michael Mayer
0e0f5fd132
Docker: Improve entrypoint.sh scripts and dev/prod builds
2022-02-20 12:23:06 +01:00
Michael Mayer
c970e2eac1
Docker: Improve entrypoint.sh script
2022-02-19 19:54:49 +01:00
Michael Mayer
4247066c1b
Docker: Reduce image layers and improve build scripts
2022-02-19 15:32:52 +01:00