forked from PrefectHQ/prefect
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathentrypoint.sh
More file actions
executable file
·25 lines (23 loc) · 795 Bytes
/
entrypoint.sh
File metadata and controls
executable file
·25 lines (23 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
set -e
if [ ! -z "$EXTRA_PIP_PACKAGES" ]; then
echo "+pip install $EXTRA_PIP_PACKAGES"
pip install $EXTRA_PIP_PACKAGES
fi
if [ -z "$*" ]; then
echo "\
_____ _____ ______ ______ ______ _____ _______
| __ \| __ \| ____| ____| ____/ ____|__ __|
| |__) | |__) | |__ | |__ | |__ | | | |
| ___/| _ /| __| | __| | __|| | | |
| | | | \ \| |____| | | |___| |____ | |
|_| |_| \_\______|_| |______\_____| |_|
Thanks for using Prefect!!!
This is the official docker image for Prefect Core, intended for executing
Prefect Flows. For more information, please see the docs:
https://docs.prefect.io/core/getting_started/quick-start.html
"
exec bash --login
else
exec "$@"
fi