Compare commits

..

4 Commits

Author SHA1 Message Date
LinuxServer-CI
1d9b0c83d4 Bot Updating Package Versions 2020-03-16 17:06:25 -04:00
aptalca
09bad650e1 Merge pull request #22 from linuxserver/dev-3.0.0
structural changes for v3.0.0
2020-03-05 16:36:40 -05:00
aptalca
f99051341c structural changes for v3.0.0 2020-03-05 16:15:55 -05:00
LinuxServer-CI
aa80452d08 Bot Updating Package Versions 2020-02-24 21:06:44 +00:00
5 changed files with 18 additions and 11 deletions

View File

@@ -11,6 +11,7 @@ LABEL maintainer="aptalca"
ENV HOME="/config"
RUN \
echo "**** install dependencies ****" && \
apt-get update && \
apt-get install -y \
git \
@@ -23,12 +24,14 @@ RUN \
CODE_RELEASE=$(curl -sX GET "https://api.github.com/repos/cdr/code-server/releases" \
| jq -r 'first(.[] | select(.prerelease == true)) | .tag_name'); \
fi && \
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') && \
mkdir -p /app/code-server && \
curl -o \
/tmp/code.tar.gz -L \
"https://github.com/cdr/code-server/releases/download/${CODE_RELEASE}/code-server${CODE_RELEASE}-linux-x86_64.tar.gz" && \
/tmp/code.tar.gz -L \
"${CODE_URL}" && \
tar xzf /tmp/code.tar.gz -C \
/usr/bin/ --strip-components=1 \
--wildcards code-server*/code-server && \
/app/code-server --strip-components=1 && \
echo "**** clean up ****" && \
rm -rf \
/tmp/* \

View File

@@ -229,6 +229,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **05.03.20:** - Updates for v3.0.0 (structural changes).
* **09.07.19:** - Add optional sudo access.
* **01.07.19:** - Add nano.
* **24.06.19:** - Initial Release.

View File

@@ -103,15 +103,15 @@ libsemanage12.7-2build2
libsemanage-common2.7-2build2
libsepol12.7-1
libsmartcols12.31.1-0.4ubuntu3.5
libsqlite3-03.22.0-1ubuntu0.2
libsqlite3-03.22.0-1ubuntu0.3
libss21.44.1-1ubuntu1.3
libssl1.0.01.0.2n-1ubuntu5.3
libssl1.11.1.1-1ubuntu2.1~18.04.5
libstdc++68.3.0-6ubuntu1~18.04.1
libsystemd0237-3ubuntu10.38
libsystemd0237-3ubuntu10.39
libtasn1-64.13-2
libtinfo56.1-1ubuntu1.18.04
libudev1237-3ubuntu10.38
libudev1237-3ubuntu10.39
libunistring20.9.9-0ubuntu2
libuuid12.31.1-0.4ubuntu3.5
libwind0-heimdal7.5.0+dfsg-1

View File

@@ -65,6 +65,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "05.03.20:", desc: "Updates for v3.0.0 (structural changes)." }
- { date: "09.07.19:", desc: "Add optional sudo access." }
- { date: "01.07.19:", desc: "Add nano." }
- { date: "24.06.19:", desc: "Initial Release." }

View File

@@ -1,18 +1,20 @@
#!/usr/bin/with-contenv bash
if [ -n "${PASSWORD}" ]; then
AUTH="--auth password"
AUTH="password"
else
echo "starting with no password"
AUTH="none"
echo "starting with no password"
fi
exec \
s6-setuidgid abc \
/usr/bin/code-server \
/app/code-server/code-server \
--host 0.0.0.0 \
--port 8443 \
--user-data-dir /config/data \
--extensions-dir /config/extensions \
--disable-telemetry \
--disable-updates \
${AUTH} \
--auth ${AUTH} \
/config/workspace