Compare commits

...

7 Commits

Author SHA1 Message Date
LinuxServer-CI
575ef50b06 Bot Updating Package Versions 2024-09-07 20:19:35 +00:00
LinuxServer-CI
894f3b2c0c Bot Updating Package Versions 2024-08-31 20:21:59 +00:00
LinuxServer-CI
f8b2e10867 Bot Updating Package Versions 2024-08-24 20:19:55 +00:00
LinuxServer-CI
f86741a4c9 Bot Updating Package Versions 2024-08-20 15:12:09 +00:00
Adam
11dbec9f82 Merge pull request #184 from linuxserver/master-noble 2024-08-20 16:08:16 +01:00
thespad
f6e7d4e563 Add Dockerfile syntax 2024-08-19 20:31:41 +01:00
thespad
3b59cd4197 Rebase to noble 2024-08-19 18:51:04 +01:00
14 changed files with 598 additions and 600 deletions

View File

@@ -1,4 +1,6 @@
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy # syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-ubuntu:noble
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@@ -16,11 +18,9 @@ RUN \
apt-get update && \ apt-get update && \
apt-get install -y \ apt-get install -y \
git \ git \
jq \
libatomic1 \ libatomic1 \
nano \ nano \
net-tools \ net-tools \
netcat \
sudo && \ sudo && \
echo "**** install code-server ****" && \ echo "**** install code-server ****" && \
if [ -z ${CODE_RELEASE+x} ]; then \ if [ -z ${CODE_RELEASE+x} ]; then \
@@ -33,6 +33,7 @@ RUN \
"https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server-${CODE_RELEASE}-linux-amd64.tar.gz" && \ "https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server-${CODE_RELEASE}-linux-amd64.tar.gz" && \
tar xf /tmp/code-server.tar.gz -C \ tar xf /tmp/code-server.tar.gz -C \
/app/code-server --strip-components=1 && \ /app/code-server --strip-components=1 && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** clean up ****" && \ echo "**** clean up ****" && \
apt-get clean && \ apt-get clean && \
rm -rf \ rm -rf \

View File

@@ -1,4 +1,6 @@
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy # syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-noble
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@@ -16,11 +18,9 @@ RUN \
apt-get update && \ apt-get update && \
apt-get install -y \ apt-get install -y \
git \ git \
jq \
libatomic1 \ libatomic1 \
nano \ nano \
net-tools \ net-tools \
netcat \
sudo && \ sudo && \
echo "**** install code-server ****" && \ echo "**** install code-server ****" && \
if [ -z ${CODE_RELEASE+x} ]; then \ if [ -z ${CODE_RELEASE+x} ]; then \
@@ -33,6 +33,7 @@ RUN \
"https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server-${CODE_RELEASE}-linux-arm64.tar.gz" && \ "https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server-${CODE_RELEASE}-linux-arm64.tar.gz" && \
tar xf /tmp/code-server.tar.gz -C \ tar xf /tmp/code-server.tar.gz -C \
/app/code-server --strip-components=1 && \ /app/code-server --strip-components=1 && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** clean up ****" && \ echo "**** clean up ****" && \
apt-get clean && \ apt-get clean && \
rm -rf \ rm -rf \

4
Jenkinsfile vendored
View File

@@ -33,8 +33,8 @@ pipeline {
CI_PORT='8443' CI_PORT='8443'
CI_SSL='false' CI_SSL='false'
CI_DELAY='120' CI_DELAY='120'
CI_DOCKERENV='TZ=US/Pacific' CI_DOCKERENV=''
CI_AUTH='user:password' CI_AUTH=''
CI_WEBPATH='' CI_WEBPATH=''
} }
stages { stages {

View File

@@ -101,7 +101,7 @@ services:
- PROXY_DOMAIN=code-server.my.domain #optional - PROXY_DOMAIN=code-server.my.domain #optional
- DEFAULT_WORKSPACE=/config/workspace #optional - DEFAULT_WORKSPACE=/config/workspace #optional
volumes: volumes:
- /path/to/appdata/config:/config - /path/to/code-server/config:/config
ports: ports:
- 8443:8443 - 8443:8443
restart: unless-stopped restart: unless-stopped
@@ -122,7 +122,7 @@ docker run -d \
-e PROXY_DOMAIN=code-server.my.domain `#optional` \ -e PROXY_DOMAIN=code-server.my.domain `#optional` \
-e DEFAULT_WORKSPACE=/config/workspace `#optional` \ -e DEFAULT_WORKSPACE=/config/workspace `#optional` \
-p 8443:8443 \ -p 8443:8443 \
-v /path/to/appdata/config:/config \ -v /path/to/code-server/config:/config \
--restart unless-stopped \ --restart unless-stopped \
lscr.io/linuxserver/code-server:latest lscr.io/linuxserver/code-server:latest
``` ```
@@ -306,6 +306,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions ## Versions
* **19.08.24:** - Rebase to Ubuntu Noble.
* **01.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf) * **01.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)
* **05.10.22:** - Install recommended deps to maintain parity with the older images. * **05.10.22:** - Install recommended deps to maintain parity with the older images.
* **29.09.22:** - Rebase to jammy, switch to s6v3. Fix chown logic to skip `/config/workspace` contents. * **29.09.22:** - Rebase to jammy, switch to s6v3. Fix chown logic to skip `/config/workspace` contents.

View File

@@ -22,6 +22,6 @@ repo_vars:
- CI_PORT='8443' - CI_PORT='8443'
- CI_SSL='false' - CI_SSL='false'
- CI_DELAY='120' - CI_DELAY='120'
- CI_DOCKERENV='TZ=US/Pacific' - CI_DOCKERENV=''
- CI_AUTH='user:password' - CI_AUTH=''
- CI_WEBPATH='' - CI_WEBPATH=''

View File

