-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #387: Remove deprecated env vars from container configuration
022b74e chore: [#386] remove deprecated container varaibles (Jose Celano) 5b73255 chore: disable shellcheck SC2016 in entryscript (Jose Celano) fe44afa fix: add missing env var in compose.yaml (Jose Celano) Pull request description: Remove deprecated env vars from container configuration. ACKs for top commit: josecelano: ACK 022b74e Tree-SHA512: 7263cb946d5cc1aaece992942fa7e06157637e7f896ebf985d69bad82e0be9962603b0bc1f0df452d1e44519ea6c4694a3e48003eefde68e23212a43ffd23cce
- Loading branch information
Showing
5 changed files
with
5 additions
and
10 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
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,13 +1,10 @@ | ||
#!/bin/bash | ||
|
||
USER_ID=${USER_ID:-1000} | ||
TORRUST_INDEX_RUN_AS_USER=${TORRUST_INDEX_RUN_AS_USER:-appuser} | ||
|
||
echo "Building docker image ..." | ||
echo "USER_ID: $USER_ID" | ||
echo "TORRUST_INDEX_RUN_AS_USER: $TORRUST_INDEX_RUN_AS_USER" | ||
|
||
docker build \ | ||
--build-arg UID="$USER_ID" \ | ||
--build-arg RUN_AS_USER="$TORRUST_INDEX_RUN_AS_USER" \ | ||
-t torrust-index . |
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