mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2024-11-22 20:15: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,12 +14,13 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
exec \
|
exec \
|
||||||
s6-setuidgid abc \
|
s6-notifyoncheck -d -n 7 -w 1000 -c "nc -z 127.0.0.1 8443" \
|
||||||
/app/code-server/bin/code-server \
|
s6-setuidgid abc \
|
||||||
--bind-addr 0.0.0.0:8443 \
|
/app/code-server/bin/code-server \
|
||||||
--user-data-dir /config/data \
|
--bind-addr 0.0.0.0:8443 \
|
||||||
--extensions-dir /config/extensions \
|
--user-data-dir /config/data \
|
||||||
--disable-telemetry \
|
--extensions-dir /config/extensions \
|
||||||
--auth "${AUTH}" \
|
--disable-telemetry \
|
||||||
"${PROXY_DOMAIN_ARG}" \
|
--auth "${AUTH}" \
|
||||||
"${DEFAULT_WORKSPACE:-/config/workspace}"
|
"${PROXY_DOMAIN_ARG}" \
|
||||||
|
"${DEFAULT_WORKSPACE:-/config/workspace}"
|
||||||
|
Loading…
Reference in New Issue
Block a user