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 24
24
fi && \
25
25
curl -o \
26
26
/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" && \
28
28
tar xzf /tmp/code.tar.gz -C \
29
29
/usr/bin/ --strip-components=1 \
30
30
--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
213
213
214
214
## Versions
215
215
216
+ * ** 24.10.19:** - Upgrade to v2 builds.
216
217
* ** 28.09.19:** - Update project logo.
217
218
* ** 21.09.19:** - Add development builds/tag.
218
219
* ** 09.07.19:** - Add optional sudo access.
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ app_setup_block: |
65
65
66
66
# changelog
67
67
changelogs :
68
+ - { date: "24.10.19:", desc: "Upgrade to v2 builds." }
68
69
- { date: "28.09.19:", desc: "Update project logo." }
69
70
- { date: "21.09.19:", desc: "Add development builds/tag." }
70
71
- { date: "09.07.19:", desc: "Add optional sudo access." }
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv bash
2
2
3
3
if [ -n "${PASSWORD}" ]; then
4
- PASSARG ="-P ${PASSWORD} "
4
+ AUTH ="--auth password "
5
5
else
6
- PASSARG="-N"
7
6
echo "starting with no password"
8
7
fi
9
8
10
9
exec \
11
10
s6-setuidgid abc \
12
11
/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 \
17
15
--disable-telemetry \
16
+ --disable-updates \
17
+ ${AUTH} \
18
18
/config/workspace
You can’t perform that action at this time.
0 commit comments