mirror of
https://github.com/linuxserver/docker-code-server
synced 2025-06-26 18:27:40 +00:00
Initial commit
This commit is contained in:
8
root/etc/cont-init.d/30-config
Normal file
8
root/etc/cont-init.d/30-config
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
mkdir -p /config/{extensions,data,workplace,.ssh}
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
/opt/code-server \
|
||||
/config
|
||||
6
root/etc/services.d/code-server/run
Normal file
6
root/etc/services.d/code-server/run
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
cd /opt/code-server || exit
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc /opt/code-server/code-server -H -P ${PASSWORD} -d /config/data -e /config/extensions --disable-telemetry /config/workplace
|
||||
Reference in New Issue
Block a user