mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
devenv
This commit is contained in:
parent
169656e59f
commit
966c19f950
1 changed files with 5 additions and 1 deletions
|
@ -44,7 +44,7 @@ RUN apt-get update \
|
||||||
htop \
|
htop \
|
||||||
nano \
|
nano \
|
||||||
npm \
|
npm \
|
||||||
&& npm install -g @vscode/vsce vsda \
|
&& npm install -g @vscode/vsce \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
# npm and vsce allow code-server to check extensions signatures
|
# npm and vsce allow code-server to check extensions signatures
|
||||||
|
|
||||||
|
@ -77,6 +77,10 @@ RUN if [ "${BUILD_ARCH}" = "aarch64" ]; then HA_CLI_URL="https://github.com/home
|
||||||
&& mv ./ha "/usr/bin/ha" \
|
&& mv ./ha "/usr/bin/ha" \
|
||||||
&& chmod +x "/usr/bin/ha"
|
&& chmod +x "/usr/bin/ha"
|
||||||
|
|
||||||
|
# Resolve code error
|
||||||
|
WORKDIR /usr/lib/code-server/
|
||||||
|
RUN npm add vsda
|
||||||
|
|
||||||
#Copy root file system
|
#Copy root file system
|
||||||
COPY rootfs/ /
|
COPY rootfs/ /
|
||||||
RUN chown -R root:root /root \
|
RUN chown -R root:root /root \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue