-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#237 - Minor suggestions to improve the container image
- use user id instead of name - pin base image by digest - replace apt with apt-get - use docker metadata action
- Loading branch information
1 parent
39579fa
commit 157da1b
Showing
4 changed files
with
40 additions
and
35 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash -e | ||
|
||
if docker exec -u0 feasibility-gui-backend pgrep -u 10001 java > /dev/null | ||
then | ||
echo "Java process is running as user 10001" | ||
exit 0 | ||
else | ||
echo "Java process is not running as user 10001" | ||
exit 1 | ||
fi |
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