#!/usr/bin/with-contenv bash if [ -n "${PASSWORD}" ]; then PASSARG="-P ${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 \ /config/workspace