File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
root/etc/services.d/code-server Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ LABEL maintainer="aptalca"
11
11
ENV HOME="/config"
12
12
13
13
RUN \
14
+ echo "**** install dependencies ****" && \
14
15
apt-get update && \
15
16
apt-get install -y \
16
17
git \
@@ -25,12 +26,12 @@ RUN \
25
26
fi && \
26
27
CODE_URL=$(curl -sX GET "https://api.github.com/repos/cdr/code-server/releases/tags/${CODE_RELEASE}" \
27
28
| jq -r '.assets[] | select(.browser_download_url | contains("linux-x86_64")) | .browser_download_url' ) && \
29
+ mkdir -p /app/code-server && \
28
30
curl -o \
29
31
/tmp/code.tar.gz -L \
30
32
"${CODE_URL}" && \
31
33
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 && \
34
35
echo "**** clean up ****" && \
35
36
rm -rf \
36
37
/tmp/* \
Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
229
229
230
230
## Versions
231
231
232
+ * ** 01.04.20:** - Structural changes required for v3.
232
233
* ** 17.01.20:** - Fix artifact url retrieval from github.
233
234
* ** 24.10.19:** - Upgrade to v2 builds.
234
235
* ** 28.09.19:** - Update project logo.
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: "01.04.20:", desc: "Structural changes required for v3." }
68
69
- { date: "17.01.20:", desc: "Fix artifact url retrieval from github." }
69
70
- { date: "24.10.19:", desc: "Upgrade to v2 builds." }
70
71
- { date: "28.09.19:", desc: "Update project logo." }
Original file line number Diff line number Diff line change 9
9
10
10
exec \
11
11
s6-setuidgid abc \
12
- /usr/bin/code-server \
12
+ /app/code-server/code-server \
13
+ --host 0.0.0.0 \
13
14
--port 8443 \
14
15
--user-data-dir /config/data \
15
16
--extensions-dir /config/extensions \
You can’t perform that action at this time.
0 commit comments