Skip to content

Commit cf9658d

Browse files
authored
Master selkies (#323)
* rebase master to selkies base, pending readme changes * fix testing * update readme for selkies * bad template vars in block
1 parent 3ad4370 commit cf9658d

File tree

18 files changed

+366
-157
lines changed

18 files changed

+366
-157
lines changed

.editorconfig

100755100644
File mode changed.

.github/ISSUE_TEMPLATE/issue.bug.yml

100755100644
File mode changed.

.github/ISSUE_TEMPLATE/issue.feature.yml

100755100644
File mode changed.

.github/workflows/call_issue_pr_tracker.yml

100755100644
File mode changed.

.github/workflows/call_issues_cron.yml

100755100644
File mode changed.

.github/workflows/permissions.yml

100755100644
File mode changed.

Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-kasmvnc:alpine321
1+
FROM ghcr.io/linuxserver/baseimage-selkies:alpine322
22

33
# set version label
44
ARG BUILD_DATE
@@ -13,20 +13,23 @@ ENV TITLE="Alpine XFCE"
1313
RUN \
1414
echo "**** add icon ****" && \
1515
curl -o \
16-
/kclient/public/icon.png \
16+
/usr/share/selkies/www/icon.png \
1717
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
1818
echo "**** install packages ****" && \
1919
apk add --no-cache \
20+
adw-gtk3 \
21+
adwaita-xfce-icon-theme \
2022
chromium \
21-
faenza-icon-theme \
22-
faenza-icon-theme-xfce4-appfinder \
23-
faenza-icon-theme-xfce4-panel \
2423
mousepad \
2524
ristretto \
2625
thunar \
2726
util-linux-misc \
2827
xfce4 \
2928
xfce4-terminal && \
29+
echo "**** xfce-tweaks ****" && \
30+
mv \
31+
/usr/bin/thunar \
32+
/usr/bin/thunar-real && \
3033
echo "**** cleanup ****" && \
3134
rm -f \
3235
/etc/xdg/autostart/xfce4-power-manager.desktop \

Dockerfile.aarch64

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-kasmvnc:arm64v8-alpine321
1+
FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-alpine322
22

33
# set version label
44
ARG BUILD_DATE
@@ -13,20 +13,23 @@ ENV TITLE="Alpine XFCE"
1313
RUN \
1414
echo "**** add icon ****" && \
1515
curl -o \
16-
/kclient/public/icon.png \
16+
/usr/share/selkies/www/icon.png \
1717
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
1818
echo "**** install packages ****" && \
1919
apk add --no-cache \
20+
adw-gtk3 \
21+
adwaita-xfce-icon-theme \
2022
chromium \
21-
faenza-icon-theme \
22-
faenza-icon-theme-xfce4-appfinder \
23-
faenza-icon-theme-xfce4-panel \
2423
mousepad \
2524
ristretto \
2625
thunar \
2726
util-linux-misc \
2827
xfce4 \
2928
xfce4-terminal && \
29+
echo "**** xfce-tweaks ****" && \
30+
mv \
31+
/usr/bin/thunar \
32+
/usr/bin/thunar-real && \
3033
echo "**** cleanup ****" && \
3134
rm -f \
3235
/etc/xdg/autostart/xfce4-power-manager.desktop \

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ pipeline {
3030
MULTIARCH = 'true'
3131
CI = 'true'
3232
CI_WEB = 'true'
33-
CI_PORT = '3000'
34-
CI_SSL = 'false'
33+
CI_PORT = '3001'
34+
CI_SSL = 'true'
3535
CI_DELAY = '120'
3636
CI_DOCKERENV = 'TZ=US/Pacific'
3737
CI_AUTH = 'user:password'

README.md

Lines changed: 26 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ This image provides various versions that are available via tags. Please read th
6868
| fedora-xfce || XFCE Fedora |
6969
| arch-xfce || XFCE Arch |
7070
| debian-xfce || XFCE Debian |
71-
| alpine-kde || KDE Alpine |
7271
| ubuntu-kde || KDE Ubuntu |
7372
| fedora-kde || KDE Fedora |
7473
| arch-kde || KDE Arch |
@@ -83,22 +82,11 @@ This image provides various versions that are available via tags. Please read th
8382
| fedora-i3 || i3 Fedora |
8483
| arch-i3 || i3 Arch |
8584
| debian-i3 || i3 Debian |
86-
| alpine-openbox || Openbox Alpine |
87-
| ubuntu-openbox || Openbox Ubuntu |
88-
| fedora-openbox || Openbox Fedora |
89-
| arch-openbox || Openbox Arch |
90-
| debian-openbox || Openbox Debian |
91-
| alpine-icewm || IceWM Alpine |
92-
| ubuntu-icewm || IceWM Ubuntu |
93-
| fedora-icewm || IceWM Fedora |
94-
| arch-icewm || IceWM Arch |
95-
| debian-icewm || IceWM Debian |
9685

9786
## Application Setup
9887

9988
The Webtop can be accessed at:
10089

101-
* http://yourhost:3000/
10290
* https://yourhost:3001/
10391

10492
**Modern GUI desktop apps have issues with the latest Docker and syscall compatibility, you can use Docker with the `--security-opt seccomp=unconfined` setting to allow these syscalls on hosts with older Kernels or libseccomp**
@@ -110,9 +98,9 @@ The Webtop can be accessed at:
11098
11199
By default this container has no authentication and the optional environment variables `CUSTOM_USER` and `PASSWORD` to enable basic http auth via the embedded NGINX server should only be used to locally secure the container from unwanted access on a local network. If exposing this to the Internet we recommend putting it behind a reverse proxy, such as [SWAG](https://github.com/linuxserver/docker-swag), and ensuring a secure authentication solution is in place. From the web interface a terminal can be launched and it is configured for passwordless sudo, so anyone with access to it can install and run whatever they want along with probing your local network.
112100

113-
### Options in all KasmVNC based GUI containers
101+
### Options in all Selkies based GUI containers
114102

115-
This container is based on [Docker Baseimage KasmVNC](https://github.com/linuxserver/docker-baseimage-kasmvnc) which means there are additional environment variables and run configurations to enable or disable specific functionality.
103+
This container is based on [Docker Baseimage Selkies](https://github.com/linuxserver/docker-baseimage-selkies) which means there are additional environment variables and run configurations to enable or disable specific functionality.
116104

117105
#### Optional environment variables
118106

@@ -123,55 +111,36 @@ This container is based on [Docker Baseimage KasmVNC](https://github.com/linuxse
123111
| CUSTOM_USER | HTTP Basic auth username, abc is default. |
124112
| PASSWORD | HTTP Basic auth password, abc is default. If unset there will be no auth |
125113
| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/` |
126-
| TITLE | The page title displayed on the web browser, default "KasmVNC Client". |
127-
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
114+
| TITLE | The page title displayed on the web browser, default "Selkies". |
128115
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
129-
| DRINODE | If mounting in /dev/dri for [DRI3 GPU Acceleration](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html) allows you to specify the device to use IE `/dev/dri/renderD128` |
130116
| DISABLE_IPV6 | If set to true or any value this will disable IPv6 |
131117
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8` `ar_AE.UTF-8` |
132118
| NO_DECOR | If set the application will run without window borders in openbox for use as a PWA. |
133-
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
119+
| NO_FULL | Do not automatically fullscreen applications when using openbox. |
134120

135121
#### Optional run configurations
136122

137123
| Variable | Description |
138124
| :----: | --- |
139125
| `--privileged` | Will start a Docker in Docker (DinD) setup inside the container to use docker in an isolated environment. For increased performance mount the Docker directory inside the container to the host IE `-v /home/user/docker-data:/var/lib/docker`. |
140126
| `-v /var/run/docker.sock:/var/run/docker.sock` | Mount in the host level Docker socket to either interact with it via CLI or use Docker enabled applications. |
141-
| `--device /dev/dri:/dev/dri` | Mount a GPU into the container, this can be used in conjunction with the `DRINODE` environment variable to leverage a host video card for GPU accelerated applications. Only **Open Source** drivers are supported IE (Intel,AMDGPU,Radeon,ATI,Nouveau) |
142127

143128
### Language Support - Internationalization
144129

145-
The environment variable `LC_ALL` can be used to start this container in a different language than English simply pass for example to launch the Desktop session in French `LC_ALL=fr_FR.UTF-8`. Some languages like Chinese, Japanese, or Korean will be missing fonts needed to render properly known as cjk fonts, but others may exist and not be installed inside the container depending on what underlying distribution you are running. We only ensure fonts for Latin characters are present. Fonts can be installed with a mod on startup.
130+
The environment variable `LC_ALL` can be used to start this container in a different language than English simply pass for example to launch the Desktop session in French `LC_ALL=fr_FR.UTF-8`. Some supported languages:
146131

147-
To install cjk fonts on startup as an example pass the environment variables (Alpine base):
132+
* `-e LC_ALL=zh_CN.UTF-8` - Chinese
133+
* `-e LC_ALL=ja_JP.UTF-8` - Japanese
134+
* `-e LC_ALL=ko_KR.UTF-8` - Korean
135+
* `-e LC_ALL=ar_AE.UTF-8` - Arabic
136+
* `-e LC_ALL=ru_RU.UTF-8` - Russian
137+
* `-e LC_ALL=es_MX.UTF-8` - Spanish (Latin America)
138+
* `-e LC_ALL=de_DE.UTF-8` - German
139+
* `-e LC_ALL=fr_FR.UTF-8` - French
140+
* `-e LC_ALL=nl_NL.UTF-8` - Netherlands
141+
* `-e LC_ALL=it_IT.UTF-8` - Italian
148142

149-
```
150-
-e DOCKER_MODS=linuxserver/mods:universal-package-install
151-
-e INSTALL_PACKAGES=font-noto-cjk
152-
-e LC_ALL=zh_CN.UTF-8
153-
```
154-
155-
The web interface has the option for "IME Input Mode" in Settings which will allow non english characters to be used from a non en_US keyboard on the client. Once enabled it will perform the same as a local Linux installation set to your locale.
156-
157-
### DRI3 GPU Acceleration (KasmVNC interface)
158-
159-
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
160-
161-
`--device /dev/dri:/dev/dri`
162-
163-
This feature only supports **Open Source** GPU drivers:
164-
165-
| Driver | Description |
166-
| :----: | --- |
167-
| Intel | i965 and i915 drivers for Intel iGPU chipsets |
168-
| AMD | AMDGPU, Radeon, and ATI drivers for AMD dedicated or APU chipsets |
169-
| NVIDIA | nouveau2 drivers only, closed source NVIDIA drivers lack DRI3 support |
170-
171-
The `DRINODE` environment variable can be used to point to a specific GPU.
172-
Up to date information can be found [here](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html)
173-
174-
### Nvidia GPU Support (KasmVNC interface)
143+
### Nvidia GPU Support
175144

176145
**Nvidia support is not compatible with Alpine based images as Alpine lacks Nvidia drivers**
177146

@@ -194,7 +163,7 @@ And to assign the GPU in compose:
194163
```
195164
services:
196165
webtop:
197-
image: lscr.io/linuxserver/webtop:latest
166+
image: lscr.io/linuxserver/webtop:ubuntu-xfce
198167
deploy:
199168
resources:
200169
reservations:
@@ -208,13 +177,13 @@ services:
208177

209178
#### PRoot Apps
210179

211-
If you run system native installations of software IE `sudo apt-get install filezilla` and then upgrade or destroy/re-create the container that software will be removed and the container will be at a clean state. For some users that will be acceptable and they can update their system packages as well using system native commands like `apt-get upgrade`. If you want Docker to handle upgrading the container and retain your applications and settings we have created [proot-apps](https://github.com/linuxserver/proot-apps) which allow portable applications to be installed to persistent storage in the user's `$HOME` directory and they will work in a confined Docker environment out of the box. These applications and their settings will persist upgrades of the base container and can be mounted into different flavors of KasmVNC based containers on the fly. This can be achieved from the command line with:
180+
If you run system native installations of software IE `sudo apt-get install filezilla` and then upgrade or destroy/re-create the container that software will be removed and the container will be at a clean state. For some users that will be acceptable and they can update their system packages as well using system native commands like `apt-get upgrade`. If you want Docker to handle upgrading the container and retain your applications and settings we have created [proot-apps](https://github.com/linuxserver/proot-apps) which allow portable applications to be installed to persistent storage in the user's `$HOME` directory and they will work in a confined Docker environment out of the box. These applications and their settings will persist upgrades of the base container and can be mounted into different flavors ofSelkiess based containers on the fly. This can be achieved from the command line with:
212181

213182
```
214183
proot-apps install filezilla
215184
```
216185

217-
PRoot Apps is included in all KasmVNC based containers, a list of linuxserver.io supported applications is located [HERE](https://github.com/linuxserver/proot-apps?tab=readme-ov-file#supported-apps).
186+
PRoot Apps is included in all Selkies based containers, a list of linuxserver.io supported applications is located [HERE](https://github.com/linuxserver/proot-apps?tab=readme-ov-file#supported-apps).
218187

219188
#### Native Apps
220189

@@ -226,6 +195,11 @@ It is possible to install extra packages during container start using [universal
226195
- INSTALL_PACKAGES=libfuse2|git|gdb
227196
```
228197
198+
### Strict reverse proxies
199+
200+
This image uses a self-signed certificate by default. This naturally means the scheme is `https`.
201+
If you are using a reverse proxy which validates certificates, you need to [disable this check for the container](https://docs.linuxserver.io/faq#strict-proxy).
202+
229203
## Usage
230204

231205
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
@@ -255,8 +229,6 @@ services:
255229
ports:
256230
- 3000:3000
257231
- 3001:3001
258-
devices:
259-
- /dev/dri:/dev/dri #optional
260232
shm_size: "1gb" #optional
261233
restart: unless-stopped
262234
```
@@ -276,7 +248,6 @@ docker run -d \
276248
-p 3001:3001 \
277249
-v /path/to/data:/config \
278250
-v /var/run/docker.sock:/var/run/docker.sock `#optional` \
279-
--device /dev/dri:/dev/dri `#optional` \
280251
--shm-size="1gb" `#optional` \
281252
--restart unless-stopped \
282253
lscr.io/linuxserver/webtop:latest
@@ -288,7 +259,7 @@ Containers are configured using parameters passed at runtime (such as those abov
288259

289260
| Parameter | Function |
290261
| :----: | --- |
291-
| `-p 3000:3000` | Web Desktop GUI |
262+
| `-p 3000:3000` | Web Desktop GUI HTTP, must be proxied |
292263
| `-p 3001:3001` | Web Desktop GUI HTTPS |
293264
| `-e PUID=1000` | for UserID - see below for explanation |
294265
| `-e PGID=1000` | for GroupID - see below for explanation |
@@ -297,7 +268,6 @@ Containers are configured using parameters passed at runtime (such as those abov
297268
| `-e TITLE=Webtop` | String which will be used as page/tab title in the web browser. |
298269
| `-v /config` | abc users home directory |
299270
| `-v /var/run/docker.sock` | Docker Socket on the system, if you want to use Docker in the container |
300-
| `--device /dev/dri` | Add this for GL support (Linux hosts only) |
301271
| `--shm-size=` | We set this to 1 gig to prevent modern web browsers from crashing |
302272
| `--security-opt seccomp=unconfined` | For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker. |
303273

@@ -463,6 +433,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
463433

464434
## Versions
465435

436+
* **17.06.25:** - Rebase all images to Selkies, drop openbox and icewm, bump Alpine to 3.22, bump Fedora to 42.
466437
* **10.01.25:** - Rebase Fedora to 41.
467438
* **06.12.24:** - Rebase Alpine to 3.21.
468439
* **26.09.24:** - Swap from firefox to chromium on Alpine images.

0 commit comments

Comments
 (0)