-
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.
Re-add entrypoint for local usage of images (#403)
* Re-add entrypoint for local usage of images * Remove -l in entrypoint
- Loading branch information
Showing
7 changed files
with
37 additions
and
17 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,22 +1,6 @@ | ||
#!/bin/bash -l | ||
#!/bin/bash | ||
set -e | ||
|
||
source /root/.bashrc | ||
|
||
if command -v conda; then | ||
# Only try to use conda if it's installed. | ||
# On ARM32 images, we use the system Python 3 because conda is not supported. | ||
conda activate ddpy3 | ||
fi | ||
|
||
if [ "$DD_TARGET_ARCH" = "aarch64" ] ; then | ||
export GIMME_ARCH=arm64 | ||
elif [ "$DD_TARGET_ARCH" = "armhf" ] ; then | ||
export GIMME_ARCH=arm | ||
fi | ||
|
||
if [ -n "$GIMME_GO_VERSION" ] ; then | ||
eval "$(gimme)" | ||
fi | ||
|
||
exec "$@" |
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
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