diff --git a/.github/workflows/external_trigger.yml b/.github/workflows/external_trigger.yml index a5d7f90..b1d3c9e 100644 --- a/.github/workflows/external_trigger.yml +++ b/.github/workflows/external_trigger.yml @@ -29,7 +29,7 @@ jobs: echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY echo "> External trigger running off of master branch. To disable this trigger, add \`sqlitebrowser_master\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY - EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \ + EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.23/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \ && awk '/^P:'"sqlitebrowser"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') echo "Type is \`alpine_repo\`" >> $GITHUB_STEP_SUMMARY if grep -q "^sqlitebrowser_master_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then @@ -107,7 +107,7 @@ jobs: if [ "${EXT_RELEASE_SANITIZED}" == "${IMAGE_VERSION}" ]; then echo "Sanitized version \`${EXT_RELEASE_SANITIZED}\` already pushed, exiting" >> $GITHUB_STEP_SUMMARY exit 0 - elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"sqlitebrowser"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then + elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.23/community/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"sqlitebrowser"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then echo "New version \`${EXT_RELEASE}\` found; but not all arch repos updated yet; exiting" >> $GITHUB_STEP_SUMMARY FAILURE_REASON="New version ${EXT_RELEASE} for sqlitebrowser tag latest is detected, however not all arch repos are updated yet. Will try again later." curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903, diff --git a/Dockerfile b/Dockerfile index c31f708..d92c242 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -FROM ghcr.io/linuxserver/baseimage-selkies:alpine322 +FROM ghcr.io/linuxserver/baseimage-selkies:alpine323 # set version label ARG BUILD_DATE @@ -19,7 +19,7 @@ RUN \ https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/sqlitebrowser-icon.png && \ echo "**** install packages ****" && \ if [ -z ${SQLITEB_VERSION+x} ]; then \ - SQLITEB_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \ + SQLITEB_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.23/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \ && awk '/^P:sqlitebrowser$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \ fi && \ apk add --no-cache \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 08a77be..9ee0ac6 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-alpine322 +FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-alpine323 # set version label ARG BUILD_DATE @@ -19,7 +19,7 @@ RUN \ https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/sqlitebrowser-icon.png && \ echo "**** install packages ****" && \ if [ -z ${SQLITEB_VERSION+x} ]; then \ - SQLITEB_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \ + SQLITEB_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.23/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \ && awk '/^P:sqlitebrowser$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \ fi && \ apk add --no-cache \ diff --git a/Jenkinsfile b/Jenkinsfile index 3a8bcb2..2df3233 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,8 +27,8 @@ pipeline { DEV_DOCKERHUB_IMAGE = 'lsiodev/sqlitebrowser' PR_DOCKERHUB_IMAGE = 'lspipepr/sqlitebrowser' DIST_IMAGE = 'alpine' - DIST_TAG = '3.22' - DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.22/community/' + DIST_TAG = '3.23' + DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.23/community/' DIST_REPO_PACKAGES = 'sqlitebrowser' MULTIARCH='true' CI='true' diff --git a/README.md b/README.md index abe8f9a..e0ce960 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse | Variable | Description | | :----: | --- | +| PIXELFLUX_WAYLAND | **Experimental** If set to true the container will initialize in Wayland mode running [Smithay](https://github.com/Smithay/smithay) and Labwc while enabling zero copy encoding with a GPU | | CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default `3000` | | CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default `3001` | | CUSTOM_WS_PORT | Internal port the container listens on for websockets if it needs to be swapped from the default 8082 | @@ -142,6 +143,30 @@ To launch the desktop session in a different language, set the `LC_ALL` environm * `-e LC_ALL=nl_NL.UTF-8` - Netherlands * `-e LC_ALL=it_IT.UTF-8` - Italian +### SealSkin Compatibility + +This container is compatible with [SealSkin](https://github.com/linuxserver/docker-sealskin). + +SealSkin is a self-hosted, client-server platform that provides secure authentication and collaboration features while using a browser extension to intercept user actions such as clicking a link or downloading a file and redirect them to a secure, isolated application environment running on a remote server. + +* **SealSkin Server:** [Get it Here](https://github.com/linuxserver/docker-sealskin) +* **Browser Extension:** [Install Here](https://chromewebstore.google.com/detail/sealskin-isolation/lclgfmnljgacfdpmmmjmfpdelndbbfhk) + +### All GPU Acceleration - use sane resolutions + +When using 3d acceleration via Nvidia DRM or DRI3 it is important to clamp the virtual display to a reasonable max resolution. This can be achieved with the environment setting: + +* `-e MAX_RESOLUTION=3840x2160` + +This will set the total virtual framebuffer to 4K, you can also set a manual resolution to achieve this. +By default the virtual monitor in the session is 16K to support large monitors and dual display configurations. Leaving it this large has no impact on CPU based performance but costs GPU memory usage and memory bandwidth when leveraging one for acceleration. If you have performance issues in an accelerated session, try clamping the resolution to 1080p and work up from there: + +``` +-e SELKIES_MANUAL_WIDTH=1920 +-e SELKIES_MANUAL_HEIGHT=1080 +-e MAX_RESOLUTION=1920x1080 +``` + ### DRI3 GPU Acceleration For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using: @@ -531,6 +556,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **28.12.25:** - Add Wayland init logic, rebase to Alpine 3.23. * **30.07.25:** - Install Qt SVG for icon support. * **12.07.25:** - Rebase to Selkies and Alpine 3.22, HTTPS IS NOW REQUIRED. * **06.12.24:** - Rebase to Alpine 3.21. diff --git a/jenkins-vars.yml b/jenkins-vars.yml index 2012a5e..9d24c21 100644 --- a/jenkins-vars.yml +++ b/jenkins-vars.yml @@ -16,8 +16,8 @@ repo_vars: - DEV_DOCKERHUB_IMAGE = 'lsiodev/sqlitebrowser' - PR_DOCKERHUB_IMAGE = 'lspipepr/sqlitebrowser' - DIST_IMAGE = 'alpine' - - DIST_TAG = '3.22' - - DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.22/community/' + - DIST_TAG = '3.23' + - DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.23/community/' - DIST_REPO_PACKAGES = 'sqlitebrowser' - MULTIARCH='true' - CI='true' diff --git a/readme-vars.yml b/readme-vars.yml index 7d1a61c..894601e 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -102,6 +102,7 @@ init_diagram: | "sqlitebrowser:latest" <- Base Images # changelog changelogs: + - {date: "28.12.25:", desc: "Add Wayland init logic, rebase to Alpine 3.23."} - {date: "30.07.25:", desc: "Install Qt SVG for icon support."} - {date: "12.07.25:", desc: "Rebase to Selkies and Alpine 3.22, HTTPS IS NOW REQUIRED."} - {date: "06.12.24:", desc: "Rebase to Alpine 3.21."} diff --git a/root/defaults/autostart_wayland b/root/defaults/autostart_wayland new file mode 100644 index 0000000..9dfb707 --- /dev/null +++ b/root/defaults/autostart_wayland @@ -0,0 +1 @@ +sqlitebrowser diff --git a/root/defaults/menu_wayland.xml b/root/defaults/menu_wayland.xml new file mode 100644 index 0000000..ec4c7ee --- /dev/null +++ b/root/defaults/menu_wayland.xml @@ -0,0 +1,7 @@ + + + +/usr/bin/foot +/usr/bin/sqlitebrowser + +