mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2024-11-30 07:55:40 +01:00
commit
1ae56e78a7
@ -11,6 +11,7 @@ LABEL maintainer="aptalca"
|
|||||||
ENV HOME="/config"
|
ENV HOME="/config"
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
|
echo "**** install dependencies ****" && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
git \
|
git \
|
||||||
@ -25,12 +26,12 @@ RUN \
|
|||||||
fi && \
|
fi && \
|
||||||
CODE_URL=$(curl -sX GET "https://api.github.com/repos/cdr/code-server/releases/tags/${CODE_RELEASE}" \
|
CODE_URL=$(curl -sX GET "https://api.github.com/repos/cdr/code-server/releases/tags/${CODE_RELEASE}" \
|
||||||
| jq -r '.assets[] | select(.browser_download_url | contains("linux-x86_64")) | .browser_download_url') && \
|
| jq -r '.assets[] | select(.browser_download_url | contains("linux-x86_64")) | .browser_download_url') && \
|
||||||
|
mkdir -p /app/code-server && \
|
||||||
curl -o \
|
curl -o \
|
||||||
/tmp/code.tar.gz -L \
|
/tmp/code.tar.gz -L \
|
||||||
"${CODE_URL}" && \
|
"${CODE_URL}" && \
|
||||||
tar xzf /tmp/code.tar.gz -C \
|
tar xzf /tmp/code.tar.gz -C \
|
||||||
/usr/bin/ --strip-components=1 \
|
/app/code-server --strip-components=1 && \
|
||||||
--wildcards code-server*/code-server && \
|
|
||||||
echo "**** clean up ****" && \
|
echo "**** clean up ****" && \
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/tmp/* \
|
/tmp/* \
|
||||||
|
@ -229,6 +229,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
|||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
|
* **01.04.20:** - Structural changes required for v3.
|
||||||
* **17.01.20:** - Fix artifact url retrieval from github.
|
* **17.01.20:** - Fix artifact url retrieval from github.
|
||||||
* **24.10.19:** - Upgrade to v2 builds.
|
* **24.10.19:** - Upgrade to v2 builds.
|
||||||
* **28.09.19:** - Update project logo.
|
* **28.09.19:** - Update project logo.
|
||||||
|
@ -65,6 +65,7 @@ app_setup_block: |
|
|||||||
|
|
||||||
# changelog
|
# changelog
|
||||||
changelogs:
|
changelogs:
|
||||||
|
- { date: "01.04.20:", desc: "Structural changes required for v3." }
|
||||||
- { date: "17.01.20:", desc: "Fix artifact url retrieval from github." }
|
- { date: "17.01.20:", desc: "Fix artifact url retrieval from github." }
|
||||||
- { date: "24.10.19:", desc: "Upgrade to v2 builds." }
|
- { date: "24.10.19:", desc: "Upgrade to v2 builds." }
|
||||||
- { date: "28.09.19:", desc: "Update project logo." }
|
- { date: "28.09.19:", desc: "Update project logo." }
|
||||||
|
@ -9,7 +9,8 @@ fi
|
|||||||
|
|
||||||
exec \
|
exec \
|
||||||
s6-setuidgid abc \
|
s6-setuidgid abc \
|
||||||
/usr/bin/code-server \
|
/app/code-server/code-server \
|
||||||
|
--host 0.0.0.0 \
|
||||||
--port 8443 \
|
--port 8443 \
|
||||||
--user-data-dir /config/data \
|
--user-data-dir /config/data \
|
||||||
--extensions-dir /config/extensions \
|
--extensions-dir /config/extensions \
|
||||||
|
Loading…
Reference in New Issue
Block a user