@@ -29,24 +29,24 @@ NAME VERSION
@xterm/xterm 5.6.0-beta.51 npm @xterm/xterm 5.6.0-beta.51 npm
abbrev 1.1.1 npm abbrev 1.1.1 npm
accepts 1.3.8 npm accepts 1.3.8 npm
adduser 3.118ubuntu5 deb adduser 3.137ubuntu1 deb
agent-base 6.0.2 npm agent-base 6.0.2 npm
agent-base 7.1.0 npm (+1 duplicate) agent-base 7.1.0 npm (+1 duplicate)
agent-base 7.1.1 npm agent-base 7.1.1 npm
ansi-regex 5.0.1 npm ansi-regex 5.0.1 npm
aproba 2.0.0 npm aproba 2.0.0 npm
apt 2.4.12 deb apt 2.7.14build2 deb
apt-utils 2.4.12 deb apt-utils 2.7.14build2 deb
are-we-there-yet 2.0.0 npm are-we-there-yet 2.0.0 npm
argon2 0.31.1 npm argon2 0.31.1 npm
argparse 2.0.1 npm argparse 2.0.1 npm
array-flatten 3.0.0 npm array-flatten 3.0.0 npm
ast-types 0.13.4 npm ast-types 0.13.4 npm
balanced-match 1.0.2 npm balanced-match 1.0.2 npm
base-files 12ubuntu4.6 deb base-files 13ubuntu10.1 deb
base-passwd 3.5.52build1 deb base-passwd 3.6.3build1 deb
base64-js 1.5.1 npm base64-js 1.5.1 npm
bash 5.1-6ubuntu1.1 deb bash 5.2.21-2ubuntu4 deb
basic-ftp 5.0.3 npm basic-ftp 5.0.3 npm
bat 1.0.0 npm bat 1.0.0 npm
beep-boop 1.2.3 npm beep-boop 1.2.3 npm
@@ -55,7 +55,7 @@ bl 4.1.0
body-parser 2.0.0-beta.2 npm body-parser 2.0.0-beta.2 npm
brace-expansion 1.1.11 npm brace-expansion 1.1.11 npm
braces 3.0.3 npm braces 3.0.3 npm
bsdutils 1:2.37.2-4ubuntu3.4 deb bsdutils 1:2.39.3-9ubuntu6.1 deb
buffer 5.7.1 npm buffer 5.7.1 npm
buffer-alloc 1.2.0 npm buffer-alloc 1.2.0 npm
buffer-alloc-unsafe 1.1.0 npm buffer-alloc-unsafe 1.1.0 npm
@@ -64,7 +64,7 @@ buffer-fill 1.0.0
builtin-notebook-renderers 1.0.0 npm builtin-notebook-renderers 1.0.0 npm
bytes 3.0.0 npm bytes 3.0.0 npm
bytes 3.1.2 npm bytes 3.1.2 npm
ca-certificates 20230311ubuntu0.22.04.1 deb ca-certificates 20240203 deb
call-bind 1.0.2 npm call-bind 1.0.2 npm
call-bind 1.0.7 npm call-bind 1.0.7 npm
catatonit 0.1.7-1 deb catatonit 0.1.7-1 deb
@@ -87,19 +87,20 @@ cookie 0.4.1
cookie 0.6.0 npm cookie 0.6.0 npm
cookie-parser 1.4.6 npm cookie-parser 1.4.6 npm
cookie-signature 1.0.6 npm cookie-signature 1.0.6 npm
coreutils 8.32-4.1ubuntu1.2 deb coreutils 9.4-3ubuntu6 deb
cpp 1.0.0 npm cpp 1.0.0 npm
cron 3.0pl1-137ubuntu3 deb cron 3.0pl1-184ubuntu2 deb
cron-daemon-common 3.0pl1-184ubuntu2 deb
crypt 0.0.2 npm crypt 0.0.2 npm
csharp 1.0.0 npm csharp 1.0.0 npm
css 1.0.0 npm css 1.0.0 npm
css-language-features 1.0.0 npm css-language-features 1.0.0 npm
curl 7.81.0-1ubuntu1.17 deb curl 8.5.0-2ubuntu10.3 deb
dart 1.0.0 npm dart 1.0.0 npm
dash 0.5.11+git20210903+057cd650a4ed-3build1 deb dash 0.5.12-6ubuntu5 deb
data-uri-to-buffer 5.0.1 npm data-uri-to-buffer 5.0.1 npm
debconf 1.5.79ubuntu1 deb debconf 1.5.86ubuntu1 deb
debianutils 5.5-1ubuntu2 deb debianutils 5.17build1 deb
debug 2.6.9 npm (+1 duplicate) debug 2.6.9 npm (+1 duplicate)
debug 3.1.0 npm (+2 duplicates) debug 3.1.0 npm (+2 duplicates)
debug 4.3.4 npm (+1 duplicate) debug 4.3.4 npm (+1 duplicate)
@@ -115,11 +116,11 @@ destroy 1.2.0
detect-libc 2.0.1 npm detect-libc 2.0.1 npm
detect-libc 2.0.2 npm detect-libc 2.0.2 npm
diff 1.0.0 npm diff 1.0.0 npm
diffutils 1:3.8-0ubuntu2 deb diffutils 1:3.10-1build1 deb
dirmngr 2.2.27-3ubuntu2.1 deb dirmngr 2.4.4-2ubuntu17 deb
docker 1.0.0 npm docker 1.0.0 npm
dpkg 1.21.1ubuntu2.3 deb dpkg 1.22.6ubuntu6.1 deb
e2fsprogs 1.46.5-2ubuntu1.1 deb e2fsprogs 1.47.0-2.4~exp1ubuntu4.1 deb
ee-first 1.1.1 npm ee-first 1.1.1 npm
emmet 1.0.0 npm emmet 1.0.0 npm
emoji-regex 8.0.0 npm emoji-regex 8.0.0 npm
@@ -143,7 +144,7 @@ fd-slicer 1.1.0
file-uri-to-path 1.0.0 npm file-uri-to-path 1.0.0 npm
fill-range 7.1.1 npm fill-range 7.1.1 npm
finalhandler 1.2.0 npm finalhandler 1.2.0 npm
findutils 4.8.0-1ubuntu3 deb findutils 4.9.0-5build1 deb
follow-redirects 1.15.6 npm follow-redirects 1.15.6 npm
forwarded 0.2.0 npm forwarded 0.2.0 npm
fresh 0.5.2 npm fresh 0.5.2 npm
@@ -156,36 +157,35 @@ fsharp 1.0.0
function-bind 1.1.1 npm (+2 duplicates) function-bind 1.1.1 npm (+2 duplicates)
function-bind 1.1.2 npm function-bind 1.1.2 npm
gauge 3.0.2 npm gauge 3.0.2 npm
gcc-12-base 12.3.0-1ubuntu1~22.04 deb gcc-14-base 14-20240412-0ubuntu1 deb
get-intrinsic 1.2.1 npm get-intrinsic 1.2.1 npm
get-intrinsic 1.2.4 npm (+2 duplicates) get-intrinsic 1.2.4 npm (+2 duplicates)
get-uri 6.0.1 npm get-uri 6.0.1 npm
git 1.0.0 npm git 1.0.0 npm
git 1:2.34.1-1ubuntu1.11 deb git 1:2.43.0-1ubuntu7.1 deb
git-base 1.0.0 npm git-base 1.0.0 npm
git-man 1:2.34.1-1ubuntu1.11 deb git-man 1:2.43.0-1ubuntu7.1 deb
github 0.0.1 npm github 0.0.1 npm
github-authentication 0.0.2 npm github-authentication 0.0.2 npm
github-from-package 0.0.0 npm github-from-package 0.0.0 npm
glob 7.2.3 npm glob 7.2.3 npm
gnupg 2.2.27-3ubuntu2.1 deb gnupg 2.4.4-2ubuntu17 deb
gnupg-l10n 2.2.27-3ubuntu2.1 deb gnupg-l10n 2.4.4-2ubuntu17 deb
gnupg-utils 2.2.27-3ubuntu2.1 deb gnupg-utils 2.4.4-2ubuntu17 deb
go 1.0.0 npm go 1.0.0 npm
gopd 1.0.1 npm gopd 1.0.1 npm
gpg 2.2.27-3ubuntu2.1 deb gpg 2.4.4-2ubuntu17 deb
gpg-agent 2.2.27-3ubuntu2.1 deb gpg-agent 2.4.4-2ubuntu17 deb
gpg-wks-client 2.2.27-3ubuntu2.1 deb gpg-wks-client 2.4.4-2ubuntu17 deb
gpg-wks-server 2.2.27-3ubuntu2.1 deb gpgconf 2.4.4-2ubuntu17 deb
gpgconf 2.2.27-3ubuntu2.1 deb gpgsm 2.4.4-2ubuntu17 deb
gpgsm 2.2.27-3ubuntu2.1 deb gpgv 2.4.4-2ubuntu17 deb
gpgv 2.2.27-3ubuntu2.1 deb
graceful-fs 4.2.11 npm (+1 duplicate) graceful-fs 4.2.11 npm (+1 duplicate)
grep 3.7-1build1 deb grep 3.11-4build1 deb
groovy 1.0.0 npm groovy 1.0.0 npm
grunt 1.0.0 npm grunt 1.0.0 npm
gulp 1.0.0 npm gulp 1.0.0 npm
gzip 1.10-4ubuntu4.1 deb gzip 1.12-1ubuntu3 deb
handlebars 1.0.0 npm handlebars 1.0.0 npm
has 1.0.3 npm has 1.0.3 npm
has-property-descriptors 1.0.2 npm has-property-descriptors 1.0.2 npm
@@ -194,7 +194,7 @@ has-symbols 1.0.3
has-unicode 2.0.1 npm has-unicode 2.0.1 npm
hasown 2.0.0 npm hasown 2.0.0 npm
hlsl 1.0.0 npm hlsl 1.0.0 npm
hostname 3.23ubuntu2 deb hostname 3.23+nmu2ubuntu2 deb
html 1.0.0 npm html 1.0.0 npm
html-language-features 1.0.0 npm html-language-features 1.0.0 npm
http-errors 2.0.0 npm http-errors 2.0.0 npm
@@ -212,7 +212,7 @@ inflight 1.0.6
inherits 2.0.4 npm (+1 duplicate) inherits 2.0.4 npm (+1 duplicate)
ini 1.0.0 npm ini 1.0.0 npm
ini 1.3.8 npm ini 1.3.8 npm
init-system-helpers 1.62 deb init-system-helpers 1.66ubuntu1 deb
ip 1.1.9 npm ip 1.1.9 npm
ip 2.0.1 npm ip 2.0.1 npm
ip-address 9.0.5 npm ip-address 9.0.5 npm
@@ -228,7 +228,7 @@ isexe 2.0.0
jake 1.0.0 npm jake 1.0.0 npm
java 1.0.0 npm java 1.0.0 npm
javascript 1.0.0 npm javascript 1.0.0 npm
jq 1.6-2.1ubuntu3 deb jq 1.7.1-3build1 deb
js-base64 3.7.7 npm js-base64 3.7.7 npm
js-debug 1.92.0 npm js-debug 1.92.0 npm
js-debug-companion 1.1.3 npm js-debug-companion 1.1.3 npm
@@ -242,124 +242,121 @@ jsonfile 6.1.0
julia 1.0.0 npm julia 1.0.0 npm
just-performance 4.3.0 npm just-performance 4.3.0 npm
kerberos 2.1.1-alpha.0 npm kerberos 2.1.1-alpha.0 npm
keyboxd 2.4.4-2ubuntu17 deb
krb5-locales 1.20.1-6ubuntu2.1 deb
latex 1.0.0 npm latex 1.0.0 npm
less 1.0.0 npm less 1.0.0 npm
less 590-1ubuntu0.22.04.3 deb less 590-2ubuntu2.1 deb
libacl1 2.3.1-1 deb libacl1 2.3.2-1build1 deb
libapt-pkg6.0 2.4.12 deb libapparmor1 4.0.1really4.0.0-beta3-0ubuntu0.1 deb
libassuan0 2.5.5-1build1 deb libapt-pkg6.0t64 2.7.14build2 deb
libatomic1 12.3.0-1ubuntu1~22.04 deb libassuan0 2.5.6-1build1 deb
libattr1 1:2.5.1-1build1 deb libatomic1 14-20240412-0ubuntu1 deb
libaudit-common 1:3.0.7-1build1 deb libattr1 1:2.5.2-1build1 deb
libaudit1 1:3.0.7-1build1 deb libaudit-common 1:3.1.2-2.1build1 deb
libblkid1 2.37.2-4ubuntu3.4 deb libaudit1 1:3.1.2-2.1build1 deb
libbrotli1 1.0.9-2build6 deb libblkid1 2.39.3-9ubuntu6.1 deb
libbsd0 0.11.5-1 deb libbrotli1 1.1.0-2build2 deb
libbz2-1.0 1.0.8-5build1 deb libbsd0 0.12.1-1build1 deb
libc-bin 2.35-0ubuntu3.8 deb libbz2-1.0 1.0.8-5.1build0.1 deb
libc6 2.35-0ubuntu3.8 deb libc-bin 2.39-0ubuntu8.3 deb
libcap-ng0 0.7.9-2.2build3 deb libc6 2.39-0ubuntu8.3 deb
libcap2 1:2.44-1ubuntu0.22.04.1 deb libcap-ng0 0.8.4-2build2 deb
libcbor0.8 0.8.0-2ubuntu1 deb libcap2 1:2.66-5ubuntu2 deb
libcom-err2 1.46.5-2ubuntu1.1 deb libcbor0.10 0.10.2-1.2ubuntu2 deb
libcrypt1 1:4.4.27-1 deb libcom-err2 1.47.0-2.4~exp1ubuntu4.1 deb
libcurl3-gnutls 7.81.0-1ubuntu1.17 deb libcrypt1 1:4.4.36-4build1 deb
libcurl4 7.81.0-1ubuntu1.17 deb libcurl3t64-gnutls 8.5.0-2ubuntu10.3 deb
libdb5.3 5.3.28+dfsg1-0.8ubuntu3 deb libcurl4t64 8.5.0-2ubuntu10.3 deb
libdebconfclient0 0.261ubuntu1 deb libdb5.3t64 5.3.28+dfsg2-7 deb
libedit2 3.1-20210910-1build1 deb libdebconfclient0 0.271ubuntu3 deb
liberror-perl 0.17029-1 deb libedit2 3.1-20230828-1build1 deb
libexpat1 2.4.7-1ubuntu0.3 deb liberror-perl 0.17029-2 deb
libext2fs2 1.46.5-2ubuntu1.1 deb libexpat1 2.6.1-2build1 deb
libffi8 3.4.2-4 deb libext2fs2t64 1.47.0-2.4~exp1ubuntu4.1 deb
libfido2-1 1.10.0-1 deb libffi8 3.4.6-1build1 deb
libgcc-s1 12.3.0-1ubuntu1~22.04 deb libfido2-1 1.14.0-1build3 deb
libgcrypt20 1.9.4-3ubuntu3 deb libgcc-s1 14-20240412-0ubuntu1 deb
libgdbm-compat4 1.23-1 deb libgcrypt20 1.10.3-2build1 deb
libgdbm6 1.23-1 deb libgdbm-compat4t64 1.23-5.1build1 deb
libgmp10 2:6.2.1+dfsg-3ubuntu1 deb libgdbm6t64 1.23-5.1build1 deb
libgnutls30 3.7.3-4ubuntu1.5 deb libgmp10 2:6.3.0+dfsg-2ubuntu6 deb
libgpg-error0 1.43-3 deb libgnutls30t64 3.8.3-1.1ubuntu3.2 deb
libgssapi-krb5-2 1.19.2-2ubuntu0.4 deb libgpg-error0 1.47-3build2 deb
libhogweed6 3.7.3-1build2 deb libgssapi-krb5-2 1.20.1-6ubuntu2.1 deb
libidn2-0 2.3.2-2build1 deb libhogweed6t64 3.9.1-2.2build1.1 deb
libjq1 1.6-2.1ubuntu3 deb libidn2-0 2.3.7-2build1 deb
libk5crypto3 1.19.2-2ubuntu0.4 deb libjq1 1.7.1-3build1 deb
libkeyutils1 1.6.1-2ubuntu3 deb libk5crypto3 1.20.1-6ubuntu2.1 deb
libkrb5-3 1.19.2-2ubuntu0.4 deb libkeyutils1 1.6.3-3build1 deb
libkrb5support0 1.19.2-2ubuntu0.4 deb libkrb5-3 1.20.1-6ubuntu2.1 deb
libksba8 1.6.0-2ubuntu0.2 deb libkrb5support0 1.20.1-6ubuntu2.1 deb
libldap-2.5-0 2.5.18+dfsg-0ubuntu0.22.04.2 deb libksba8 1.6.6-1build1 deb
libldap-common 2.5.18+dfsg-0ubuntu0.22.04.2 deb libldap-common 2.6.7+dfsg-1~exp1ubuntu8 deb
liblz4-1 1.9.3-2build2 deb libldap2 2.6.7+dfsg-1~exp1ubuntu8 deb
liblzma5 5.2.5-2ubuntu1 deb liblz4-1 1.9.4-1build1.1 deb
libmd0 1.0.4-1build1 deb liblzma5 5.6.1+really5.4.5-1build0.1 deb
libmount1 2.37.2-4ubuntu3.4 deb libmd0 1.1.0-2build1 deb
libncurses6 6.3-2ubuntu0.1 deb libmount1 2.39.3-9ubuntu6.1 deb
libncursesw6 6.3-2ubuntu0.1 deb libncursesw6 6.4+20240113-1ubuntu2 deb
libnettle8 3.7.3-1build2 deb libnettle8t64 3.9.1-2.2build1.1 deb
libnghttp2-14 1.43.0-1ubuntu0.2 deb libnghttp2-14 1.59.0-1ubuntu0.1 deb
libnpth0 1.6-3build2 deb libnpth0t64 1.6-3.1build1 deb
libnsl2 1.3.0-2build2 deb libonig5 6.9.9-1build1 deb
libonig5 6.9.7.1-2build1 deb libp11-kit0 0.25.3-4ubuntu2.1 deb
libp11-kit0 0.24.0-6build1 deb libpam-modules 1.5.3-5ubuntu5.1 deb
libpam-modules 1.4.0-11ubuntu2.4 deb libpam-modules-bin 1.5.3-5ubuntu5.1 deb
libpam-modules-bin 1.4.0-11ubuntu2.4 deb libpam-runtime 1.5.3-5ubuntu5.1 deb
libpam-runtime 1.4.0-11ubuntu2.4 deb libpam0g 1.5.3-5ubuntu5.1 deb
libpam0g 1.4.0-11ubuntu2.4 deb libpcre2-8-0 10.42-4ubuntu2 deb
libpcre2-8-0 10.39-3ubuntu0.1 deb libperl5.38t64 5.38.2-3.2build2 deb
libpcre3 2:8.39-13ubuntu0.22.04.1 deb libproc2-0 2:4.0.4-4ubuntu3 deb
libperl5.34 5.34.0-3ubuntu1.3 deb libpsl5t64 0.21.2-1.1build1 deb
libprocps8 2:3.3.17-6ubuntu2.1 deb libreadline8t64 8.2-4build1 deb
libpsl5 0.21.0-1.2build2 deb librtmp1 2.4+20151223.gitfa8646d.1-2build7 deb
libreadline8 8.1.2-1 deb libsasl2-2 2.1.28+dfsg1-5ubuntu3.1 deb
librtmp1 2.4+20151223.gitfa8646d.1-2build4 deb libsasl2-modules 2.1.28+dfsg1-5ubuntu3.1 deb
libsasl2-2 2.1.27+dfsg2-3ubuntu1.2 deb libsasl2-modules-db 2.1.28+dfsg1-5ubuntu3.1 deb
libsasl2-modules 2.1.27+dfsg2-3ubuntu1.2 deb libseccomp2 2.5.5-1ubuntu3.1 deb
libsasl2-modules-db 2.1.27+dfsg2-3ubuntu1.2 deb libselinux1 3.5-2ubuntu2 deb
libseccomp2 2.5.3-2ubuntu2 deb libsemanage-common 3.5-1build5 deb
libselinux1 3.3-1build2 deb libsemanage2 3.5-1build5 deb
libsemanage-common 3.3-1build2 deb libsepol2 3.5-2build1 deb
libsemanage2 3.3-1build2 deb libsmartcols1 2.39.3-9ubuntu6.1 deb
libsepol2 3.3-1build1 deb libsqlite3-0 3.45.1-1ubuntu2 deb
libsmartcols1 2.37.2-4ubuntu3.4 deb libss2 1.47.0-2.4~exp1ubuntu4.1 deb
libsqlite3-0 3.37.2-2ubuntu0.3 deb libssh-4 0.10.6-2build2 deb
libss2 1.46.5-2ubuntu1.1 deb libssl3t64 3.0.13-0ubuntu3.4 deb
libssh-4 0.9.6-2ubuntu0.22.04.3 deb libstdc++6 14-20240412-0ubuntu1 deb
libssl3 3.0.2-0ubuntu1.17 deb libsystemd0 255.4-1ubuntu8.4 deb
libstdc++6 12.3.0-1ubuntu1~22.04 deb libtasn1-6 4.19.0-3build1 deb
libsystemd0 249.11-0ubuntu3.12 deb libtinfo6 6.4+20240113-1ubuntu2 deb
libtasn1-6 4.18.0-4build1 deb libudev1 255.4-1ubuntu8.4 deb
libtinfo6 6.3-2ubuntu0.1 deb libunistring5 1.1-2build1 deb
libtirpc-common 1.3.2-2ubuntu0.1 deb libuuid1 2.39.3-9ubuntu6.1 deb
libtirpc3 1.3.2-2ubuntu0.1 deb libx11-6 2:1.8.7-1build1 deb
libudev1 249.11-0ubuntu3.12 deb libx11-data 2:1.8.7-1build1 deb
libunistring2 1.0-1 deb libxau6 1:1.0.9-1build6 deb
libuuid1 2.37.2-4ubuntu3.4 deb libxcb1 1.15-1ubuntu2 deb
libx11-6 2:1.7.5-1ubuntu0.3 deb libxdmcp6 1:1.1.3-0ubuntu6 deb
libx11-data 2:1.7.5-1ubuntu0.3 deb libxext6 2:1.3.4-1build2 deb
libxau6 1:1.0.9-1build5 deb libxmuu1 2:1.1.3-3build2 deb
libxcb1 1.14-3ubuntu3 deb libxxhash0 0.8.2-2build1 deb
libxdmcp6 1:1.1.3-0ubuntu5 deb libzstd1 1.5.5+dfsg2-2build1.1 deb
libxext6 2:1.3.4-1build1 deb
libxmuu1 2:1.1.3-3 deb
libxxhash0 0.8.1-1 deb
libzstd1 1.4.8+dfsg-3build1 deb
limiter 2.1.0 npm limiter 2.1.0 npm
locales 2.35-0ubuntu3.8 deb locales 2.39-0ubuntu8.3 deb
log 1.0.0 npm log 1.0.0 npm
login 1:4.8.1-2ubuntu2.2 deb login 1:4.13+dfsg1-4ubuntu3 deb
logsave 1.46.5-2ubuntu1.1 deb logsave 1.47.0-2.4~exp1ubuntu4.1 deb
lru-cache 6.0.0 npm (+1 duplicate) lru-cache 6.0.0 npm (+1 duplicate)
lru-cache 7.18.3 npm lru-cache 7.18.3 npm
lsb-base 11.1.0ubuntu4 deb
lua 1.0.0 npm lua 1.0.0 npm
make 1.0.0 npm make 1.0.0 npm
make-dir 3.1.0 npm make-dir 3.1.0 npm
markdown 1.0.0 npm markdown 1.0.0 npm
markdown-language-features 1.0.0 npm markdown-language-features 1.0.0 npm
markdown-math 1.0.0 npm markdown-math 1.0.0 npm
mawk 1.3.4.20200120-3 deb mawk 1.3.4.20240123-1build1 deb
md5 2.3.0 npm md5 2.3.0 npm
media-preview 1.0.0 npm media-preview 1.0.0 npm
media-typer 0.3.0 npm media-typer 0.3.0 npm
@@ -378,20 +375,19 @@ minipass 5.0.0
minizlib 2.1.2 npm minizlib 2.1.2 npm
mkdirp 1.0.4 npm (+1 duplicate) mkdirp 1.0.4 npm (+1 duplicate)
mkdirp-classic 0.5.3 npm mkdirp-classic 0.5.3 npm
mount 2.37.2-4ubuntu3.4 deb mount 2.39.3-9ubuntu6.1 deb
ms 2.0.0 npm (+1 duplicate) ms 2.0.0 npm (+1 duplicate)
ms 2.1.2 npm (+1 duplicate) ms 2.1.2 npm (+1 duplicate)
ms 2.1.3 npm ms 2.1.3 npm
nano 6.2-1 deb nano 7.2-2build1 deb
napi-build-utils 1.0.2 npm napi-build-utils 1.0.2 npm
native-watchdog 1.4.2 npm native-watchdog 1.4.2 npm
ncurses-base 6.3-2ubuntu0.1 deb ncurses-base 6.4+20240113-1ubuntu2 deb
ncurses-bin 6.3-2ubuntu0.1 deb ncurses-bin 6.4+20240113-1ubuntu2 deb
negotiator 0.6.3 npm negotiator 0.6.3 npm
net-tools 1.60+git20181103.0eebece-1ubuntu5 deb net-tools 2.10-0.1ubuntu4 deb
netbase 6.3 deb netbase 6.4 deb
netcat 1.218-4ubuntu1 deb netcat-openbsd 1.226-1ubuntu2 deb
netcat-openbsd 1.218-4ubuntu1 deb
netmask 2.0.2 npm netmask 2.0.2 npm
node 20.11.1 binary node 20.11.1 binary
node-abi 3.8.0 npm node-abi 3.8.0 npm
@@ -413,33 +409,33 @@ objective-c 1.0.0
on-finished 2.4.1 npm on-finished 2.4.1 npm
on-headers 1.0.2 npm on-headers 1.0.2 npm
once 1.4.0 npm (+1 duplicate) once 1.4.0 npm (+1 duplicate)
openssh-client 1:8.9p1-3ubuntu0.10 deb openssh-client 1:9.6p1-3ubuntu13.5 deb
openssl 3.0.2-0ubuntu1.17 deb openssl 3.0.13-0ubuntu3.4 deb
os-tmpdir 1.0.2 npm os-tmpdir 1.0.2 npm
pac-proxy-agent 7.0.1 npm pac-proxy-agent 7.0.1 npm
pac-resolver 7.0.0 npm pac-resolver 7.0.0 npm
parseurl 1.3.3 npm parseurl 1.3.3 npm
passwd 1:4.8.1-2ubuntu2.2 deb passwd 1:4.13+dfsg1-4ubuntu3 deb
patch 2.7.6-7build2 deb patch 2.7.6-7build3 deb
path-is-absolute 1.0.1 npm path-is-absolute 1.0.1 npm
path-to-regexp 3.2.0 npm path-to-regexp 3.2.0 npm
pem 1.14.8 npm pem 1.14.8 npm
pend 1.2.0 npm pend 1.2.0 npm
perl 1.0.0 npm perl 1.0.0 npm
perl 5.34.0-3ubuntu1.3 deb perl 5.38.2-3.2build2 deb
perl-base 5.34.0-3ubuntu1.3 deb perl-base 5.38.2-3.2build2 deb
perl-modules-5.34 5.34.0-3ubuntu1.3 deb perl-modules-5.38 5.38.2-3.2build2 deb
php 1.0.0 npm php 1.0.0 npm
php-language-features 1.0.0 npm php-language-features 1.0.0 npm
picomatch 2.3.1 npm picomatch 2.3.1 npm
pinentry-curses 1.1.1-1build2 deb pinentry-curses 1.2.1-3ubuntu5 deb
powershell 1.0.0 npm powershell 1.0.0 npm
prebuild-install 7.1.2 npm prebuild-install 7.1.2 npm
procps 2:3.3.17-6ubuntu2.1 deb procps 2:4.0.4-4ubuntu3 deb
proxy-addr 2.0.7 npm proxy-addr 2.0.7 npm
proxy-agent 6.4.0 npm proxy-agent 6.4.0 npm
proxy-from-env 1.1.0 npm (+1 duplicate) proxy-from-env 1.1.0 npm (+1 duplicate)
publicsuffix 20211207.1025-1 deb publicsuffix 20231001.0357-0.1 deb
pug 1.0.0 npm pug 1.0.0 npm
pump 3.0.0 npm pump 3.0.0 npm
python 1.0.0 npm python 1.0.0 npm
@@ -452,7 +448,7 @@ razor 1.0.0
rc 1.2.8 npm rc 1.2.8 npm
readable-stream 3.6.0 npm readable-stream 3.6.0 npm
readable-stream 3.6.2 npm readable-stream 3.6.2 npm
readline-common 8.1.2-1 deb readline-common 8.2-4build1 deb
references-view 1.0.0 npm references-view 1.0.0 npm
regenerator-runtime 0.14.0 npm regenerator-runtime 0.14.0 npm
requires-port 1.0.0 npm requires-port 1.0.0 npm
@@ -468,12 +464,12 @@ safe-compare 1.1.4
safer-buffer 2.1.2 npm safer-buffer 2.1.2 npm
scss 1.0.0 npm scss 1.0.0 npm
search-result 1.0.0 npm search-result 1.0.0 npm
sed 4.8-1ubuntu2 deb sed 4.9-2build1 deb
semver 6.3.1 npm semver 6.3.1 npm
semver 7.5.4 npm semver 7.5.4 npm
semver 7.6.0 npm semver 7.6.0 npm
send 1.0.0-beta.2 npm send 1.0.0-beta.2 npm
sensible-utils 0.0.17 deb sensible-utils 0.0.22 deb
serve-static 2.0.0-beta.2 npm serve-static 2.0.0-beta.2 npm
set-blocking 2.0.0 npm set-blocking 2.0.0 npm
set-function-length 1.2.2 npm set-function-length 1.2.2 npm
@@ -499,10 +495,11 @@ string-width 4.2.3
string_decoder 1.3.0 npm (+1 duplicate) string_decoder 1.3.0 npm (+1 duplicate)
strip-ansi 6.0.1 npm strip-ansi 6.0.1 npm
strip-json-comments 2.0.1 npm strip-json-comments 2.0.1 npm
sudo 1.9.9-1ubuntu2.4 deb sudo 1.9.15p5-3ubuntu5 deb
swift 1.0.0 npm swift 1.0.0 npm
sysvinit-utils 3.01-1ubuntu1 deb systemd-standalone-sysusers 255.4-1ubuntu8.4 deb
tar 1.34+dfsg-1ubuntu0.1.22.04.2 deb sysvinit-utils 3.08-6ubuntu3 deb
tar 1.35+dfsg-3build1 deb
tar 6.2.1 npm tar 6.2.1 npm
tar-fs 2.1.1 npm tar-fs 2.1.1 npm
tar-stream 2.2.0 npm tar-stream 2.2.0 npm
@@ -527,14 +524,13 @@ type-is 1.6.18
typescript 1.0.0 npm typescript 1.0.0 npm
typescript 5.5.4 npm typescript 5.5.4 npm
typescript-language-features 1.0.0 npm typescript-language-features 1.0.0 npm
tzdata 2024a-0ubuntu0.22.04.1 deb tzdata 2024a-3ubuntu1.1 deb
ubuntu-keyring 2021.03.26 deb ubuntu-keyring 2023.11.28.1 deb
universalify 0.1.2 npm universalify 0.1.2 npm
universalify 2.0.1 npm universalify 2.0.1 npm
unpipe 1.0.0 npm unpipe 1.0.0 npm
usrmerge 25ubuntu2 deb
util-deprecate 1.0.2 npm (+1 duplicate) util-deprecate 1.0.2 npm (+1 duplicate)
util-linux 2.37.2-4ubuntu3.4 deb util-linux 2.39.3-9ubuntu6.1 deb
utils-merge 1.0.1 npm utils-merge 1.0.1 npm
uuid 9.0.1 npm uuid 9.0.1 npm
vary 1.1.2 npm vary 1.1.2 npm
@@ -555,7 +551,7 @@ which 2.0.2
wide-align 1.1.5 npm wide-align 1.1.5 npm
wrappy 1.0.2 npm (+1 duplicate) wrappy 1.0.2 npm (+1 duplicate)
ws 8.17.1 npm ws 8.17.1 npm
xauth 1:1.1-1build2 deb xauth 1:1.1.2-1build1 deb
xdg-basedir 4.0.0 npm xdg-basedir 4.0.0 npm
xml 1.0.0 npm xml 1.0.0 npm
yallist 4.0.0 npm (+1 duplicate) yallist 4.0.0 npm (+1 duplicate)
@@ -563,4 +559,4 @@ yaml 1.0.0
yauzl 2.10.0 npm yauzl 2.10.0 npm
yauzl 3.1.1 npm yauzl 3.1.1 npm
yazl 2.4.3 npm yazl 2.4.3 npm
zlib1g 1:1.2.11.dfsg-2ubuntu9.2 deb zlib1g 1:1.3.dfsg-3.1ubuntu2.1 deb

