Spaces:
Paused
Paused
Create entrypoint.sh
Browse files- entrypoint.sh +10 -0
entrypoint.sh
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
|
| 3 |
+
set -e
|
| 4 |
+
|
| 5 |
+
rm -rf /etc/localtime
|
| 6 |
+
|
| 7 |
+
ln -sf "/usr/share/zoneinfo/${TZ}" /etc/localtime
|
| 8 |
+
echo "${TZ}" > /etc/timezone
|
| 9 |
+
|
| 10 |
+
exec "$@"
|