Commit graph

144 commits

Author SHA1 Message Date
Michael Mayer
df6ca40a82 Docker: Add matching groups for default users #2262 2022-04-18 19:12:26 +02:00
Michael Mayer
f093b498fa CI: Fix prod build scripts and add docker-compose.local.yml #2262 2022-04-18 15:49:30 +02:00
Michael Mayer
7f32ff46e8 Video: Show what transcoding hardware was detected #2125 #2222 #2228
Also installs the following, additional packages:
- libcuda1
- libnvcuvid1
- mesa-va-drivers
2022-04-18 14:30:47 +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
aec32d9c3a Docker: Add scripts/dist/install-go-tools.sh and OCI annotations #2178 2022-04-17 16:28:34 +02:00
Michael Mayer
00f578e319 CI: Update build script log message 2022-04-16 17:12:21 +02:00
Michael Mayer
4253045b14 Docker/CI: Upgrade Go to v1.18.1 in scripts/dist/install-go.sh 2022-04-13 18:26:11 +02:00
Michael Mayer
bda4dbabfa CI: Make build.sh script compatible with macOS
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-07 01:18:39 +02:00
Michael Mayer
eaecedf4bb Docker: Update scripts/dist/tensorflow-driver.sh 2022-03-25 10:14:48 +01:00
Michael Mayer
8c589e3649 Videos: Improve Nvidia hardware transcoding support #2125
- successfully tested with NVIDIA Quadro P620 and driver v470.103.01
- the host Linux kernel should run the same driver version Make sure to
- driver names in PHOTOPRISM_FFMPEG_ENCODER have been simplified
- share /dev/nvidia* as shown in our new docker-compose.yml example
2022-03-23 13:27:25 +01: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
d4dbbb02e8 Docker: Replaced "nano" with "clitools" in PHOTOPRISM_INIT options
clitools installs additional shells and command-line utilities
2022-03-18 11:07:19 +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
de6e0390a7 Scripts: Upgrade Go from v1.17.7 to v1.18 in install-go.sh 2022-03-16 17:50:23 +01:00
Michael Mayer
0fa87a12e6 Develop: Simplify Dockerfile #2076 2022-03-11 11:00:31 +01:00
Michael Mayer
6bb8582cb5 CI: Improve deployment scripts #2076 2022-03-11 10:52:59 +01:00
Michael Mayer
f5aee956af CI: Exclude Docker image scripts from build package #2076 2022-03-11 10:30:18 +01:00
Michael Mayer
8db9006f07 Docker: Run install scripts with absolute paths #2076 2022-03-11 09:50:24 +01:00
Michael Mayer
d9d0af4bb8 Develop: Upgrade base image from 220302 to 220311-bullseye #2076
Dockerfiles were also updated for improved readability.
2022-03-11 09:40:04 +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
6fb0eb2abe Docker: Auto-install "nvidia-opencl-icd" and update docs #1337 #2076 2022-03-02 12:21:46 +01:00
Michael Mayer
d78cc31f72 Docker: Fix entrypoint-init.sh script for non-root users #1337 #2076 2022-03-02 10:30:07 +01:00
Michael Mayer
9eb9ee767c CI: Improve build scripts #2076 2022-03-01 18:16:50 +01:00
Michael Mayer
cfbc79606b CI: Improve binary build script logging #2076 2022-03-01 16:54:49 +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
aff56159e1 Docker: Update log messages in install-tensorflow.sh #1337 2022-02-25 17:08:17 +01:00
Michael Mayer
427d2132aa Docker: Update and improve scripts for installing CPU/GPU support #1337 2022-02-25 16:33:46 +01:00
Michael Mayer
c16ae62d3e Tests: Pre-install testcafe in develop base images 2022-02-23 12:10:34 +01:00
Michael Mayer
0e7dd5e3f8 Docker: Improve log messages in entrypoint.sh scripts 2022-02-21 10:56:27 +01:00
Michael Mayer
a9193c47a9 Docker: Remove GOPROXY and GODEBUG args from all images 2022-02-20 16:55:25 +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
68acb06565 CI: Update BUILD_TAG in Docker build scripts 2022-02-20 13:17:05 +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
b52bf1bd76 Docker: Improve doctor.sh script 2022-02-19 21:38:07 +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
Michael Mayer
88cc1b3a73 Docker: Move build init scripts 2022-02-18 17:40:58 +01:00
Michael Mayer
94852e3394 CI: Update buildx.sh script 2022-02-17 22:24:33 +01:00
Michael Mayer
1c4473d8dc CI: Improve build scripts 2022-02-17 19:18:37 +01:00
Michael Mayer
c76d0e27ba RAW: Add install-darktable.sh script #445 #1632
This will install a newer version from opensuse.org if possible.
2022-02-17 13:45:43 +01:00
Michael Mayer
50f5c9f2ef CI: Refactor build script 2022-02-16 16:52:35 +01:00