File tree Expand file tree Collapse file tree 4 files changed +4
-7
lines changed
root/etc/services.d/code-server Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 44
44
| awk '/tag_name/{print $4;exit}' FS='[""]' ); \
45
45
fi && \
46
46
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }' ) && \
47
- yarn --production global add code-server@"$CODE_VERSION" && \
47
+ yarn --production --frozen-lockfile global add code-server@"$CODE_VERSION" && \
48
48
yarn cache clean && \
49
- ln -s /node_modules/.bin/code-server /usr/bin/code-server && \
50
49
echo "**** clean up ****" && \
51
50
apt-get purge --auto-remove -y \
52
51
build-essential \
Original file line number Diff line number Diff line change 44
44
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
45
45
fi && \
46
46
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }') && \
47
- yarn --production global add code-server@"$CODE_VERSION" && \
47
+ yarn --production --frozen-lockfile global add code-server@"$CODE_VERSION" && \
48
48
yarn cache clean && \
49
- ln -s /node_modules/.bin/code-server /usr/bin/code-server && \
50
49
echo "**** clean up ****" && \
51
50
apt-get purge --auto-remove -y \
52
51
build-essential \
Original file line number Diff line number Diff line change 44
44
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
45
45
fi && \
46
46
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }') && \
47
- yarn --production global add code-server@"$CODE_VERSION" && \
47
+ yarn --production --frozen-lockfile global add code-server@"$CODE_VERSION" && \
48
48
yarn cache clean && \
49
- ln -s /node_modules/.bin/code-server /usr/bin/code-server && \
50
49
echo "**** clean up ****" && \
51
50
apt-get purge --auto-remove -y \
52
51
build-essential \
Original file line number Diff line number Diff line change 15
15
16
16
exec \
17
17
s6-setuidgid abc \
18
- /usr/bin/code-server \
18
+ /usr/local/ bin/code-server \
19
19
--bind-addr 0.0.0.0:8443 \
20
20
--user-data-dir /config/data \
21
21
--extensions-dir /config/extensions \
You can’t perform that action at this time.
0 commit comments