This commit is contained in:
Ubuntu 2022-10-17 13:49:27 +00:00
parent 5001de6971
commit 6d2eee29e1
18 changed files with 231 additions and 269 deletions

View File

@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-ubuntu:focal FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@ -8,19 +8,12 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="aptalca" LABEL maintainer="aptalca"
# environment settings # environment settings
ARG DEBIAN_FRONTEND="noninteractive"
ENV HOME="/config" ENV HOME="/config"
RUN \ RUN \
echo "**** install node repo ****" && \
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
echo 'deb https://deb.nodesource.com/node_14.x focal main' \
> /etc/apt/sources.list.d/nodesource.list && \
echo "**** install build dependencies ****" && \
apt-get update && \
apt-get install -y \
build-essential \
nodejs && \
echo "**** install runtime dependencies ****" && \ echo "**** install runtime dependencies ****" && \
apt-get update && \
apt-get install -y \ apt-get install -y \
git \ git \
jq \ jq \
@ -31,11 +24,12 @@ RUN \
net-tools \ net-tools \
unzip \ unzip \
make \ make \
netcat \
sudo && \ sudo && \
echo "**** install code-server ****" && \ echo "**** install code-server ****" && \
if [ -z ${CODE_RELEASE+x} ]; then \ if [ -z ${CODE_RELEASE+x} ]; then \
CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest \ CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest \
| awk '/tag_name/{print $4;exit}' FS='[""]' | sed 's|^v||'); \ | awk '/tag_name/{print $4;exit}' FS='[""]' | sed 's|^v||'); \
fi && \ fi && \
mkdir -p /app/code-server && \ mkdir -p /app/code-server && \
curl -o \ curl -o \
@ -43,22 +37,13 @@ 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 && \
echo "**** patch 4.0.2 ****" && \
if [ "${CODE_RELEASE}" = "4.0.2" ] && [ "$(uname -m)" != "x86_64" ]; then \
cd /app/code-server && \
npm i --production @node-rs/argon2; \
fi && \
echo "**** clean up ****" && \ echo "**** clean up ****" && \
apt-get purge --auto-remove -y \
build-essential \
nodejs && \
apt-get clean && \ apt-get clean && \
rm -rf \ rm -rf \
/config/* \ /config/* \
/tmp/* \ /tmp/* \
/var/lib/apt/lists/* \ /var/lib/apt/lists/* \
/var/tmp/* \ /var/tmp/*
/etc/apt/sources.list.d/nodesource.list
ENV TERRAFORM_VERSION=1.2.2 ENV TERRAFORM_VERSION=1.2.2

View File

@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-focal FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@ -8,30 +8,24 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="aptalca" LABEL maintainer="aptalca"
# environment settings # environment settings
ARG DEBIAN_FRONTEND="noninteractive"
ENV HOME="/config" ENV HOME="/config"
RUN \ RUN \
echo "**** install node repo ****" && \
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
echo 'deb https://deb.nodesource.com/node_14.x focal main' \
> /etc/apt/sources.list.d/nodesource.list && \
echo "**** install build dependencies ****" && \
apt-get update && \
apt-get install -y \
build-essential \
nodejs && \
echo "**** install runtime dependencies ****" && \ echo "**** install runtime dependencies ****" && \
apt-get update && \
apt-get install -y \ apt-get install -y \
git \ git \
jq \ 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 \
CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest \ CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest \
| awk '/tag_name/{print $4;exit}' FS='[""]' | sed 's|^v||'); \ | awk '/tag_name/{print $4;exit}' FS='[""]' | sed 's|^v||'); \
fi && \ fi && \
mkdir -p /app/code-server && \ mkdir -p /app/code-server && \
curl -o \ curl -o \
@ -39,22 +33,13 @@ 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 && \
echo "**** patch 4.0.2 ****" && \
if [ "${CODE_RELEASE}" = "4.0.2" ] && [ "$(uname -m)" != "x86_64" ]; then \
cd /app/code-server && \
npm i --production @node-rs/argon2; \
fi && \
echo "**** clean up ****" && \ echo "**** clean up ****" && \
apt-get purge --auto-remove -y \
build-essential \
nodejs && \
apt-get clean && \ apt-get clean && \
rm -rf \ rm -rf \
/config/* \ /config/* \
/tmp/* \ /tmp/* \
/var/lib/apt/lists/* \ /var/lib/apt/lists/* \
/var/tmp/* \ /var/tmp/*
/etc/apt/sources.list.d/nodesource.list
# add local files # add local files
COPY /root / COPY /root /

View File

@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-focal FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-jammy
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@ -8,30 +8,24 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="aptalca" LABEL maintainer="aptalca"
# environment settings # environment settings
ARG DEBIAN_FRONTEND="noninteractive"
ENV HOME="/config" ENV HOME="/config"
RUN \ RUN \
echo "**** install node repo ****" && \
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
echo 'deb https://deb.nodesource.com/node_14.x focal main' \
> /etc/apt/sources.list.d/nodesource.list && \
echo "**** install build dependencies ****" && \
apt-get update && \
apt-get install -y \
build-essential \
nodejs && \
echo "**** install runtime dependencies ****" && \ echo "**** install runtime dependencies ****" && \
apt-get update && \
apt-get install -y \ apt-get install -y \
git \ git \
jq \ 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 \
CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest \ CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest \
| awk '/tag_name/{print $4;exit}' FS='[""]' | sed 's|^v||'); \ | awk '/tag_name/{print $4;exit}' FS='[""]' | sed 's|^v||'); \
fi && \ fi && \
mkdir -p /app/code-server && \ mkdir -p /app/code-server && \
curl -o \ curl -o \
@ -39,22 +33,13 @@ RUN \
"https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server-${CODE_RELEASE}-linux-armv7l.tar.gz" && \ "https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server-${CODE_RELEASE}-linux-armv7l.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 && \
echo "**** patch 4.0.2 ****" && \
if [ "${CODE_RELEASE}" = "4.0.2" ] && [ "$(uname -m)" != "x86_64" ]; then \
cd /app/code-server && \
npm i --production @node-rs/argon2; \
fi && \
echo "**** clean up ****" && \ echo "**** clean up ****" && \
apt-get purge --auto-remove -y \
build-essential \
nodejs && \
apt-get clean && \ apt-get clean && \
rm -rf \ rm -rf \
/config/* \ /config/* \
/tmp/* \ /tmp/* \
/var/lib/apt/lists/* \ /var/lib/apt/lists/* \
/var/tmp/* \ /var/tmp/*
/etc/apt/sources.list.d/nodesource.list
# add local files # add local files
COPY /root / COPY /root /

2
Jenkinsfile vendored
View File

@ -710,7 +710,7 @@ pipeline {
-e DO_REGION="ams3" \ -e DO_REGION="ams3" \
-e DO_BUCKET="lsio-ci" \ -e DO_BUCKET="lsio-ci" \
-t ghcr.io/linuxserver/ci:latest \ -t ghcr.io/linuxserver/ci:latest \
python /ci/ci.py''' python3 test_build.py'''
} }
} }
} }

View File

@ -64,16 +64,6 @@ The architectures supported by this image are:
| arm64 | ✅ | arm64v8-\<version tag\> | | arm64 | ✅ | arm64v8-\<version tag\> |
| armhf| ✅ | arm32v7-\<version tag\> | | armhf| ✅ | arm32v7-\<version tag\> |
## Version Tags
This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.
| Tag | Available | Description |
| :----: | :----: |--- |
| latest | ✅ | Stable releases |
| focal | ✅ | DEPRECATED (no longer updated, `latest` is rebased on focal) - Stable releases, based on Ubuntu Focal |
| development | ✅ | DEPRECATED (no longer updated) - Prereleases from their GitHub |
## Application Setup ## Application Setup
Access the webui at `http://<your-ip>:8443`. Access the webui at `http://<your-ip>:8443`.
@ -266,6 +256,8 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions ## Versions
* **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.
* **20.02.22:** - Install using the official tarballs. * **20.02.22:** - Install using the official tarballs.
* **29.12.21:** - Add `install-extension` as a helper for mods to install extensions. * **29.12.21:** - Add `install-extension` as a helper for mods to install extensions.
* **06.12.21:** - Add `DEFAULT_WORKSPACE` env var. * **06.12.21:** - Add `DEFAULT_WORKSPACE` env var.

View File

@ -1,176 +1,172 @@
adduser3.118ubuntu2 adduser3.118ubuntu5
apt2.0.8 apt2.4.8
apt-utils2.0.8 apt-utils2.4.8
base-files11ubuntu5.5 base-files12ubuntu4.2
base-passwd3.5.47 base-passwd3.5.52build1
bash5.0-6ubuntu1.1 bash5.1-6ubuntu1
bsdutils1:2.34-0.1ubuntu9.3 bsdutils1:2.37.2-4ubuntu3
bzip21.0.8-2 ca-certificates20211016
ca-certificates20210119~20.04.2 coreutils8.32-4.1ubuntu1
coreutils8.30-3ubuntu2 curl7.81.0-1ubuntu1.4
curl7.68.0-1ubuntu2.11 dash0.5.11+git20210903+057cd650a4ed-3build1
dash0.5.10.2-6 debconf1.5.79ubuntu1
debconf1.5.73 debianutils5.5-1ubuntu2
debianutils4.9.1 diffutils1:3.8-0ubuntu2
diffutils1:3.7-3 dirmngr2.2.27-3ubuntu2.1
dirmngr2.2.19-3ubuntu2.1 dpkg1.21.1ubuntu2.1
dpkg1.19.7ubuntu3 e2fsprogs1.46.5-2ubuntu1.1
e2fsprogs1.45.5-2ubuntu1 findutils4.8.0-1ubuntu3
fdisk2.34-0.1ubuntu9.3 gcc-12-base12.1.0-2ubuntu1~22.04
findutils4.7.0-1ubuntu1 git1:2.34.1-1ubuntu1.4
gcc-10-base10.3.0-1ubuntu1~20.04 git-man1:2.34.1-1ubuntu1.4
git1:2.25.1-1ubuntu3.4 gnupg2.2.27-3ubuntu2.1
git-man1:2.25.1-1ubuntu3.4 gnupg-l10n2.2.27-3ubuntu2.1
gnupg2.2.19-3ubuntu2.1 gnupg-utils2.2.27-3ubuntu2.1
gnupg-l10n2.2.19-3ubuntu2.1 gpg2.2.27-3ubuntu2.1
gnupg-utils2.2.19-3ubuntu2.1 gpg-agent2.2.27-3ubuntu2.1
gpg2.2.19-3ubuntu2.1 gpgconf2.2.27-3ubuntu2.1
gpg-agent2.2.19-3ubuntu2.1 gpgsm2.2.27-3ubuntu2.1
gpgconf2.2.19-3ubuntu2.1 gpgv2.2.27-3ubuntu2.1
gpgsm2.2.19-3ubuntu2.1 gpg-wks-client2.2.27-3ubuntu2.1
gpgv2.2.19-3ubuntu2.1 gpg-wks-server2.2.27-3ubuntu2.1
gpg-wks-client2.2.19-3ubuntu2.1 grep3.7-1build1
gpg-wks-server2.2.19-3ubuntu2.1 gzip1.10-4ubuntu4.1
grep3.4-1 hostname3.23ubuntu2
gzip1.10-0ubuntu4 init-system-helpers1.62
hostname3.23 jq1.6-2.1ubuntu3
init-system-helpers1.57 less590-1build1
jq1.6-1ubuntu0.20.04.1 libacl12.3.1-1
krb5-locales1.17-6ubuntu4.1 libapt-pkg6.02.4.8
less551-1ubuntu0.1 libassuan02.5.5-1build1
libacl12.2.53-6 libatomic112.1.0-2ubuntu1~22.04
libapt-pkg6.02.0.8 libattr11:2.5.1-1build1
libasn1-8-heimdal7.7.0+dfsg-1ubuntu1 libaudit11:3.0.7-1build1
libassuan02.5.3-7ubuntu2 libaudit-common1:3.0.7-1build1
libatomic110.3.0-1ubuntu1~20.04 libblkid12.37.2-4ubuntu3
libattr11:2.4.48-5 libbrotli11.0.9-2build6
libaudit11:2.8.5-2ubuntu6 libbsd00.11.5-1
libaudit-common1:2.8.5-2ubuntu6 libbz2-1.01.0.8-5build1
libblkid12.34-0.1ubuntu9.3 libc62.35-0ubuntu3.1
libbrotli11.0.7-6ubuntu0.1 libcap21:2.44-1build3
libbsd00.10.0-1 libcap-ng00.7.9-2.2build3
libbz2-1.01.0.8-2 libc-bin2.35-0ubuntu3.1
libc62.31-0ubuntu9.9 libcbor0.80.8.0-2ubuntu1
libcap-ng00.7.9-2.1build1 libcom-err21.46.5-2ubuntu1.1
libc-bin2.31-0ubuntu9.7 libcrypt11:4.4.27-1
libcbor0.60.6.0-0ubuntu1 libcurl3-gnutls7.81.0-1ubuntu1.4
libcom-err21.45.5-2ubuntu1 libcurl47.81.0-1ubuntu1.4
libcrypt11:4.4.10-10ubuntu4 libdb5.35.3.28+dfsg1-0.8ubuntu3
libcurl3-gnutls7.68.0-1ubuntu2.11 libdebconfclient00.261ubuntu1
libcurl47.68.0-1ubuntu2.11 libedit23.1-20210910-1build1
libdb5.35.3.28+dfsg1-0.6ubuntu2
libdebconfclient00.251ubuntu1
libedit23.1-20191231-1
liberror-perl0.17029-1 liberror-perl0.17029-1
libexpat12.2.9-1ubuntu0.4 libexpat12.4.7-1
libext2fs21.45.5-2ubuntu1 libext2fs21.46.5-2ubuntu1.1
libfdisk12.34-0.1ubuntu9.3 libffi83.4.2-4
libffi73.3-4 libfido2-11.10.0-1
libfido2-11.3.1-1ubuntu2 libgcc-s112.1.0-2ubuntu1~22.04
libgcc-s110.3.0-1ubuntu1~20.04 libgcrypt201.9.4-3ubuntu3
libgcrypt201.8.5-5ubuntu1.1 libgdbm61.23-1
libgdbm61.18.1-5 libgdbm-compat41.23-1
libgdbm-compat41.18.1-5 libgmp102:6.2.1+dfsg-3ubuntu1
libgmp102:6.2.0+dfsg-4 libgnutls303.7.3-4ubuntu1.1
libgnutls303.6.13-2ubuntu1.6 libgpg-error01.43-3
libgpg-error01.37-1 libgssapi-krb5-21.19.2-2
libgssapi3-heimdal7.7.0+dfsg-1ubuntu1 libhogweed63.7.3-1build2
libgssapi-krb5-21.17-6ubuntu4.1 libidn2-02.3.2-2build1
libhcrypto4-heimdal7.7.0+dfsg-1ubuntu1 libjq11.6-2.1ubuntu3
libheimbase1-heimdal7.7.0+dfsg-1ubuntu1 libk5crypto31.19.2-2
libheimntlm0-heimdal7.7.0+dfsg-1ubuntu1 libkeyutils11.6.1-2ubuntu3
libhogweed53.5.1+really3.5.1-2ubuntu0.2 libkrb5-31.19.2-2
libhx509-5-heimdal7.7.0+dfsg-1ubuntu1 libkrb5support01.19.2-2
libidn2-02.2.0-2 libksba81.6.0-2build1
libjq11.6-1ubuntu0.20.04.1 libldap-2.5-02.5.13+dfsg-0ubuntu0.22.04.1
libk5crypto31.17-6ubuntu4.1 libldap-common2.5.13+dfsg-0ubuntu0.22.04.1
libkeyutils11.6-6ubuntu1 liblz4-11.9.3-2build2
libkrb5-26-heimdal7.7.0+dfsg-1ubuntu1 liblzma55.2.5-2ubuntu1
libkrb5-31.17-6ubuntu4.1 libmd01.0.4-1build1
libkrb5support01.17-6ubuntu4.1 libmount12.37.2-4ubuntu3
libksba81.3.5-2 libncurses66.3-2
libldap-2.4-22.4.49+dfsg-2ubuntu1.9 libncursesw66.3-2
libldap-common2.4.49+dfsg-2ubuntu1.9 libnettle83.7.3-1build2
liblz4-11.9.2-2ubuntu0.20.04.1 libnghttp2-141.43.0-1build3
liblzma55.2.4-1ubuntu1 libnpth01.6-3build2
libmount12.34-0.1ubuntu9.3 libnsl21.3.0-2build2
libncurses66.2-0ubuntu2 libonig56.9.7.1-2build1
libncursesw66.2-0ubuntu2 libp11-kit00.24.0-6build1
libnettle73.5.1+really3.5.1-2ubuntu0.2 libpam0g1.4.0-11ubuntu2
libnghttp2-141.40.0-1build1 libpam-modules1.4.0-11ubuntu2
libnpth01.6-1 libpam-modules-bin1.4.0-11ubuntu2
libonig56.9.4-1 libpam-runtime1.4.0-11ubuntu2
libp11-kit00.23.20-1ubuntu0.1 libpcre2-8-010.39-3ubuntu0.1
libpam0g1.3.1-5ubuntu4.3 libpcre32:8.39-13ubuntu0.22.04.1
libpam-modules1.3.1-5ubuntu4.3 libperl5.345.34.0-3ubuntu1
libpam-modules-bin1.3.1-5ubuntu4.3 libprocps82:3.3.17-6ubuntu2
libpam-runtime1.3.1-5ubuntu4.3 libpsl50.21.0-1.2build2
libpcre2-8-010.34-7 libreadline88.1.2-1
libpcre32:8.39-12build1 librtmp12.4+20151223.gitfa8646d.1-2build4
libperl5.305.30.0-9ubuntu0.2 libsasl2-22.1.27+dfsg2-3ubuntu1
libprocps82:3.3.16-1ubuntu2.3 libsasl2-modules2.1.27+dfsg2-3ubuntu1
libpsl50.21.0-1ubuntu1 libsasl2-modules-db2.1.27+dfsg2-3ubuntu1
libreadline88.0-4 libseccomp22.5.3-2ubuntu2
libroken18-heimdal7.7.0+dfsg-1ubuntu1 libselinux13.3-1build2
librtmp12.4+20151223.gitfa8646d.1-2build1 libsemanage23.3-1build2
libsasl2-22.1.27+dfsg-2ubuntu0.1 libsemanage-common3.3-1build2
libsasl2-modules2.1.27+dfsg-2ubuntu0.1 libsepol23.3-1build1
libsasl2-modules-db2.1.27+dfsg-2ubuntu0.1 libsmartcols12.37.2-4ubuntu3
libseccomp22.5.1-1ubuntu1~20.04.2 libsqlite3-03.37.2-2
libselinux13.0-1build2 libss21.46.5-2ubuntu1.1
libsemanage13.0-1build2 libssh-40.9.6-2build1
libsemanage-common3.0-1build2 libssl33.0.2-0ubuntu1.6
libsepol13.0-1 libstdc++612.1.0-2ubuntu1~22.04
libsmartcols12.34-0.1ubuntu9.3 libsystemd0249.11-0ubuntu3.6
libsqlite3-03.31.1-4ubuntu0.3 libtasn1-64.18.0-4build1
libss21.45.5-2ubuntu1 libtinfo66.3-2
libssh-40.9.3-2ubuntu2.2 libtirpc31.3.2-2ubuntu0.1
libssl1.11.1.1f-1ubuntu2.13 libtirpc-common1.3.2-2ubuntu0.1
libstdc++610.3.0-1ubuntu1~20.04 libudev1249.11-0ubuntu3.6
libsystemd0245.4-4ubuntu3.15 libunistring21.0-1
libtasn1-64.16.0-2 libuuid12.37.2-4ubuntu3
libtinfo66.2-0ubuntu2 libx11-62:1.7.5-1
libudev1245.4-4ubuntu3.15 libx11-data2:1.7.5-1
libunistring20.9.10-2 libxau61:1.0.9-1build5
libuuid12.34-0.1ubuntu9.3 libxcb11.14-3ubuntu3
libwind0-heimdal7.7.0+dfsg-1ubuntu1 libxdmcp61:1.1.3-0ubuntu5
libx11-62:1.6.9-2ubuntu1.2 libxext62:1.3.4-1build1
libx11-data2:1.6.9-2ubuntu1.2 libxmuu12:1.1.3-3
libxau61:1.0.9-0ubuntu1 libxxhash00.8.1-1
libxcb11.14-2 libzstd11.4.8+dfsg-3build1
libxdmcp61:1.1.3-0ubuntu1 locales2.35-0ubuntu3.1
libxext62:1.3.4-0ubuntu1 login1:4.8.1-2ubuntu2
libxmuu12:1.1.3-0ubuntu1 logsave1.46.5-2ubuntu1.1
libzstd11.4.4+dfsg-3ubuntu0.1 lsb-base11.1.0ubuntu4
locales2.31-0ubuntu9.9 mawk1.3.4.20200120-3
login1:4.8.1-1ubuntu5.20.04.1 mount2.37.2-4ubuntu3
logsave1.45.5-2ubuntu1 nano6.2-1
lsb-base11.1.0ubuntu2 ncurses-base6.3-2
mawk1.3.4.20200120-2 ncurses-bin6.3-2
mount2.34-0.1ubuntu9.3 netbase6.3
nano4.8-1ubuntu1 netcat1.218-4ubuntu1
ncurses-base6.2-0ubuntu2 netcat-openbsd1.218-4ubuntu1
ncurses-bin6.2-0ubuntu2 net-tools1.60+git20181103.0eebece-1ubuntu5
netbase6.1 openssh-client1:8.9p1-3
net-tools1.60+git20180626.aebd88e-1ubuntu1 openssl3.0.2-0ubuntu1.6
openssh-client1:8.2p1-4ubuntu0.5 passwd1:4.8.1-2ubuntu2
openssl1.1.1f-1ubuntu2.13 patch2.7.6-7build2
passwd1:4.8.1-1ubuntu5.20.04.1 perl5.34.0-3ubuntu1
patch2.7.6-6 perl-base5.34.0-3ubuntu1
perl5.30.0-9ubuntu0.2 perl-modules-5.345.34.0-3ubuntu1
perl-base5.30.0-9ubuntu0.2 pinentry-curses1.1.1-1build2
perl-modules-5.305.30.0-9ubuntu0.2 procps2:3.3.17-6ubuntu2
pinentry-curses1.1.0-3build1 publicsuffix20211207.1025-1
procps2:3.3.16-1ubuntu2.3 readline-common8.1.2-1
publicsuffix20200303.0012-1 sed4.8-1ubuntu2
readline-common8.0-4 sensible-utils0.0.17
sed4.7-1 sudo1.9.9-1ubuntu2
sensible-utils0.0.12+nmu1 sysvinit-utils3.01-1ubuntu1
sudo1.8.31-1ubuntu1.2 tar1.34+dfsg-1build3
sysvinit-utils2.96-2.1ubuntu1 tzdata2022c-0ubuntu0.22.04.0
tar1.30+dfsg-7ubuntu0.20.04.2 ubuntu-keyring2021.03.26
tzdata2022a-0ubuntu0.20.04 usrmerge25ubuntu2
ubuntu-keyring2020.02.11.4 util-linux2.37.2-4ubuntu3
util-linux2.34-0.1ubuntu9.3 xauth1:1.1-1build2
xauth1:1.1-0ubuntu1 zlib1g1:1.2.11.dfsg-2ubuntu9.1
zlib1g1:1.2.11.dfsg-2ubuntu1.2

View File

@ -26,11 +26,9 @@ available_architectures:
- { arch: "{{ arch_armhf }}", tag: "arm32v7-latest"} - { arch: "{{ arch_armhf }}", tag: "arm32v7-latest"}
# development version # development version
development_versions: true development_versions: false
development_versions_items: development_versions_items:
- { tag: "latest", desc: "Stable releases" } - { tag: "latest", desc: "Stable releases" }
- { tag: "focal", desc: "DEPRECATED (no longer updated, `latest` is rebased on focal) - Stable releases, based on Ubuntu Focal" }
- { tag: "development", desc: "DEPRECATED (no longer updated) - Prereleases from their GitHub" }
# container parameters # container parameters
common_param_env_vars_enabled: true common_param_env_vars_enabled: true
@ -77,6 +75,8 @@ app_setup_block: |
# changelog # changelog
changelogs: changelogs:
- { 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: "20.02.22:", desc: "Install using the official tarballs." } - { date: "20.02.22:", desc: "Install using the official tarballs." }
- { date: "29.12.21:", desc: "Add `install-extension` as a helper for mods to install extensions." } - { date: "29.12.21:", desc: "Add `install-extension` as a helper for mods to install extensions." }
- { date: "06.12.21:", desc: "Add `DEFAULT_WORKSPACE` env var." } - { date: "06.12.21:", desc: "Add `DEFAULT_WORKSPACE` env var." }

View File

@ -22,21 +22,10 @@ fi
[[ ! -f /config/.profile ]] && \ [[ ! -f /config/.profile ]] && \
cp /root/.profile /config/.profile cp /root/.profile /config/.profile
# permissions # fix permissions (ignore contents of /config/workspace)
if [ -f "/usr/bin/find" ] && [ -f "/usr/bin/xargs" ]; then find /config -path /config/workspace -prune -o -exec chown abc:abc {} +
CORES=$(nproc --all) chown abc:abc /config/workspace
chmod 700 /config/.ssh
# Split workload between config and workspace if [ -n "$(ls -A /config/.ssh)" ]; then
echo "setting permissions::configuration" chmod 600 /config/.ssh/*
find /config -path /config/workspace -prune -false -o -type d -print0 | \
xargs --null -r --max-args=1 --max-procs=$((CORES*2*8)) \
chown -R abc:abc
echo "setting permissions::workspace"
chown abc:abc /config/workspace
else
# Set permissions on data mount
# do not decend into the workspace
chown -R abc:abc "$(ls /config -I workspace)"
chown abc:abc /config/workspace
fi fi

View File

@ -0,0 +1 @@
oneshot

View File

@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-code-server/run

View File

@ -0,0 +1 @@
3

View File

@ -0,0 +1,26 @@
#!/usr/bin/with-contenv bash
if [ -n "${PASSWORD}" ] || [ -n "${HASHED_PASSWORD}" ]; then
AUTH="password"
else
AUTH="none"
echo "starting with no password"
fi
if [ -z ${PROXY_DOMAIN+x} ]; then
PROXY_DOMAIN_ARG=""
else
PROXY_DOMAIN_ARG="--proxy-domain=${PROXY_DOMAIN}"
fi
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 8443" \
s6-setuidgid abc \
/app/code-server/bin/code-server \
--bind-addr 0.0.0.0:8443 \
--user-data-dir /config/data \
--extensions-dir /config/extensions \
--disable-telemetry \
--auth "${AUTH}" \
"${PROXY_DOMAIN_ARG}" \
"${DEFAULT_WORKSPACE:-/config/workspace}"

View File

@ -0,0 +1 @@
longrun