This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(assets): Ensure apache2/fpm running as PID 1 (#536)
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
- Loading branch information
Showing
3 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -265,7 +265,7 @@ ENV GROUP_ID= | |
|
||
VOLUME [ "/opt/kimai/var" ] | ||
|
||
ENTRYPOINT /startup.sh | ||
CMD [ "/startup.sh" ] | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters