-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move compmode to entrypoint for runtime evaluation
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 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
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 |
---|---|---|
@@ -1,6 +1,11 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
if [[ ! -z "$SERVER_COMPABILITY_MODE" ]] ; then | ||
echo "Force installing [email protected] to ensure compability with older CPUs" | ||
pnpm install [email protected] | ||
fi | ||
|
||
# If running as root, it means the --user directive for Docker CLI/Compose was not used | ||
# Use then the PUID env | ||
if [ "$(id -u)" = '0' ]; then | ||
|