mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2024-12-22 18:37:43 +01:00
update yarn instructions
This commit is contained in:
parent
9d4396ba36
commit
47429478a1
@ -44,9 +44,8 @@ RUN \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||
fi && \
|
||||
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }') && \
|
||||
yarn --production global add code-server@"$CODE_VERSION" && \
|
||||
yarn --production --frozen-lockfile global add code-server@"$CODE_VERSION" && \
|
||||
yarn cache clean && \
|
||||
ln -s /node_modules/.bin/code-server /usr/bin/code-server && \
|
||||
echo "**** clean up ****" && \
|
||||
apt-get purge --auto-remove -y \
|
||||
build-essential \
|
||||
|
@ -44,9 +44,8 @@ RUN \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||
fi && \
|
||||
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }') && \
|
||||
yarn --production global add code-server@"$CODE_VERSION" && \
|
||||
yarn --production --frozen-lockfile global add code-server@"$CODE_VERSION" && \
|
||||
yarn cache clean && \
|
||||
ln -s /node_modules/.bin/code-server /usr/bin/code-server && \
|
||||
echo "**** clean up ****" && \
|
||||
apt-get purge --auto-remove -y \
|
||||
build-essential \
|
||||
|
@ -44,9 +44,8 @@ RUN \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||
fi && \
|
||||
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }') && \
|
||||
yarn --production global add code-server@"$CODE_VERSION" && \
|
||||
yarn --production --frozen-lockfile global add code-server@"$CODE_VERSION" && \
|
||||
yarn cache clean && \
|
||||
ln -s /node_modules/.bin/code-server /usr/bin/code-server && \
|
||||
echo "**** clean up ****" && \
|
||||
apt-get purge --auto-remove -y \
|
||||
build-essential \
|
||||
|
@ -15,7 +15,7 @@ fi
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc \
|
||||
/usr/bin/code-server \
|
||||
/usr/local/bin/code-server \
|
||||
--bind-addr 0.0.0.0:8443 \
|
||||
--user-data-dir /config/data \
|
||||
--extensions-dir /config/extensions \
|
||||
|
Loading…
Reference in New Issue
Block a user