View File

@@ -10,22 +10,16 @@ project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_
available_architectures: available_architectures:
- {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"} - {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
- {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"} - {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
# development version
development_versions: false
development_versions_items:
- {tag: "latest", desc: "Stable releases"}
# container parameters # container parameters
common_param_env_vars_enabled: true common_param_env_vars_enabled: true
param_container_name: "{{ project_name }}" param_container_name: "{{ project_name }}"
param_usage_include_vols: true param_usage_include_vols: true
param_volumes: param_volumes:
- {vol_path: "/config", vol_host_path: "/path/to/appdata/config", desc: "Contains all relevant configuration files."} - {vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Contains all relevant configuration files."}
param_usage_include_ports: true param_usage_include_ports: true
param_ports: param_ports:
- {external_port: "8443", internal_port: "8443", port_desc: "web gui"} - {external_port: "8443", internal_port: "8443", port_desc: "web gui"}
param_usage_include_env: true
param_env_vars:
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"}
# optional container parameters # optional container parameters
opt_param_usage_include_env: true opt_param_usage_include_env: true
opt_param_env_vars: opt_param_env_vars:
@@ -35,8 +29,7 @@ opt_param_env_vars:
- {env_var: "SUDO_PASSWORD_HASH", env_value: "", desc: "Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`."} - {env_var: "SUDO_PASSWORD_HASH", env_value: "", desc: "Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`."}
- {env_var: "PROXY_DOMAIN", env_value: "code-server.my.domain", desc: "If this optional variable is set, this domain will be proxied for subdomain proxying. See [Documentation](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#sub-domains)"} - {env_var: "PROXY_DOMAIN", env_value: "code-server.my.domain", desc: "If this optional variable is set, this domain will be proxied for subdomain proxying. See [Documentation](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#sub-domains)"}
- {env_var: "DEFAULT_WORKSPACE", env_value: "/config/workspace", desc: "If this optional variable is set, code-server will open this directory by default"} - {env_var: "DEFAULT_WORKSPACE", env_value: "/config/workspace", desc: "If this optional variable is set, code-server will open this directory by default"}
optional_block_1: false
optional_block_1_items: ""
# application setup block # application setup block
app_setup_block_enabled: true app_setup_block_enabled: true
app_setup_block: | app_setup_block: |
@@ -54,6 +47,7 @@ app_setup_block: |
How to create the [hashed password](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#can-i-store-my-password-hashed). How to create the [hashed password](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#can-i-store-my-password-hashed).
# changelog # changelog
changelogs: changelogs:
- {date: "19.08.24:", desc: "Rebase to Ubuntu Noble."}
- {date: "01.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"} - {date: "01.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}
- {date: "05.10.22:", desc: "Install recommended deps to maintain parity with the older images."} - {date: "05.10.22:", desc: "Install recommended deps to maintain parity with the older images."}
- {date: "29.09.22:", desc: "Rebase to jammy, switch to s6v3. Fix chown logic to skip `/config/workspace` contents."} - {date: "29.09.22:", desc: "Rebase to jammy, switch to s6v3. Fix chown logic to skip `/config/workspace` contents."}

View File

@@ -1,14 +1,15 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
# shellcheck shell=bash
mkdir -p /config/{extensions,data,workspace,.ssh} mkdir -p /config/{extensions,data,workspace,.ssh}
if [ -n "${SUDO_PASSWORD}" ] || [ -n "${SUDO_PASSWORD_HASH}" ]; then if [[ -n "${SUDO_PASSWORD}" ]] || [[ -n "${SUDO_PASSWORD_HASH}" ]]; then
echo "setting up sudo access" echo "setting up sudo access"
if ! grep -q 'abc' /etc/sudoers; then if ! grep -q 'abc' /etc/sudoers; then
echo "adding abc to sudoers" echo "adding abc to sudoers"
echo "abc ALL=(ALL:ALL) ALL" >> /etc/sudoers echo "abc ALL=(ALL:ALL) ALL" >> /etc/sudoers
fi fi
if [ -n "${SUDO_PASSWORD_HASH}" ]; then if [[ -n "${SUDO_PASSWORD_HASH}" ]]; then
echo "setting sudo password using sudo password hash" echo "setting sudo password using sudo password hash"
sed -i "s|^abc:\!:|abc:${SUDO_PASSWORD_HASH}:|" /etc/shadow sed -i "s|^abc:\!:|abc:${SUDO_PASSWORD_HASH}:|" /etc/shadow
else else
@@ -17,15 +18,18 @@ if [ -n "${SUDO_PASSWORD}" ] || [ -n "${SUDO_PASSWORD_HASH}" ]; then
fi fi
fi fi
[[ ! -f /config/.bashrc ]] && \ if [[ ! -f /config/.bashrc ]]; then
cp /root/.bashrc /config/.bashrc cp /root/.bashrc /config/.bashrc
[[ ! -f /config/.profile ]] && \ fi
if [[ ! -f /config/.profile ]]; then
cp /root/.profile /config/.profile cp /root/.profile /config/.profile
fi
# fix permissions (ignore contents of /config/workspace) # fix permissions (ignore contents of /config/workspace)
find /config -path /config/workspace -prune -o -exec chown abc:abc {} + find /config -path /config/workspace -prune -o -exec chown abc:abc {} +
chown abc:abc /config/workspace chown abc:abc /config/workspace
chmod 700 /config/.ssh chmod 700 /config/.ssh
if [ -n "$(ls -A /config/.ssh)" ]; then if [[ -n "$(ls -A /config/.ssh)" ]]; then
chmod 600 /config/.ssh/* chmod 600 /config/.ssh/*
fi fi

View File

@@ -1,13 +1,14 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
# shellcheck shell=bash
if [ -n "${PASSWORD}" ] || [ -n "${HASHED_PASSWORD}" ]; then if [[ -n "${PASSWORD}" ]] || [[ -n "${HASHED_PASSWORD}" ]]; then
AUTH="password" AUTH="password"
else else
AUTH="none" AUTH="none"
echo "starting with no password" echo "starting with no password"
fi fi
if [ -z ${PROXY_DOMAIN+x} ]; then if [[ -z ${PROXY_DOMAIN+x} ]]; then
PROXY_DOMAIN_ARG="" PROXY_DOMAIN_ARG=""
else else
PROXY_DOMAIN_ARG="--proxy-domain=${PROXY_DOMAIN}" PROXY_DOMAIN_ARG="--proxy-domain=${PROXY_DOMAIN}"

View File

@@ -3,7 +3,7 @@
_install=(/app/code-server/bin/code-server "--extensions-dir" "/config/extensions" "--install-extension") _install=(/app/code-server/bin/code-server "--extensions-dir" "/config/extensions" "--install-extension")
if [ "$(whoami)" == "abc" ]; then if [[ "$(whoami)" == "abc" ]]; then
"${_install[@]}" "$@" "${_install[@]}" "$@"
else else
s6-setuidgid abc "${_install[@]}" "$@" s6-setuidgid abc "${_install[@]}" "$@"