update binary for version 1.64.0+

This commit is contained in:
aptalca 2022-02-04 13:22:44 -05:00
parent 61874fdcda
commit 4ccc729e29
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.
* **30.11.21:** - Fix app folder permissions, add the optional sudo password vars.
* **29.11.21:** - Create `.profile` and `.bashrc` for the user.

View File

@ -62,6 +62,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: "30.11.21:", desc: "Fix app folder permissions, add the optional sudo password vars." }
- { date: "29.11.21:", desc: "Create `.profile` and `.bashrc` for the user." }

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[@]}" "$@"