Skip to content

Commit 961ab3d

Browse files
committed
structural changes for v3
1 parent b8c0234 commit 961ab3d

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ LABEL maintainer="aptalca"
1111
ENV HOME="/config"
1212

1313
RUN \
14+
echo "**** install dependencies ****" && \
1415
apt-get update && \
1516
apt-get install -y \
1617
git \
@@ -25,12 +26,12 @@ RUN \
2526
fi && \
2627
CODE_URL=$(curl -sX GET "https://api.github.com/repos/cdr/code-server/releases/tags/${CODE_RELEASE}" \
2728
| jq -r '.assets[] | select(.browser_download_url | contains("linux-x86_64")) | .browser_download_url') && \
29+
mkdir -p /app/code-server && \
2830
curl -o \
2931
/tmp/code.tar.gz -L \
3032
"${CODE_URL}" && \
3133
tar xzf /tmp/code.tar.gz -C \
32-
/usr/bin/ --strip-components=1 \
33-
--wildcards code-server*/code-server && \
34+
/app/code-server --strip-components=1 && \
3435
echo "**** clean up ****" && \
3536
rm -rf \
3637
/tmp/* \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
229229

230230
## Versions
231231

232+
* **01.04.20:** - Structural changes required for v3.
232233
* **17.01.20:** - Fix artifact url retrieval from github.
233234
* **24.10.19:** - Upgrade to v2 builds.
234235
* **28.09.19:** - Update project logo.

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: "01.04.20:", desc: "Structural changes required for v3." }
6869
- { date: "17.01.20:", desc: "Fix artifact url retrieval from github." }
6970
- { date: "24.10.19:", desc: "Upgrade to v2 builds." }
7071
- { date: "28.09.19:", desc: "Update project logo." }

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ fi
99

1010
exec \
1111
s6-setuidgid abc \
12-
/usr/bin/code-server \
12+
/app/code-server/code-server \
13+
--host 0.0.0.0 \
1314
--port 8443 \
1415
--user-data-dir /config/data \
1516
--extensions-dir /config/extensions \

0 commit comments

Comments
 (0)