tang minghao commited on
Create entrypoint.sh
Browse files- entrypoint.sh +9 -0
entrypoint.sh
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
chmod +x /opt/tinyproxy/
|
| 4 |
+
|
| 5 |
+
chown -R ${PUID}:${PGID} /opt/tinyproxy/
|
| 6 |
+
|
| 7 |
+
umask ${UMASK}
|
| 8 |
+
|
| 9 |
+
exec su-exec ${PUID}:${PGID} tinyproxy -d
|