mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 02:31:34 +00:00
Use shim instead of symlink for code CLI (#580)
This commit is contained in:
parent
428b38c68d
commit
412f92627b
2 changed files with 3 additions and 1 deletions
|
@ -61,7 +61,6 @@ RUN \
|
|||
--strip 1 -C /usr/local/lib/code-server \
|
||||
\
|
||||
&& ln -s /usr/local/lib/code-server/bin/code-server /usr/local/bin/code-server \
|
||||
&& ln -s /usr/local/lib/code-server/bin/code-server /usr/local/bin/code \
|
||||
\
|
||||
&& mkdir -p /root/.code-server/extensions \
|
||||
&& uuid=$(uuidgen) \
|
||||
|
|
3
vscode/rootfs/usr/local/bin/code
Executable file
3
vscode/rootfs/usr/local/bin/code
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec /usr/local/lib/code-server/bin/code-server "${@}"
|
Loading…
Add table
Add a link
Reference in a new issue