update binary for 1.64.0+

This commit is contained in:
aptalca 2022-02-04 13:20:48 -05:00
parent fa2bad792d
commit eb71c7540f
4 changed files with 4 additions and 2 deletions

View File

@ -252,6 +252,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **04.02.22:** - Update binary for 1.64.0.
* **29.12.21:** - Add `install-extension` as a helper for mods to install extensions.
* **10.12.21:** - Update deprecated connectionToken arg.
* **30.11.21:** - Fix app folder permissions, add the optional sudo password vars.

View File

@ -61,6 +61,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "04.02.22:", desc: "Update binary for 1.64.0." }
- { date: "29.12.21:", desc: "Add `install-extension` as a helper for mods to install extensions." }
- { date: "10.12.21:", desc: "Update deprecated connectionToken arg." }
- { date: "30.11.21:", desc: "Fix app folder permissions, add the optional sudo password vars." }

View File

@ -19,7 +19,7 @@ cd /app/openvscode-server || exit
exec \
s6-setuidgid abc \
/app/openvscode-server/server.sh \
/app/openvscode-server/bin/openvscode-server \
--port 3000 \
--disable-telemetry \
${CODE_ARGS}

View File

@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
_install=(/app/openvscode-server/server.sh "--extensions-dir" "/config/.vscode-remote/extensions" "--install-extension")
_install=(/app/openvscode-server/bin/openvscode-server "--extensions-dir" "/config/.vscode-remote/extensions" "--install-extension")
if [ "$(whoami)" == "abc" ]; then
"${_install[@]}" "$@"