Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

fix(assets): Ensure apache2/fpm running as PID 1 #536

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

lberruti
Copy link
Contributor

In order to stop container quickly, we need to run apache2 or fpm as PID 1

In order to stop container quickly, we need to run apache2 or fpm as PID 1

* Use CMD "exec form" instead of "shell form"
* Use exec "binary" instead of "binary"
* Use apache2 instead of apache2ctl
* See also https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact
@tobybatch tobybatch merged commit 52b3c53 into tobybatch:main Aug 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants