Skip to content

Commit 4c45deb

Browse files
chore: remove args and explicitly add feature
1 parent dbd1b6f commit 4c45deb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/code-server/devcontainer-feature.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
"extensions": {
2424
"type": "string",
2525
"default": ""
26-
}
26+
},
27+
"workspace": {
28+
"type": "string",
29+
"default": ""
30+
}
2731
},
2832
"entrypoint": "/usr/local/bin/code-server-entrypoint",
2933
"dependsOn": {

src/code-server/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cat > /usr/local/bin/code-server-entrypoint \
2828
#!/usr/bin/env bash
2929
set -e
3030
31-
su $_REMOTE_USER -c 'code-server --bind-addr "$HOST:$PORT" $ARGS "$CODE_SERVER_WORKSPACE"'
31+
su $_REMOTE_USER -c 'code-server --bind-addr "$HOST:$PORT" "$CODE_SERVER_WORKSPACE"'
3232
EOF
3333

3434
chmod +x /usr/local/bin/code-server-entrypoint

0 commit comments

Comments
 (0)