Fix shell of host image
This commit is contained in:
parent
eb33b607c2
commit
04b6b7e4fe
@ -15,4 +15,6 @@ RUN apt-get update && \
|
|||||||
traceroute \
|
traceroute \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
CMD [ "sh", "-c", "cd; exec bash -i" ]
|
COPY start.sh /start.sh
|
||||||
|
EXPOSE 80
|
||||||
|
CMD ["/bin/sh", "/start.sh"]
|
3
host/start.sh
Normal file
3
host/start.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
while true; do /bin/bash; done
|
Loading…
Reference in New Issue
Block a user