Skip to content

Commit a3a6e0f

Browse files
aptalcathelamer
authored andcommitted
v2 compatibility
1 parent 524ba35 commit a3a6e0f

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN \
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 && \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ app_setup_block: |
6565
6666
# changelog
6767
changelogs:
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." }

root/etc/services.d/code-server/run

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
#!/usr/bin/with-contenv bash
22

33
if [ -n "${PASSWORD}" ]; then
4-
PASSARG="-P ${PASSWORD}"
4+
AUTH="--auth password"
55
else
6-
PASSARG="-N"
76
echo "starting with no password"
87
fi
98

109
exec \
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

0 commit comments

Comments
 (0)