Commit graph

276 commits

Author SHA1 Message Date
Michael Mayer 4af98f61f4 Docker: Update base image for production builds #1158 #1432 2021-07-16 16:46:14 +02:00
Michael Mayer 074dd8025c Docker: Improve Go tool install command #1158 #1432 2021-07-16 15:42:51 +02:00
Michael Mayer e16cb3a654 Docker: Install less tools on ARMv7 images #1158 #1432
Skip installing go-mod-outdated, go-wrk, and exif-read-tool to
improve build performance on ARMv7 as they are not needed for building.
2021-07-16 15:26:56 +02:00
Michael Mayer 25dbebd5b7 People: Add facenet.zip to development base image #22 #1406 2021-07-16 15:17:27 +02:00
Michael Mayer 5831a4e1f4 Demo: Update site info in Dockerfile 2021-07-15 20:06:01 +02:00
Michael Mayer b245695eb7 Docker: Upgrade base image and improve prod image #1158 #1432
This commit contains a few improvements discussed in PR #1432
with the primary goal to reduce the Docker image size.
Go has been upgraded from v1.16.4 to v1.16.6 as well.
2021-07-15 16:05:50 +02:00
Michael Mayer 4795bda794 CI: Update apt-get commands in Dockerfiles
Hopefully fixes Drone build issues.
2021-07-08 21:36:37 +02:00
Michael Mayer e74d8279c7 CI: Add libc6 to production Dockerfile 2021-07-08 20:29:45 +02:00
Michael Mayer 21c96f09e0 CI: Add libatomic1 to production Dockerfile 2021-07-08 20:20:41 +02:00
Michael Mayer 47eb558e41 CI: Add build args to production Dockerfile 2021-07-08 19:25:22 +02:00
Michael Mayer 8ee8fc7387 CI: Update production Dockerfile 2021-07-08 19:06:35 +02:00
Michael Mayer c87d5da2e3 Config: Add CDN URL option #425 #1351 2021-07-05 16:41:43 +02:00
Michael Mayer 50560004aa Demo: Update template 2021-07-05 12:40:23 +02:00
Michael Mayer 68f40b70f3 Dockerfiles: Upgrade base image to 20210628 2021-06-28 12:12:18 +02:00
Michael Mayer 06e33c1a9e Dockerfiles: Remove manual exiftool upgrade
Distribution packages seem fixed now:
https://ubuntu.com/security/CVE-2021-22204
2021-06-28 11:44:09 +02:00
Michael Mayer 6b7745ecef Docker: Refactor production Dockerfile #1158 #1328 2021-06-02 11:50:53 +02:00
Michael Mayer 3adeb2a5eb Docker: Update example docker-compose.yml config files #1158 #1328 2021-06-02 11:09:36 +02:00
Michael Mayer 32712910bd Docker: Refactor multi-arch build #1158 #1328 2021-06-02 11:04:31 +02:00
Timo Volkmann 5a502fd580
Docker: Build multi-arch images #1158 #1328
* added docker build for arm64 development image
* multi-arch development image
* enabled multi arch build for production build
* moved go installation into shell script
* skip chromedriver installation for arm32 builds
2021-06-02 07:45:40 +02:00
Michael Mayer 4b32bac76e HEIF: Test if output image was rotated based on "QuickTime:Rotation" 2021-05-20 11:44:55 +02:00
Michael Mayer a128a2ddaa HEIF: Remove workaround for fixing image rotation #1064
Not needed anymore with updated heif-convert version.
2021-05-20 10:27:14 +02:00
Michael Mayer a0f3ab5622 Docker: Set explicit /photoprism directory permissions #1301 2021-05-20 09:15:40 +02:00
Michael Mayer 24b5c7e650 Upgrade Exiftool to fix security issue #1302 2021-05-19 13:24:11 +02:00
Michael Mayer 77f283a39d Demo: Fix typo in Dockerfile 2021-05-17 13:06:18 +02:00
Michael Mayer 96b9979b2f Update maintainer email in Dockerfiles 2021-05-16 16:08:49 +02:00
Michael Mayer 2c02f9f9f7 Config: Rename examples/ophelia to examples/scheduler
For those that don't know what ophelia is.
2021-05-16 14:58:55 +02:00
Michael Mayer 58f8feaa5e Config: Update Ophelia docker-compose.yml example
Change param order for consistency.
2021-05-16 14:48:20 +02:00
Michael Mayer 16ce770c4a Config: Add Ophelia docker-compose.yml example
Ophelia is a docker job scheduler,
see https://github.com/mcuadros/ofelia
2021-05-16 14:46:55 +02:00
Michael Mayer 1184f66c5a Docker: Update production Dockerfiles 2021-05-15 16:34:57 +02:00
Michael Mayer 4c3dcc7e68 Dockerfiles: Update arm images and build config 2021-05-15 15:07:40 +02:00
Michael Mayer 77ddcecf29 Dockerfiles: Upgrade Ubuntu base image & Go version
Reduces the number of layers by combining commands and env variables.
2021-05-15 14:05:52 +02:00
Michael Mayer 683292cae9 Docs: Update Twitter account name 2021-05-15 10:48:37 +02:00
Michael Mayer 2fb7a4d7ea Config: Update docker-compose.yml examples 2021-04-26 16:09:07 +02:00
Michael Mayer 97e75b0409 Docker: Upgrade photoprism/development base image 2021-04-22 12:44:55 +02:00
Peter Doherty 075eb549df
Collapse the ENV instructions into fewer steps (#1202) 2021-04-19 11:22:18 +02:00
Peter Doherty 035ed97033
Add -overwrite_original option to exiftool (#1201)
Add -overwrite_original option to exiftool to avoid creating a copy of
the image file.
Adds -P option to preserve file modification time
2021-04-19 11:19:04 +02:00
Michael Mayer cc8998f9a9 Config: Add PHOTOPRISM_ORIGINALS_LIMIT to docker-compose.yml examples 2021-04-11 05:25:52 +02:00
Michael Mayer 2c7f0dc55d Dockerfiles: Upgrade Go to 1.16.3 2021-04-11 05:23:01 +02:00
Krassimir Valev aef90d170e
Fix the arm32 docker build (#1142)
Weirdly wget fails with an invalid certificate error in a virtualized arm32
environment (qemu), but not on the actual hardware. Replacing it with curl fixes
the issue.
2021-03-28 19:53:09 +02:00
Michael Mayer 3cd57e4104 Dockerfiles: Add davfs2 to mount WebDAV drives 2021-02-26 11:06:20 +01:00
Michael Mayer ac5a9d5ee4 Demo: Restore albums from YAML backups 2021-02-22 21:21:14 +01:00
Michael Mayer 4c5a730da4 Thumbs: Fix orientation for HEIF, TIFF, and PNG #1064 2021-02-22 21:09:50 +01:00
Michael Mayer 4939e36ac6 Video: Update docker-compose.yml ARM64 example #703
Renamed PHOTOPRISM_FFMPEG_CODEC to PHOTOPRISM_FFMPEG_ENCODER as well.
Log level for errors has been increased to warn.
2021-02-16 11:40:40 +01:00
Michael Mayer b80503257d Docker: Add ~/.local/bin path to photoprism/development image 2021-02-15 20:03:31 +01:00
Michael Mayer 475d204cb7 Videos: Make using h264_v4l2m2m optional on ARM64 #703 2021-02-15 14:32:39 +01:00
Michael Mayer ffa4ce3d44 Videos: Use h264_v4l2m2m codec on ARM64 by default #703 2021-02-15 12:33:32 +01:00
Michael Mayer 2bbcc987e3 Videos: Upgrade Ubuntu base image to 20.10 #703 2021-02-15 12:08:04 +01:00
Michael Mayer 7d52efc39d Docker: Update photoprism/development image 2021-02-14 19:15:29 +01:00
Michael Mayer 7d98d200da Entrypoint: chown /photoprism/import as well #1000
Uploads might not work otherwise.
2021-02-05 19:08:00 +01:00
Krassimir Valev bbbc6a737e
Dockerfile for arm32v7 (#969) 2021-02-05 18:27:39 +01:00