mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2024-11-26 14:05:41 +01:00
add service readiness
This commit is contained in:
parent
76b18b2e80
commit
9a3c62fd32
@ -20,6 +20,7 @@ RUN \
|
|||||||
libatomic1 \
|
libatomic1 \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
|
netcat \
|
||||||
sudo && \
|
sudo && \
|
||||||
echo "**** install code-server ****" && \
|
echo "**** install code-server ****" && \
|
||||||
if [ -z ${CODE_RELEASE+x} ]; then \
|
if [ -z ${CODE_RELEASE+x} ]; then \
|
||||||
|
@ -20,6 +20,7 @@ RUN \
|
|||||||
libatomic1 \
|
libatomic1 \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
|
netcat \
|
||||||
sudo && \
|
sudo && \
|
||||||
echo "**** install code-server ****" && \
|
echo "**** install code-server ****" && \
|
||||||
if [ -z ${CODE_RELEASE+x} ]; then \
|
if [ -z ${CODE_RELEASE+x} ]; then \
|
||||||
|
@ -20,6 +20,7 @@ RUN \
|
|||||||
libatomic1 \
|
libatomic1 \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
|
netcat \
|
||||||
sudo && \
|
sudo && \
|
||||||
echo "**** install code-server ****" && \
|
echo "**** install code-server ****" && \
|
||||||
if [ -z ${CODE_RELEASE+x} ]; then \
|
if [ -z ${CODE_RELEASE+x} ]; then \
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
3
|
@ -14,6 +14,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
exec \
|
exec \
|
||||||
|
s6-notifyoncheck -d -n 7 -w 1000 -c "nc -z 127.0.0.1 8443" \
|
||||||
s6-setuidgid abc \
|
s6-setuidgid abc \
|
||||||
/app/code-server/bin/code-server \
|
/app/code-server/bin/code-server \
|
||||||
--bind-addr 0.0.0.0:8443 \
|
--bind-addr 0.0.0.0:8443 \
|
||||||
|
Loading…
Reference in New Issue
Block a user