This commit allows any container based on linkstack image
to be run as non-root with apache user and limit to RO the
filesystem permissions. Ensuring a much more secured runtime.
As the configuration is now defined at build time and
overriden at runtime strictly through environment variables,
it s not necessary anymore to capture config file changes as
they become immutable.
This commit is the second of a PR that will
aim at dropping requirement to run containers
with root permissions.
This commit leverages env vars rather than sed &
dynamic environment substitution for php.ini file.
This commit is the first of a PR that will
aim at dropping requirement to run containers
with root permissions.
This commit leverages PassEnv rather than sed &
dynamic environment substitution in the config files.
Reverted to Alpine 3.16.0 due to no PHP8 mods yet available for 3.17.0.
Slight organization and stricter chmod.
Stricter sed search and replace for httpd.conf.
Closes:
https://github.com/JulianPrieber/llc-docker/issues/11
+ Healthcheck Log Spam hidden.
+ FQDN Warning fixed.
+ Access+ Logs now also shown in the container log.
+ More logical container entry path.
+ Timezone fixed in log info (added tzdata).
+ docker-entrypoint.sh moved to bin path, so it can be called from anywhere, rather than only the root dir.