File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
root/etc/services.d/code-server Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 2424 fi && \
2525 curl -o \
2626 /tmp/code.tar.gz -L \
27- "https://github.com/cdr/code-server/releases/download/${CODE_RELEASE}/code-server${CODE_RELEASE}-linux-x64 .tar.gz" && \
27+ "https://github.com/cdr/code-server/releases/download/${CODE_RELEASE}/code-server${CODE_RELEASE}-linux-x86_64 .tar.gz" && \
2828 tar xzf /tmp/code.tar.gz -C \
2929 /usr/bin/ --strip-components=1 \
3030 --wildcards code-server*/code-server && \
Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
213213
214214## Versions
215215
216+ * ** 24.10.19:** - Upgrade to v2 builds.
216217* ** 28.09.19:** - Update project logo.
217218* ** 21.09.19:** - Add development builds/tag.
218219* ** 09.07.19:** - Add optional sudo access.
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ app_setup_block: |
6565
6666# changelog
6767changelogs :
68+ - { date: "24.10.19:", desc: "Upgrade to v2 builds." }
6869 - { date: "28.09.19:", desc: "Update project logo." }
6970 - { date: "21.09.19:", desc: "Add development builds/tag." }
7071 - { date: "09.07.19:", desc: "Add optional sudo access." }
Original file line number Diff line number Diff line change 11#!/usr/bin/with-contenv bash
22
33if [ -n "${PASSWORD}" ]; then
4- PASSARG ="-P ${PASSWORD} "
4+ AUTH ="--auth password "
55else
6- PASSARG="-N"
76 echo "starting with no password"
87fi
98
109exec \
1110 s6-setuidgid abc \
1211 /usr/bin/code-server \
13- -H \
14- ${PASSARG} \
15- -d /config/data \
16- -e /config/extensions \
12+ --port 8443 \
13+ --user-data-dir /config/data \
14+ --extensions-dir /config/extensions \
1715 --disable-telemetry \
16+ --disable-updates \
17+ ${AUTH} \
1818 /config/workspace
You can’t perform that action at this time.
0 commit comments