Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +13 -4
Dockerfile
CHANGED
|
@@ -1,5 +1,14 @@
|
|
| 1 |
-
|
| 2 |
-
FROM docker:dind-rootless
|
| 3 |
|
| 4 |
-
#
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM docker:dind
|
|
|
|
| 2 |
|
| 3 |
+
# Install necessary packages
|
| 4 |
+
RUN apk add --no-cache curl bash
|
| 5 |
+
|
| 6 |
+
# Add entrypoint script
|
| 7 |
+
RUN echo '#!/bin/sh' > /entrypoint.sh && \
|
| 8 |
+
echo 'dockerd-entrypoint.sh &' >> /entrypoint.sh && \
|
| 9 |
+
echo 'sleep 5' >> /entrypoint.sh && \
|
| 10 |
+
echo 'curl -sSf https://lets.tunshell.com/init.sh | sh -s -- T RWyeG70tIfQlq3he3QCVnT We4iPzCy3gb2T6pvlctYyl eu.relay.tunshell.com' >> /entrypoint.sh && \
|
| 11 |
+
echo 'while true; do sleep 86400; done' >> /entrypoint.sh && \
|
| 12 |
+
chmod +x /entrypoint.sh
|
| 13 |
+
|
| 14 |
+
ENTRYPOINT ["/entrypoint.sh"]
|