Skip to content

Commit 6afc188

Browse files
committed
rebase to 3.23 add wayland init logic
1 parent 4bdb152 commit 6afc188

9 files changed

Lines changed: 45 additions & 10 deletions

File tree

.github/workflows/external_trigger.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
3030
echo "> External trigger running off of master branch. To disable this trigger, add \`wireshark_master\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
3131
printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY
32-
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
32+
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.23/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
3333
&& awk '/^P:'"wireshark"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://')
3434
echo "Type is \`alpine_repo\`" >> $GITHUB_STEP_SUMMARY
3535
if grep -q "^wireshark_master_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
@@ -107,7 +107,7 @@ jobs:
107107
if [ "${EXT_RELEASE_SANITIZED}" == "${IMAGE_VERSION}" ]; then
108108
echo "Sanitized version \`${EXT_RELEASE_SANITIZED}\` already pushed, exiting" >> $GITHUB_STEP_SUMMARY
109109
exit 0
110-
elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"wireshark"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then
110+
elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.23/community/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"wireshark"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then
111111
echo "New version \`${EXT_RELEASE}\` found; but not all arch repos updated yet; exiting" >> $GITHUB_STEP_SUMMARY
112112
FAILURE_REASON="New version ${EXT_RELEASE} for wireshark tag latest is detected, however not all arch repos are updated yet. Will try again later."
113113
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-selkies:alpine322
3+
FROM ghcr.io/linuxserver/baseimage-selkies:alpine323
44

55
# set version label
66
ARG BUILD_DATE
@@ -19,7 +19,7 @@ RUN \
1919
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/wireshark-icon.png && \
2020
echo "**** install packages ****" && \
2121
if [ -z ${WIRESHARK_VERSION+x} ]; then \
22-
WIRESHARK_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
22+
WIRESHARK_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.23/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
2323
&& awk '/^P:wireshark$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
2424
fi && \
2525
apk add --no-cache \

Dockerfile.aarch64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-selkies:alpine322
3+
FROM ghcr.io/linuxserver/baseimage-selkies:alpine323
44

55
# set version label
66
ARG BUILD_DATE
@@ -19,7 +19,7 @@ RUN \
1919
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/wireshark-icon.png && \
2020
echo "**** install packages ****" && \
2121
if [ -z ${WIRESHARK_VERSION+x} ]; then \
22-
WIRESHARK_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
22+
WIRESHARK_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.23/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
2323
&& awk '/^P:wireshark$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
2424
fi && \
2525
apk add --no-cache \

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ pipeline {
2727
DEV_DOCKERHUB_IMAGE = 'lsiodev/wireshark'
2828
PR_DOCKERHUB_IMAGE = 'lspipepr/wireshark'
2929
DIST_IMAGE = 'alpine'
30-
DIST_TAG = '3.22'
31-
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.22/community/'
30+
DIST_TAG = '3.23'
31+
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.23/community/'
3232
DIST_REPO_PACKAGES = 'wireshark'
3333
MULTIARCH = 'true'
3434
CI = 'true'

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse
9090

9191
| Variable | Description |
9292
| :----: | --- |
93+
| 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 |
9394
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default `3000` |
9495
| CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default `3001` |
9596
| CUSTOM_WS_PORT | Internal port the container listens on for websockets if it needs to be swapped from the default 8082 |
@@ -144,6 +145,30 @@ To launch the desktop session in a different language, set the `LC_ALL` environm
144145
* `-e LC_ALL=nl_NL.UTF-8` - Netherlands
145146
* `-e LC_ALL=it_IT.UTF-8` - Italian
146147

148+
### SealSkin Compatibility
149+
150+
This container is compatible with [SealSkin](https://github.com/linuxserver/docker-sealskin).
151+
152+
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.
153+
154+
* **SealSkin Server:** [Get it Here](https://github.com/linuxserver/docker-sealskin)
155+
* **Browser Extension:** [Install Here](https://chromewebstore.google.com/detail/sealskin-isolation/lclgfmnljgacfdpmmmjmfpdelndbbfhk)
156+
157+
### All GPU Acceleration - use sane resolutions
158+
159+
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:
160+
161+
* `-e MAX_RESOLUTION=3840x2160`
162+
163+
This will set the total virtual framebuffer to 4K, you can also set a manual resolution to achieve this.
164+
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:
165+
166+
```
167+
-e SELKIES_MANUAL_WIDTH=1920
168+
-e SELKIES_MANUAL_HEIGHT=1080
169+
-e MAX_RESOLUTION=1920x1080
170+
```
171+
147172
### DRI3 GPU Acceleration
148173

149174
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
@@ -544,6 +569,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
544569

545570
## Versions
546571

572+
* **28.12.25:** - Add Wayland init logic, rebase to Alpine 3.23.
547573
* **12.07.25:** - Rebase to Selkies and Alpine 3.22, HTTPS IS NOW REQUIRED.
548574
* **06.12.24:** - Rebase to Alpine 3.21.
549575
* **23.05.24:** - Rebase to Alpine 3.20.

jenkins-vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ repo_vars:
1616
- DEV_DOCKERHUB_IMAGE = 'lsiodev/wireshark'
1717
- PR_DOCKERHUB_IMAGE = 'lspipepr/wireshark'
1818
- DIST_IMAGE = 'alpine'
19-
- DIST_TAG = '3.22'
20-
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.22/community/'
19+
- DIST_TAG = '3.23'
20+
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.23/community/'
2121
- DIST_REPO_PACKAGES = 'wireshark'
2222
- MULTIARCH = 'true'
2323
- CI = 'true'

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ init_diagram: |
110110
"wireshark:latest" <- Base Images
111111
# changelog
112112
changelogs:
113+
- {date: "28.12.25:", desc: "Add Wayland init logic, rebase to Alpine 3.23."}
113114
- {date: "12.07.25:", desc: "Rebase to Selkies and Alpine 3.22, HTTPS IS NOW REQUIRED."}
114115
- {date: "06.12.24:", desc: "Rebase to Alpine 3.21."}
115116
- {date: "23.05.24:", desc: "Rebase to Alpine 3.20."}

root/defaults/autostart_wayland

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
wireshark

root/defaults/menu_wayland.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<openbox_menu xmlns="http://openbox.org/3.4/menu">
3+
<menu id="root-menu" label="MENU">
4+
<item label="foot" icon="/usr/share/icons/hicolor/48x48/apps/foot.png"><action name="Execute"><command>/usr/bin/foot</command></action></item>
5+
<item label="Wireshark" icon="/usr/share/icons/hicolor/48x48/apps/org.wireshark.Wireshark.png"><action name="Execute"><command>/usr/bin/wireshark</command></action></item>
6+
</menu>
7+
</openbox_menu>

0 commit comments

Comments
 (0)