6 Commits

Author SHA1 Message Date
75aae3e45b supercronic: allow overlapping 2025-02-16 18:44:54 +01:00
6a4963200c Rootless Docker/Optimized build (#932)
* Rootless Dockerfile/Optimized build

Add unneeded files to .dockerignore
Split Dockerfile into more stages to allow Composer/Yarn to run concurrently
Don't log supervisord to a file, as file logging in a Docker container makes no sense
Redirect process output to container output for log processors
Run all processes as non-root
Minimize files with write permission for non-root user
Move docker folder out of .github, as it has nothing to do with GitHub

* Remove install-php-extensions utility after use and name final stage

* Test arm64 runner

* Allow Docker workflow caching multi-arch separately

* Fix Docker publish workflow branches

* Move Caddyfile/crontab config into docker directory, remove redundant supervisord user

* Further restrict permissions

* Supervisord logs
2025-01-23 11:01:14 +02:00
fe725397eb Code cleanup and improvement 2020-11-14 13:10:11 -08:00
80574e991b Remove quotes and fix indentation 2020-11-06 13:23:05 +00:00
9c33288902 Change entrypoint so it doesn't overwrite app key.
APP_KEY is overwritten by a generated one even if it's in the environment.
2020-11-06 13:21:09 +00:00
05004a7a50 move docker foler
move docker folder from .dev/

update Dockerfile and entrypoint scripts to match
2020-04-12 16:02:48 -04:00