Skip to content

Commit

Permalink
Merge pull request #17 from linuxserver/helper
Browse files Browse the repository at this point in the history
update install-extension helper
  • Loading branch information
aptalca authored Feb 12, 2022
2 parents a4fc157 + 10ceade commit 94cacae
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ RUN \
git \
jq \
libatomic1 \
libsecret-1-0 \
nano \
net-tools \
sudo && \
Expand Down
1 change: 0 additions & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ RUN \
git \
jq \
libatomic1 \
libsecret-1-0 \
nano \
net-tools \
sudo && \
Expand Down
1 change: 0 additions & 1 deletion Dockerfile.armhf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ RUN \
git \
jq \
libatomic1 \
libsecret-1-0 \
nano \
net-tools \
sudo && \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **12.02.22:** - Update `install-extension` helper to compensate for upstream changes.
* **04.02.22:** - Update binary for 1.64.0+. Allow for no token set when both toekn env vars are unset. Add libsecret for keytar.
* **29.12.21:** - Add `install-extension` as a helper for mods to install extensions.
* **10.12.21:** - Update deprecated connectionToken arg.
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "12.02.22:", desc: "Update `install-extension` helper to compensate for upstream changes." }
- { date: "04.02.22:", desc: "Update binary for 1.64.0+. Allow for no token set when both toekn env vars are unset. Add libsecret for keytar." }
- { 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." }
Expand Down
2 changes: 1 addition & 1 deletion root/usr/local/bin/install-extension
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash

_install=(/app/openvscode-server/bin/openvscode-server "--extensions-dir" "/config/.vscode-remote/extensions" "--install-extension")
_install=(/app/openvscode-server/bin/openvscode-server "--install-extension")

if [ "$(whoami)" == "abc" ]; then
"${_install[@]}" "$@"
Expand Down

0 comments on commit 94cacae

Please sign in to comment.