Skip to content
Snippets Groups Projects
Commit 35b8e16e authored by aptalca's avatar aptalca Committed by Ryan Kuba
Browse files

fix arguments for v2

parent ed4efdca
No related branches found
Tags 2.1523-vsc1.38.1-ls2
No related merge requests found
#!/usr/bin/with-contenv bash
if [ -n "${PASSWORD}" ]; then
PASSARG="-P ${PASSWORD}"
AUTH="--auth password"
else
PASSARG="-N"
echo "starting with no password"
fi
exec \
s6-setuidgid abc \
/usr/bin/code-server \
-H \
${PASSARG} \
-d /config/data \
-e /config/extensions \
--disable-telemetry \
--port 8443 \
--user-data-dir /config/data \
--extensions-dir /config/extensions \
${AUTH} \
/config/workspace
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment