Fix shell of host image

This commit is contained in:
Pierre HUBERT 2024-09-26 14:53:36 +02:00
parent eb33b607c2
commit 04b6b7e4fe
2 changed files with 6 additions and 1 deletions

View File

@ -15,4 +15,6 @@ RUN apt-get update && \
traceroute \
&& 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
View File

@ -0,0 +1,3 @@
#!/bin/sh
while true; do /bin/bash; done