mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2024-11-22 12:05:41 +01:00
v2 compatibility
This commit is contained in:
parent
524ba35499
commit
a3a6e0f937
@ -24,7 +24,7 @@ RUN \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/code.tar.gz -L \
|
||||
"https://github.com/cdr/code-server/releases/download/${CODE_RELEASE}/code-server${CODE_RELEASE}-linux-x64.tar.gz" && \
|
||||
"https://github.com/cdr/code-server/releases/download/${CODE_RELEASE}/code-server${CODE_RELEASE}-linux-x86_64.tar.gz" && \
|
||||
tar xzf /tmp/code.tar.gz -C \
|
||||
/usr/bin/ --strip-components=1 \
|
||||
--wildcards code-server*/code-server && \
|
||||
|
@ -213,6 +213,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **24.10.19:** - Upgrade to v2 builds.
|
||||
* **28.09.19:** - Update project logo.
|
||||
* **21.09.19:** - Add development builds/tag.
|
||||
* **09.07.19:** - Add optional sudo access.
|
||||
|
@ -65,6 +65,7 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "24.10.19:", desc: "Upgrade to v2 builds." }
|
||||
- { date: "28.09.19:", desc: "Update project logo." }
|
||||
- { date: "21.09.19:", desc: "Add development builds/tag." }
|
||||
- { date: "09.07.19:", desc: "Add optional sudo access." }
|
||||
|
@ -1,18 +1,18 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ -n "${PASSWORD}" ]; then
|
||||
PASSARG="-P ${PASSWORD}"
|
||||
AUTH="--auth password"
|
||||
else
|
||||
PASSARG="-N"
|
||||
echo "starting with no password"
|
||||
fi
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc \
|
||||
/usr/bin/code-server \
|
||||
-H \
|
||||
${PASSARG} \
|
||||
-d /config/data \
|
||||
-e /config/extensions \
|
||||
--port 8443 \
|
||||
--user-data-dir /config/data \
|
||||
--extensions-dir /config/extensions \
|
||||
--disable-telemetry \
|
||||
--disable-updates \
|
||||
${AUTH} \
|
||||
/config/workspace
|
||||
|
Loading…
Reference in New Issue
Block a user