mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2026-03-16 00:00:48 +08:00
Compare commits
430 Commits
ubuntu-ope
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f06cf5fd17 | ||
|
|
70bca30a18 | ||
|
|
0e5fd12739 | ||
|
|
2b43788467 | ||
|
|
5736f9147b | ||
|
|
44ca683ba1 | ||
|
|
631cec982e | ||
|
|
23bfe27a93 | ||
|
|
95cd9b4a52 | ||
|
|
38915b5142 | ||
|
|
0f3cf48a36 | ||
|
|
9fe8b676df | ||
|
|
d92f370cb6 | ||
|
|
485ff9315c | ||
|
|
32747b1f21 | ||
|
|
75242564b4 | ||
|
|
ebbdc8131c | ||
|
|
794f0e6aea | ||
|
|
dc7b4d53a9 | ||
|
|
687cfca831 | ||
|
|
fbe5c65fc1 | ||
|
|
47e4aac762 | ||
|
|
34dc6d9830 | ||
|
|
ef6b8d7363 | ||
|
|
00c6d28558 | ||
|
|
4421d75996 | ||
|
|
fd456634c9 | ||
|
|
e18c88f424 | ||
|
|
0b8e32e50e | ||
|
|
9c2f49a1ae | ||
|
|
7131f82e3a | ||
|
|
520c890539 | ||
|
|
16feef83cb | ||
|
|
b28a4e40a7 | ||
|
|
8ac02fa426 | ||
|
|
117b43408b | ||
|
|
9aa883e18b | ||
|
|
9dbb86b611 | ||
|
|
a1611ced64 | ||
|
|
3837a24f06 | ||
|
|
772b22ca4a | ||
|
|
667738f5e5 | ||
|
|
2562718546 | ||
|
|
72bc2a3558 | ||
|
|
8ce75c07f9 | ||
|
|
351964b5cb | ||
|
|
d2b3d48f1d | ||
|
|
24e3de4d13 | ||
|
|
3709b0df4b | ||
|
|
f348b38d44 | ||
|
|
5f8735b78c | ||
|
|
2ceaac57cc | ||
|
|
2856dfdd28 | ||
|
|
63d6e5dca7 | ||
|
|
38601bd961 | ||
|
|
11ed31705b | ||
|
|
e5693e8ed2 | ||
|
|
be28f1d01b | ||
|
|
ea44cceaf9 | ||
|
|
67aa28ce96 | ||
|
|
6594a93a28 | ||
|
|
c335df9573 | ||
|
|
96c4a21773 | ||
|
|
777042e5a6 | ||
|
|
25491a8ecf | ||
|
|
78f7c15cc5 | ||
|
|
6436f6ab24 | ||
|
|
e1b0c16b2e | ||
|
|
3332ebf97c | ||
|
|
bd0c2aab46 | ||
|
|
bb39bc1676 | ||
|
|
3e21894b29 | ||
|
|
62c583f3ed | ||
|
|
ae0bb5c040 | ||
|
|
929bcb72e0 | ||
|
|
0ba820e8f8 | ||
|
|
c7eef251f3 | ||
|
|
e96da2ba80 | ||
|
|
501a945a17 | ||
|
|
69f8f1e969 | ||
|
|
91bda7ae63 | ||
|
|
a2aa750c8f | ||
|
|
aa5677d46e | ||
|
|
eea4713313 | ||
|
|
1bd885996f | ||
|
|
22d09e6f78 | ||
|
|
708d4e0ee9 | ||
|
|
c857897253 | ||
|
|
b68bba4bdd | ||
|
|
ee5650615b | ||
|
|
9ded33b4ca | ||
|
|
cf9658d6cf | ||
|
|
3ad4370578 | ||
|
|
0a8620d0c3 | ||
|
|
8f873d9e00 | ||
|
|
f39d257417 | ||
|
|
6613ab5605 | ||
|
|
322e3872bf | ||
|
|
32c5101956 | ||
|
|
f79c202c18 | ||
|
|
5f4226213d | ||
|
|
10ae6a1dd3 | ||
|
|
0ec5d7f99d | ||
|
|
24192ee40a | ||
|
|
76c52443c9 | ||
|
|
747e62d901 | ||
|
|
feb8edcce4 | ||
|
|
eab8d48e69 | ||
|
|
58d595801a | ||
|
|
94d3df0034 | ||
|
|
c311e50d03 | ||
|
|
30074b4e8b | ||
|
|
5cc9c9abeb | ||
|
|
4aaf3cb688 | ||
|
|
0fcf5edf04 | ||
|
|
6e2b530b64 | ||
|
|
a1d011a930 | ||
|
|
8e4b8928ba | ||
|
|
74d1a85227 | ||
|
|
7157988e15 | ||
|
|
aa03733a66 | ||
|
|
db7d0867fc | ||
|
|
aaa4d7e76c | ||
|
|
499d51906d | ||
|
|
08f7963643 | ||
|
|
40991893ce | ||
|
|
f7a619acc4 | ||
|
|
ba37431e10 | ||
|
|
df19a3dc78 | ||
|
|
bbc6cb1a2c | ||
|
|
ed13bae04c | ||
|
|
b02387b55e | ||
|
|
d636cf4ea7 | ||
|
|
2a496ed34e | ||
|
|
580ad4b894 | ||
|
|
f6e9f33f62 | ||
|
|
b374f348e9 | ||
|
|
bc0fde6e3f | ||
|
|
d0630f4a53 | ||
|
|
08922c718a | ||
|
|
c52697f8c5 | ||
|
|
3a83df86e2 | ||
|
|
cd4b0f7959 | ||
|
|
842c8d5545 | ||
|
|
aa03d4aaec | ||
|
|
05053e7f93 | ||
|
|
1e8859dacd | ||
|
|
73e3c25133 | ||
|
|
352a1254b2 | ||
|
|
586c96e139 | ||
|
|
b4df39e677 | ||
|
|
2e92c887e1 | ||
|
|
dc578b8ad2 | ||
|
|
5418791314 | ||
|
|
5994a1b23d | ||
|
|
9851a95888 | ||
|
|
36e6eca79e | ||
|
|
2a4902f7be | ||
|
|
07a13b180c | ||
|
|
827f324b61 | ||
|
|
b97abec7f0 | ||
|
|
897db344bb | ||
|
|
e694cbeb84 | ||
|
|
0da9db836d | ||
|
|
0c79489261 | ||
|
|
df1e7783ab | ||
|
|
fbe4932cd9 | ||
|
|
f5cf5523dc | ||
|
|
1e887fab4b | ||
|
|
d55f2269e7 | ||
|
|
9951b34a20 | ||
|
|
d8b3e193f8 | ||
|
|
bb47a61505 | ||
|
|
d4a2a633c9 | ||
|
|
a6f8b58c7b | ||
|
|
9b0f251b9f | ||
|
|
dfbbb565d4 | ||
|
|
ee343063d6 | ||
|
|
acf68f8191 | ||
|
|
c32f04d991 | ||
|
|
97a14a3ccf | ||
|
|
b436993e27 | ||
|
|
1c1cf9a66d | ||
|
|
8423e7141a | ||
|
|
7a6317dc2a | ||
|
|
4eb20ebaa4 | ||
|
|
bfbf1c477d | ||
|
|
10efe23518 | ||
|
|
c4ae77dd05 | ||
|
|
9bb5968e4d | ||
|
|
0e281c195e | ||
|
|
a59a7937fb | ||
|
|
05fd421f0a | ||
|
|
9d742431d7 | ||
|
|
55d5305a5c | ||
|
|
ef8bd54338 | ||
|
|
b36f750888 | ||
|
|
2d99eb38b9 | ||
|
|
a554e32e3a | ||
|
|
69ad1c5783 | ||
|
|
a791707dc2 | ||
|
|
b950d2ec92 | ||
|
|
29198555a9 | ||
|
|
b1236678b5 | ||
|
|
2928ac92f7 | ||
|
|
31ffc9d486 | ||
|
|
a49bf945ed | ||
|
|
647b4dcf09 | ||
|
|
58f6d6376b | ||
|
|
b3ff24b4a7 | ||
|
|
0ddcd66f84 | ||
|
|
6523f92c8c | ||
|
|
fc7cc8b543 | ||
|
|
29d5ed2882 | ||
|
|
a0ea76fb88 | ||
|
|
fd2db0a85b | ||
|
|
b972a4dd01 | ||
|
|
7284b40beb | ||
|
|
87a7d45f89 | ||
|
|
ee279d49b5 | ||
|
|
38a5496bbc | ||
|
|
6eccffbe4a | ||
|
|
e0a487869f | ||
|
|
096d3668fe | ||
|
|
f6566f44b7 | ||
|
|
865484c23d | ||
|
|
4ede29848e | ||
|
|
81d598c0c4 | ||
|
|
9702c8adf9 | ||
|
|
7da503212f | ||
|
|
8cfe02ae73 | ||
|
|
92774a7e31 | ||
|
|
34d85a42c4 | ||
|
|
c09a87b242 | ||
|
|
59caf70aa9 | ||
|
|
9c4bc0371e | ||
|
|
8b503ed40d | ||
|
|
fb89f77b22 | ||
|
|
89f35e345e | ||
|
|
cc043012c4 | ||
|
|
f4a2edb430 | ||
|
|
7e88f0eced | ||
|
|
e027c478b4 | ||
|
|
ef211442f4 | ||
|
|
a8855993ab | ||
|
|
98fda6ee10 | ||
|
|
8de307d433 | ||
|
|
688fc234d2 | ||
|
|
8cf3754783 | ||
|
|
70c2bc9876 | ||
|
|
7acf5da186 | ||
|
|
e0fac25b50 | ||
|
|
a149383db5 | ||
|
|
00cf3f72bd | ||
|
|
83384c12d3 | ||
|
|
a148f70d1b | ||
|
|
7d3bfa20fd | ||
|
|
5fff5508ff | ||
|
|
a7583f56b3 | ||
|
|
75f4635e8d | ||
|
|
9d1f378c82 | ||
|
|
19a9723db0 | ||
|
|
a55cd2de42 | ||
|
|
4ca14e230f | ||
|
|
f749f327a8 | ||
|
|
b031665caf | ||
|
|
d4e52c4853 | ||
|
|
9bda13f429 | ||
|
|
4863bc9ae4 | ||
|
|
74bd373ab0 | ||
|
|
a21b8000ad | ||
|
|
ea5ef59fbe | ||
|
|
8af1ea37c7 | ||
|
|
e017ce0af1 | ||
|
|
d3ab05332f | ||
|
|
e41620c183 | ||
|
|
5232ef954d | ||
|
|
e69f03cda6 | ||
|
|
59fdaccb81 | ||
|
|
025e07bfe6 | ||
|
|
8d70825d3a | ||
|
|
575f8da40f | ||
|
|
bd04f1d38a | ||
|
|
5e2fc7a511 | ||
|
|
ac534c2c14 | ||
|
|
6484c73465 | ||
|
|
558ad07508 | ||
|
|
deaae109ff | ||
|
|
6eecec2668 | ||
|
|
bbc6405421 | ||
|
|
7591d2d915 | ||
|
|
cb32ec49c0 | ||
|
|
f7ae5db28c | ||
|
|
e99d32d96e | ||
|
|
78144c32bb | ||
|
|
fd7c5e1460 | ||
|
|
3353cbfe04 | ||
|
|
d4a8575805 | ||
|
|
cff7067bc5 | ||
|
|
059162e8e5 | ||
|
|
9bf50451e6 | ||
|
|
5f2ce9ee32 | ||
|
|
50f2a52d47 | ||
|
|
2c6f7fd620 | ||
|
|
bdaa3cb518 | ||
|
|
9069380e77 | ||
|
|
dc1809161e | ||
|
|
b2f58e9b67 | ||
|
|
1c3013fbeb | ||
|
|
6bf92e4da5 | ||
|
|
c604e4f95f | ||
|
|
6702a52ed4 | ||
|
|
4db2cbf4ad | ||
|
|
00a28497c9 | ||
|
|
1091cc5dfa | ||
|
|
a9c2431f1e | ||
|
|
8a8d3a28b7 | ||
|
|
a417d590a5 | ||
|
|
57536ff577 | ||
|
|
7872daccd2 | ||
|
|
fde3528f44 | ||
|
|
a0b58b900f | ||
|
|
839988ab1c | ||
|
|
95175388d4 | ||
|
|
7e3fb67d61 | ||
|
|
cac8ba0c89 | ||
|
|
63219869d9 | ||
|
|
b79a5c2ca3 | ||
|
|
a224d34557 | ||
|
|
f9f9dec2d3 | ||
|
|
0d6ce10ad0 | ||
|
|
bb4b0ce9b8 | ||
|
|
80fa09ee6f | ||
|
|
2afcfd4138 | ||
|
|
974ccd2993 | ||
|
|
b189218ada | ||
|
|
4b397912d8 | ||
|
|
7fe1a8177a | ||
|
|
ffa026b067 | ||
|
|
982da56981 | ||
|
|
840a98827f | ||
|
|
6581fe6283 | ||
|
|
f383ba44c3 | ||
|
|
04c53db7fb | ||
|
|
feb8940af7 | ||
|
|
94422aeaed | ||
|
|
27c6cbd413 | ||
|
|
4108b7a640 | ||
|
|
4fd9e7a919 | ||
|
|
3c0effb0ee | ||
|
|
6064a9e172 | ||
|
|
60ec7590da | ||
|
|
d977113e5c | ||
|
|
7964d39843 | ||
|
|
0654b28b39 | ||
|
|
bfd19d9f2b | ||
|
|
38469c2a42 | ||
|
|
f2507a499d | ||
|
|
dfb84f89de | ||
|
|
e941bf34c9 | ||
|
|
bf26ad74f1 | ||
|
|
adab982b67 | ||
|
|
83fac4d61e | ||
|
|
1fcfe0d051 | ||
|
|
9de32b1377 | ||
|
|
9b5b5a090d | ||
|
|
2bcf726910 | ||
|
|
d6d44709de | ||
|
|
4e15fdd698 | ||
|
|
dda5901072 | ||
|
|
10d80abe01 | ||
|
|
89a91f5365 | ||
|
|
910c2e732c | ||
|
|
2294eb64e8 | ||
|
|
2bcc8cb18e | ||
|
|
5ff0bd6d84 | ||
|
|
ddbf4e4b06 | ||
|
|
f40891b7ff | ||
|
|
94ee496808 | ||
|
|
200536fb2c | ||
|
|
c49c8528d7 | ||
|
|
50b01caaf9 | ||
|
|
3ac3dbd5a3 | ||
|
|
f7a6daead0 | ||
|
|
5db71faf43 | ||
|
|
99523b8a94 | ||
|
|
f729f7d29b | ||
|
|
a64e715c7b | ||
|
|
d439696948 | ||
|
|
db71da5f24 | ||
|
|
d5db59c9ff | ||
|
|
a4148b2aec | ||
|
|
c76991ea1a | ||
|
|
ab14d674c8 | ||
|
|
94f2698fc1 | ||
|
|
c448398e84 | ||
|
|
c2e87a5b9b | ||
|
|
527af7e4b0 | ||
|
|
264b3a1cc2 | ||
|
|
0cc2aac01f | ||
|
|
9e9b2c1a3b | ||
|
|
28038ed646 | ||
|
|
717f91ce26 | ||
|
|
889e2a0a8a | ||
|
|
c286769a5a | ||
|
|
87a2e9a0a9 | ||
|
|
ff2182bcf0 | ||
|
|
43a1545593 | ||
|
|
8f5d0a62a5 | ||
|
|
c888fe43ba | ||
|
|
7c5e8e4d79 | ||
|
|
59046f99c3 | ||
|
|
7433d047f0 | ||
|
|
61c88ee556 | ||
|
|
7a4fd21d68 | ||
|
|
61e2749c2d | ||
|
|
c4912fc556 | ||
|
|
6c0c1d48b6 | ||
|
|
a78c985c1b | ||
|
|
f268889316 | ||
|
|
2d8e587fe7 | ||
|
|
fef8264695 | ||
|
|
137a194320 | ||
|
|
79494a2baa | ||
|
|
013e67cc0e | ||
|
|
319f811871 | ||
|
|
4664ed47cc | ||
|
|
5f6f0e4940 | ||
|
|
fe73354b4f | ||
|
|
978b98fd20 |
2
.editorconfig
Executable file → Normal file
2
.editorconfig
Executable file → Normal file
@ -15,6 +15,6 @@ trim_trailing_whitespace = false
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[{**.sh,root/etc/cont-init.d/**,root/etc/services.d/**}]
|
||||
[{**.sh,root/etc/s6-overlay/s6-rc.d/**,root/etc/cont-init.d/**,root/etc/services.d/**}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
10
.github/CONTRIBUTING.md
vendored
10
.github/CONTRIBUTING.md
vendored
@ -6,7 +6,7 @@
|
||||
* Read, and fill the Pull Request template
|
||||
* If this is a fix for a typo (in code, documentation, or the README) please file an issue and let us sort it out. We do not need a PR
|
||||
* If the PR is addressing an existing issue include, closes #\<issue number>, in the body of the PR commit message
|
||||
* If you want to discuss changes, you can also bring it up in [#dev-talk](https://discordapp.com/channels/354974912613449730/757585807061155840) in our [Discord server](https://discord.gg/YWrKVTn)
|
||||
* If you want to discuss changes, you can also bring it up in [#dev-talk](https://discordapp.com/channels/354974912613449730/757585807061155840) in our [Discord server](https://linuxserver.io/discord)
|
||||
|
||||
## Common files
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
## Readme
|
||||
|
||||
If you would like to change our readme, please __**do not**__ directly edit the readme, as it is auto-generated on each commit.
|
||||
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-webtop/edit/ubuntu-openbox/readme-vars.yml).
|
||||
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-webtop/edit/master/readme-vars.yml).
|
||||
|
||||
These variables are used in a template for our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) as part of an ansible play.
|
||||
Most of these variables are also carried over to [docs.linuxserver.io](https://docs.linuxserver.io/images/docker-webtop)
|
||||
@ -105,17 +105,17 @@ docker build \
|
||||
-t linuxserver/webtop:latest .
|
||||
```
|
||||
|
||||
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
|
||||
The ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`
|
||||
|
||||
```bash
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset
|
||||
```
|
||||
|
||||
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
|
||||
|
||||
## Update the changelog
|
||||
|
||||
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-webtop/tree/ubuntu-openbox/root), add an entry to the changelog
|
||||
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-webtop/tree/master/root), add an entry to the changelog
|
||||
|
||||
```yml
|
||||
changelogs:
|
||||
|
||||
2
.github/ISSUE_TEMPLATE/config.yml
vendored
2
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -1,7 +1,7 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Discord chat support
|
||||
url: https://discord.gg/YWrKVTn
|
||||
url: https://linuxserver.io/discord
|
||||
about: Realtime support / chat with the community and the team.
|
||||
|
||||
- name: Discourse discussion forum
|
||||
|
||||
40
.github/ISSUE_TEMPLATE/issue.bug.md
vendored
40
.github/ISSUE_TEMPLATE/issue.bug.md
vendored
@ -1,40 +0,0 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
[linuxserverurl]: https://linuxserver.io
|
||||
[][linuxserverurl]
|
||||
|
||||
<!--- If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support. --->
|
||||
|
||||
<!--- Provide a general summary of the bug in the Title above -->
|
||||
|
||||
------------------------------
|
||||
|
||||
## Expected Behavior
|
||||
<!--- Tell us what should happen -->
|
||||
|
||||
## Current Behavior
|
||||
<!--- Tell us what happens instead of the expected behavior -->
|
||||
|
||||
## Steps to Reproduce
|
||||
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
|
||||
<!--- reproduce this bug. Include code to reproduce, if relevant -->
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
4.
|
||||
|
||||
## Environment
|
||||
**OS:**
|
||||
**CPU architecture:** x86_64/arm32/arm64
|
||||
**How docker service was installed:**
|
||||
<!--- ie. from the official docker repo, from the distro repo, nas OS provided, etc. -->
|
||||
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
|
||||
|
||||
## Command used to create docker container (run/create/compose/screenshot)
|
||||
<!--- Provide your docker create/run command or compose yaml snippet, or a screenshot of settings if using a gui to create the container -->
|
||||
|
||||
## Docker logs
|
||||
<!--- Provide a full docker log, output of "docker logs webtop" -->
|
||||
76
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
Normal file
76
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
Normal file
@ -0,0 +1,76 @@
|
||||
# Based on the issue template
|
||||
name: Bug report
|
||||
description: Create a report to help us improve
|
||||
title: "[BUG] <title>"
|
||||
labels: [Bug]
|
||||
body:
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Is there an existing issue for this?
|
||||
description: Please search to see if an issue already exists for the bug you encountered.
|
||||
options:
|
||||
- label: I have searched the existing issues
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Current Behavior
|
||||
description: Tell us what happens instead of the expected behavior.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Expected Behavior
|
||||
description: Tell us what should happen.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Steps To Reproduce
|
||||
description: Steps to reproduce the behavior.
|
||||
placeholder: |
|
||||
1. In this environment...
|
||||
2. With this config...
|
||||
3. Run '...'
|
||||
4. See error...
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Environment
|
||||
description: |
|
||||
examples:
|
||||
- **OS**: Ubuntu 20.04
|
||||
- **How docker service was installed**: distro's packagemanager
|
||||
value: |
|
||||
- OS:
|
||||
- How docker service was installed:
|
||||
render: markdown
|
||||
validations:
|
||||
required: false
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: CPU architecture
|
||||
options:
|
||||
- x86-64
|
||||
- arm64
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Docker creation
|
||||
description: |
|
||||
Command used to create docker container
|
||||
Provide your docker create/run command or compose yaml snippet, or a screenshot of settings if using a gui to create the container
|
||||
render: bash
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
description: |
|
||||
Provide a full docker log, output of "docker logs webtop"
|
||||
label: Container logs
|
||||
placeholder: |
|
||||
Output of `docker logs webtop`
|
||||
render: bash
|
||||
validations:
|
||||
required: true
|
||||
25
.github/ISSUE_TEMPLATE/issue.feature.md
vendored
25
.github/ISSUE_TEMPLATE/issue.feature.md
vendored
@ -1,25 +0,0 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
[linuxserverurl]: https://linuxserver.io
|
||||
[][linuxserverurl]
|
||||
|
||||
<!--- If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support. --->
|
||||
|
||||
<!--- If this acts as a feature request please ask yourself if this modification is something the whole userbase will benefit from --->
|
||||
<!--- If this is a specific change for corner case functionality or plugins please look at making a Docker Mod or local script https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ -->
|
||||
|
||||
<!--- Provide a general summary of the request in the Title above -->
|
||||
|
||||
------------------------------
|
||||
|
||||
## Desired Behavior
|
||||
<!--- Tell us what should happen -->
|
||||
|
||||
## Current Behavior
|
||||
<!--- Tell us what happens instead of the expected behavior -->
|
||||
|
||||
## Alternatives Considered
|
||||
<!--- Tell us what other options you have tried or considered -->
|
||||
31
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
Normal file
31
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
# Based on the issue template
|
||||
name: Feature request
|
||||
description: Suggest an idea for this project
|
||||
title: "[FEAT] <title>"
|
||||
labels: [enhancement]
|
||||
body:
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Is this a new feature request?
|
||||
description: Please search to see if a feature request already exists.
|
||||
options:
|
||||
- label: I have searched the existing issues
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Wanted change
|
||||
description: Tell us what you want to happen.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Reason for change
|
||||
description: Justify your request, why do you want it, what is the benefit.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Proposed code change
|
||||
description: Do you have a potential code change in mind?
|
||||
validations:
|
||||
required: false
|
||||
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -21,7 +21,7 @@
|
||||
|
||||
------------------------------
|
||||
|
||||
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-webtop/blob/ubuntu-openbox/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
|
||||
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-webtop/blob/master/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
|
||||
|
||||
------------------------------
|
||||
|
||||
|
||||
19
.github/workflows/call_issue_pr_tracker.yml
vendored
Normal file
19
.github/workflows/call_issue_pr_tracker.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Issue & PR Tracker
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened,reopened,labeled,unlabeled,closed]
|
||||
pull_request_target:
|
||||
types: [opened,reopened,review_requested,review_request_removed,labeled,unlabeled,closed]
|
||||
pull_request_review:
|
||||
types: [submitted,edited,dismissed]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
manage-project:
|
||||
permissions:
|
||||
issues: write
|
||||
uses: linuxserver/github-workflows/.github/workflows/issue-pr-tracker.yml@v1
|
||||
secrets: inherit
|
||||
16
.github/workflows/call_issues_cron.yml
vendored
Normal file
16
.github/workflows/call_issues_cron.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
name: Mark stale issues and pull requests
|
||||
on:
|
||||
schedule:
|
||||
- cron: '36 11 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
uses: linuxserver/github-workflows/.github/workflows/issues-cron.yml@v1
|
||||
secrets: inherit
|
||||
20
.github/workflows/external_trigger.yml
vendored
20
.github/workflows/external_trigger.yml
vendored
@ -3,14 +3,26 @@ name: External Trigger Main
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
external-trigger-ubuntu-openbox:
|
||||
external-trigger-master:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.3
|
||||
- uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: External Trigger
|
||||
if: github.ref == 'refs/heads/ubuntu-openbox'
|
||||
if: github.ref == 'refs/heads/master'
|
||||
env:
|
||||
SKIP_EXTERNAL_TRIGGER: ${{ vars.SKIP_EXTERNAL_TRIGGER }}
|
||||
run: |
|
||||
echo "**** No external release, exiting ****"
|
||||
printf "# External trigger for docker-webtop\n\n" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Type is \`os\`" >> $GITHUB_STEP_SUMMARY
|
||||
echo "No external release, exiting" >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
if grep -q "^webtop_master_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` matches current external release; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
fi
|
||||
|
||||
37
.github/workflows/external_trigger_scheduler.yml
vendored
37
.github/workflows/external_trigger_scheduler.yml
vendored
@ -2,42 +2,47 @@ name: External Trigger Scheduler
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '15 * * * *'
|
||||
- cron: '27 * * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
external-trigger-scheduler:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.3
|
||||
- uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
- name: External Trigger Scheduler
|
||||
run: |
|
||||
echo "**** Branches found: ****"
|
||||
git for-each-ref --format='%(refname:short)' refs/remotes
|
||||
echo "**** Pulling the yq docker image ****"
|
||||
docker pull ghcr.io/linuxserver/yq
|
||||
for br in $(git for-each-ref --format='%(refname:short)' refs/remotes)
|
||||
printf "# External trigger scheduler for docker-webtop\n\n" >> $GITHUB_STEP_SUMMARY
|
||||
printf "Found the branches:\n\n%s\n" "$(git for-each-ref --format='- %(refname:lstrip=3)' refs/remotes)" >> $GITHUB_STEP_SUMMARY
|
||||
for br in $(git for-each-ref --format='%(refname:lstrip=3)' refs/remotes)
|
||||
do
|
||||
br=$(echo "$br" | sed 's|origin/||g')
|
||||
echo "**** Evaluating branch ${br} ****"
|
||||
ls_branch=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-webtop/${br}/jenkins-vars.yml \
|
||||
| docker run --rm -i --entrypoint yq ghcr.io/linuxserver/yq -r .ls_branch)
|
||||
if [ "$br" == "$ls_branch" ]; then
|
||||
echo "**** Branch ${br} appears to be live; checking workflow. ****"
|
||||
if [[ "${br}" == "HEAD" ]]; then
|
||||
printf "\nSkipping %s.\n" ${br} >> $GITHUB_STEP_SUMMARY
|
||||
continue
|
||||
fi
|
||||
printf "\n## Evaluating \`%s\`\n\n" ${br} >> $GITHUB_STEP_SUMMARY
|
||||
ls_jenkins_vars=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-webtop/${br}/jenkins-vars.yml)
|
||||
ls_branch=$(echo "${ls_jenkins_vars}" | yq -r '.ls_branch')
|
||||
ls_trigger=$(echo "${ls_jenkins_vars}" | yq -r '.external_type')
|
||||
if [[ "${br}" == "${ls_branch}" ]] && [[ "${ls_trigger}" != "os" ]]; then
|
||||
echo "Branch appears to be live and trigger is not os; checking workflow." >> $GITHUB_STEP_SUMMARY
|
||||
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-webtop/${br}/.github/workflows/external_trigger.yml > /dev/null 2>&1; then
|
||||
echo "**** Workflow exists. Triggering external trigger workflow for branch ${br} ****."
|
||||
echo "Triggering external trigger workflow for branch." >> $GITHUB_STEP_SUMMARY
|
||||
curl -iX POST \
|
||||
-H "Authorization: token ${{ secrets.CR_PAT }}" \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
-d "{\"ref\":\"refs/heads/${br}\"}" \
|
||||
https://api.github.com/repos/linuxserver/docker-webtop/actions/workflows/external_trigger.yml/dispatches
|
||||
else
|
||||
echo "**** Workflow doesn't exist; skipping trigger. ****"
|
||||
echo "Skipping branch due to no external trigger workflow present." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
else
|
||||
echo "**** ${br} appears to be a dev branch; skipping trigger. ****"
|
||||
echo "Skipping branch due to being detected as dev branch or having no external version." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
done
|
||||
|
||||
10
.github/workflows/greetings.yml
vendored
10
.github/workflows/greetings.yml
vendored
@ -2,12 +2,18 @@ name: Greetings
|
||||
|
||||
on: [pull_request_target, issues]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
greeting:
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver/docker-webtop/blob/ubuntu-openbox/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-webtop/blob/ubuntu-openbox/.github/ISSUE_TEMPLATE/issue.feature.md) issue templates!'
|
||||
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-webtop/blob/ubuntu-openbox/.github/PULL_REQUEST_TEMPLATE.md)!'
|
||||
issue-message: 'Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.'
|
||||
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-webtop/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
38
.github/workflows/package_trigger.yml
vendored
38
.github/workflows/package_trigger.yml
vendored
@ -1,38 +0,0 @@
|
||||
name: Package Trigger Main
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
package-trigger-ubuntu-openbox:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.3
|
||||
|
||||
- name: Package Trigger
|
||||
if: github.ref == 'refs/heads/ubuntu-openbox'
|
||||
run: |
|
||||
if [ -n "${{ secrets.PAUSE_PACKAGE_TRIGGER_WEBTOP_UBUNTU_OPENBOX }}" ]; then
|
||||
echo "**** Github secret PAUSE_PACKAGE_TRIGGER_WEBTOP_UBUNTU_OPENBOX is set; skipping trigger. ****"
|
||||
exit 0
|
||||
fi
|
||||
if [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-webtop/job/ubuntu-openbox/lastBuild/api/json | jq -r '.building') == "true" ]; then
|
||||
echo "**** There already seems to be an active build on Jenkins; skipping package trigger ****"
|
||||
exit 0
|
||||
fi
|
||||
echo "**** Package trigger running off of ubuntu-openbox branch. To disable, set a Github secret named \"PAUSE_PACKAGE_TRIGGER_WEBTOP_UBUNTU_OPENBOX\". ****"
|
||||
response=$(curl -iX POST \
|
||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-webtop/job/ubuntu-openbox/buildWithParameters?PACKAGE_CHECK=true \
|
||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
|
||||
echo "**** Jenkins job queue url: ${response%$'\r'} ****"
|
||||
echo "**** Sleeping 10 seconds until job starts ****"
|
||||
sleep 10
|
||||
buildurl=$(curl -s "${response%$'\r'}api/json" | jq -r '.executable.url')
|
||||
buildurl="${buildurl%$'\r'}"
|
||||
echo "**** Jenkins job build url: ${buildurl} ****"
|
||||
echo "**** Attempting to change the Jenkins job description ****"
|
||||
curl -iX POST \
|
||||
"${buildurl}submitDescription" \
|
||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} \
|
||||
--data-urlencode "description=GHA package trigger https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
|
||||
--data-urlencode "Submit=Submit"
|
||||
111
.github/workflows/package_trigger_scheduler.yml
vendored
111
.github/workflows/package_trigger_scheduler.yml
vendored
@ -2,49 +2,102 @@ name: Package Trigger Scheduler
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '04 9 * * 0'
|
||||
- cron: '19 3 * * 2'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
package-trigger-scheduler:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.3
|
||||
- uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
- name: Package Trigger Scheduler
|
||||
env:
|
||||
SKIP_PACKAGE_TRIGGER: ${{ vars.SKIP_PACKAGE_TRIGGER }}
|
||||
run: |
|
||||
echo "**** Branches found: ****"
|
||||
git for-each-ref --format='%(refname:short)' refs/remotes
|
||||
echo "**** Pulling the yq docker image ****"
|
||||
docker pull ghcr.io/linuxserver/yq
|
||||
for br in $(git for-each-ref --format='%(refname:short)' refs/remotes)
|
||||
printf "# Package trigger scheduler for docker-webtop\n\n" >> $GITHUB_STEP_SUMMARY
|
||||
printf "Found the branches:\n\n%s\n" "$(git for-each-ref --format='- %(refname:lstrip=3)' refs/remotes)" >> $GITHUB_STEP_SUMMARY
|
||||
for br in $(git for-each-ref --format='%(refname:lstrip=3)' refs/remotes)
|
||||
do
|
||||
br=$(echo "$br" | sed 's|origin/||g')
|
||||
echo "**** Evaluating branch ${br} ****"
|
||||
ls_branch=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-webtop/${br}/jenkins-vars.yml \
|
||||
| docker run --rm -i --entrypoint yq ghcr.io/linuxserver/yq -r .ls_branch)
|
||||
if [ "${br}" == "${ls_branch}" ]; then
|
||||
echo "**** Branch ${br} appears to be live; checking workflow. ****"
|
||||
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-webtop/${br}/.github/workflows/package_trigger.yml > /dev/null 2>&1; then
|
||||
echo "**** Workflow exists. Triggering package trigger workflow for branch ${br}. ****"
|
||||
triggered_branches="${triggered_branches}${br} "
|
||||
curl -iX POST \
|
||||
-H "Authorization: token ${{ secrets.CR_PAT }}" \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
-d "{\"ref\":\"refs/heads/${br}\"}" \
|
||||
https://api.github.com/repos/linuxserver/docker-webtop/actions/workflows/package_trigger.yml/dispatches
|
||||
sleep 30
|
||||
if [[ "${br}" == "HEAD" ]]; then
|
||||
printf "\nSkipping %s.\n" ${br} >> $GITHUB_STEP_SUMMARY
|
||||
continue
|
||||
fi
|
||||
printf "\n## Evaluating \`%s\`\n\n" ${br} >> $GITHUB_STEP_SUMMARY
|
||||
JENKINS_VARS=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-webtop/${br}/jenkins-vars.yml)
|
||||
if ! curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-webtop/${br}/Jenkinsfile >/dev/null 2>&1; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> No Jenkinsfile found. Branch is either deprecated or is an early dev branch." >> $GITHUB_STEP_SUMMARY
|
||||
skipped_branches="${skipped_branches}${br} "
|
||||
elif [[ "${br}" == $(yq -r '.ls_branch' <<< "${JENKINS_VARS}") ]]; then
|
||||
echo "Branch appears to be live; checking workflow." >> $GITHUB_STEP_SUMMARY
|
||||
README_VARS=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-webtop/${br}/readme-vars.yml)
|
||||
if [[ $(yq -r '.project_deprecation_status' <<< "${README_VARS}") == "true" ]]; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Branch appears to be deprecated; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||
skipped_branches="${skipped_branches}${br} "
|
||||
elif [[ $(yq -r '.skip_package_check' <<< "${JENKINS_VARS}") == "true" ]]; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Skipping branch ${br} due to \`skip_package_check\` being set in \`jenkins-vars.yml\`." >> $GITHUB_STEP_SUMMARY
|
||||
skipped_branches="${skipped_branches}${br} "
|
||||
elif grep -q "^webtop_${br}" <<< "${SKIP_PACKAGE_TRIGGER}"; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Github organizational variable \`SKIP_PACKAGE_TRIGGER\` contains \`webtop_${br}\`; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||
skipped_branches="${skipped_branches}${br} "
|
||||
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-webtop/job/${br}/lastBuild/api/json | jq -r '.building' 2>/dev/null) == "true" ]; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> There already seems to be an active build on Jenkins; skipping package trigger for ${br}" >> $GITHUB_STEP_SUMMARY
|
||||
skipped_branches="${skipped_branches}${br} "
|
||||
else
|
||||
echo "**** Workflow doesn't exist; skipping trigger. ****"
|
||||
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Triggering package trigger for branch ${br}" >> $GITHUB_STEP_SUMMARY
|
||||
printf "> To disable, add \`webtop_%s\` into the Github organizational variable \`SKIP_PACKAGE_TRIGGER\`.\n\n" "${br}" >> $GITHUB_STEP_SUMMARY
|
||||
triggered_branches="${triggered_branches}${br} "
|
||||
response=$(curl -iX POST \
|
||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-webtop/job/${br}/buildWithParameters?PACKAGE_CHECK=true \
|
||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
|
||||
if [[ -z "${response}" ]]; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Jenkins build could not be triggered. Skipping branch."
|
||||
continue
|
||||
fi
|
||||
echo "Jenkins [job queue url](${response%$'\r'})" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Sleeping 10 seconds until job starts" >> $GITHUB_STEP_SUMMARY
|
||||
sleep 10
|
||||
buildurl=$(curl -s "${response%$'\r'}api/json" | jq -r '.executable.url')
|
||||
buildurl="${buildurl%$'\r'}"
|
||||
echo "Jenkins job [build url](${buildurl})" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Attempting to change the Jenkins job description" >> $GITHUB_STEP_SUMMARY
|
||||
if ! curl -ifX POST \
|
||||
"${buildurl}submitDescription" \
|
||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} \
|
||||
--data-urlencode "description=GHA package trigger https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
|
||||
--data-urlencode "Submit=Submit"; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Unable to change the Jenkins job description."
|
||||
fi
|
||||
sleep 20
|
||||
fi
|
||||
else
|
||||
echo "**** ${br} appears to be a dev branch; skipping trigger. ****"
|
||||
echo "Skipping branch ${br} due to being detected as dev branch." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
done
|
||||
echo "**** Package check build(s) triggered for branch(es): ${triggered_branches} ****"
|
||||
echo "**** Notifying Discord ****"
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
|
||||
"description": "**Package Check Build(s) Triggered for webtop** \n**Branch(es):** '"${triggered_branches}"' \n**Build URL:** '"https://ci.linuxserver.io/blue/organizations/jenkins/Docker-Pipeline-Builders%2Fdocker-webtop/activity/"' \n"}],
|
||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
||||
if [[ -n "${triggered_branches}" ]] || [[ -n "${skipped_branches}" ]]; then
|
||||
if [[ -n "${triggered_branches}" ]]; then
|
||||
NOTIFY_BRANCHES="**Triggered:** ${triggered_branches} \n"
|
||||
NOTIFY_BUILD_URL="**Build URL:** https://ci.linuxserver.io/blue/organizations/jenkins/Docker-Pipeline-Builders%2Fdocker-webtop/activity/ \n"
|
||||
echo "**** Package check build(s) triggered for branch(es): ${triggered_branches} ****"
|
||||
fi
|
||||
if [[ -n "${skipped_branches}" ]]; then
|
||||
NOTIFY_BRANCHES="${NOTIFY_BRANCHES}**Skipped:** ${skipped_branches} \n"
|
||||
fi
|
||||
echo "**** Notifying Discord ****"
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
|
||||
"description": "**Package Check Build(s) for webtop** \n'"${NOTIFY_BRANCHES}"''"${NOTIFY_BUILD_URL}"'"}],
|
||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
||||
fi
|
||||
|
||||
12
.github/workflows/permissions.yml
vendored
Normal file
12
.github/workflows/permissions.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
name: Permission check
|
||||
on:
|
||||
pull_request_target:
|
||||
paths:
|
||||
- '**/run'
|
||||
- '**/finish'
|
||||
- '**/check'
|
||||
- 'root/migrations/*'
|
||||
|
||||
jobs:
|
||||
permission_check:
|
||||
uses: linuxserver/github-workflows/.github/workflows/init-svc-executable-permissions.yml@v1
|
||||
23
.github/workflows/stale.yml
vendored
23
.github/workflows/stale.yml
vendored
@ -1,23 +0,0 @@
|
||||
name: Mark stale issues and pull requests
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "30 1 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v3
|
||||
with:
|
||||
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
|
||||
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
|
||||
stale-issue-label: 'no-issue-activity'
|
||||
stale-pr-label: 'no-pr-activity'
|
||||
days-before-stale: 30
|
||||
days-before-close: 365
|
||||
exempt-issue-labels: 'awaiting-approval,work-in-progress'
|
||||
exempt-pr-labels: 'awaiting-approval,work-in-progress'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
44
Dockerfile
44
Dockerfile
@ -1,30 +1,50 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-rdesktop-web:focal
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-selkies:alpine323
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG XFCE_VERSION
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="thelamer"
|
||||
|
||||
# title
|
||||
ENV TITLE="Alpine XFCE"
|
||||
|
||||
RUN \
|
||||
echo "**** add icon ****" && \
|
||||
curl -o \
|
||||
/usr/share/selkies/www/icon.png \
|
||||
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get install --no-install-recommends -y \
|
||||
featherpad \
|
||||
firefox \
|
||||
obconf \
|
||||
python2-minimal && \
|
||||
apk add --no-cache \
|
||||
adw-gtk3 \
|
||||
adwaita-xfce-icon-theme \
|
||||
chromium \
|
||||
mousepad \
|
||||
ristretto \
|
||||
thunar \
|
||||
util-linux-misc \
|
||||
xfce4 \
|
||||
xfce4-terminal && \
|
||||
echo "**** xfce-tweaks ****" && \
|
||||
mv \
|
||||
/usr/bin/thunar \
|
||||
/usr/bin/thunar-real && \
|
||||
echo "**** cleanup ****" && \
|
||||
apt-get autoclean && \
|
||||
rm -f \
|
||||
/etc/xdg/autostart/xfce4-power-manager.desktop \
|
||||
/etc/xdg/autostart/xscreensaver.desktop \
|
||||
/usr/share/xfce4/panel/plugins/power-manager-plugin.desktop && \
|
||||
rm -rf \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/* \
|
||||
/config/.cache \
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY /root /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 3000
|
||||
EXPOSE 3001
|
||||
|
||||
VOLUME /config
|
||||
|
||||
@ -1,30 +1,50 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-rdesktop-web:arm64v8-focal
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-alpine323
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG XFCE_VERSION
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="thelamer"
|
||||
|
||||
# title
|
||||
ENV TITLE="Alpine XFCE"
|
||||
|
||||
RUN \
|
||||
echo "**** add icon ****" && \
|
||||
curl -o \
|
||||
/usr/share/selkies/www/icon.png \
|
||||
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get install --no-install-recommends -y \
|
||||
featherpad \
|
||||
firefox \
|
||||
obconf \
|
||||
python2-minimal && \
|
||||
apk add --no-cache \
|
||||
adw-gtk3 \
|
||||
adwaita-xfce-icon-theme \
|
||||
chromium \
|
||||
mousepad \
|
||||
ristretto \
|
||||
thunar \
|
||||
util-linux-misc \
|
||||
xfce4 \
|
||||
xfce4-terminal && \
|
||||
echo "**** xfce-tweaks ****" && \
|
||||
mv \
|
||||
/usr/bin/thunar \
|
||||
/usr/bin/thunar-real && \
|
||||
echo "**** cleanup ****" && \
|
||||
apt-get autoclean && \
|
||||
rm -f \
|
||||
/etc/xdg/autostart/xfce4-power-manager.desktop \
|
||||
/etc/xdg/autostart/xscreensaver.desktop \
|
||||
/usr/share/xfce4/panel/plugins/power-manager-plugin.desktop && \
|
||||
rm -rf \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/* \
|
||||
/config/.cache \
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY /root /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 3000
|
||||
EXPOSE 3001
|
||||
|
||||
VOLUME /config
|
||||
|
||||
@ -1,30 +0,0 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-rdesktop-web:arm32v7-focal
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="thelamer"
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get install --no-install-recommends -y \
|
||||
featherpad \
|
||||
firefox \
|
||||
obconf \
|
||||
python2-minimal && \
|
||||
echo "**** cleanup ****" && \
|
||||
apt-get autoclean && \
|
||||
rm -rf \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/* \
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY /root /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 3000
|
||||
VOLUME /config
|
||||
1052
Jenkinsfile
vendored
1052
Jenkinsfile
vendored
File diff suppressed because it is too large
Load Diff
598
README.md
598
README.md
@ -1,12 +1,10 @@
|
||||
<!-- DO NOT EDIT THIS FILE MANUALLY -->
|
||||
<!-- Please read the https://github.com/linuxserver/docker-webtop/blob/ubuntu-openbox/.github/CONTRIBUTING.md -->
|
||||
|
||||
<!-- DO NOT EDIT THIS FILE MANUALLY -->
|
||||
<!-- Please read https://github.com/linuxserver/docker-webtop/blob/master/.github/CONTRIBUTING.md -->
|
||||
[](https://linuxserver.io)
|
||||
|
||||
[](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!")
|
||||
[](https://discord.gg/YWrKVTn "realtime support / chat with the community and the team.")
|
||||
[](https://linuxserver.io/discord "realtime support / chat with the community and the team.")
|
||||
[](https://discourse.linuxserver.io "post on our community forum.")
|
||||
[](https://fleet.linuxserver.io "an online web interface which displays all of our maintained images.")
|
||||
[](https://github.com/linuxserver "view the source for all of our repositories.")
|
||||
[](https://opencollective.com/linuxserver "please consider helping us by either donating or contributing to our budget")
|
||||
|
||||
@ -21,107 +19,434 @@ The [LinuxServer.io](https://linuxserver.io) team brings you another container r
|
||||
Find us at:
|
||||
|
||||
* [Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
|
||||
* [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
|
||||
* [Discord](https://linuxserver.io/discord) - realtime support / chat with the community and the team.
|
||||
* [Discourse](https://discourse.linuxserver.io) - post on our community forum.
|
||||
* [Fleet](https://fleet.linuxserver.io) - an online web interface which displays all of our maintained images.
|
||||
* [GitHub](https://github.com/linuxserver) - view the source for all of our repositories.
|
||||
* [Open Collective](https://opencollective.com/linuxserver) - please consider helping us by either donating or contributing to our budget
|
||||
|
||||
# [linuxserver/webtop](https://github.com/linuxserver/docker-webtop)
|
||||
|
||||
[](https://scarf.sh)
|
||||
[](https://github.com/linuxserver/docker-webtop)
|
||||
[](https://github.com/linuxserver/docker-webtop/releases)
|
||||
[](https://github.com/linuxserver/docker-webtop/packages)
|
||||
[](https://gitlab.com/linuxserver.io/docker-webtop/container_registry)
|
||||
[](https://quay.io/repository/linuxserver.io/webtop)
|
||||
[](https://hub.docker.com/r/linuxserver/webtop)
|
||||
[](https://hub.docker.com/r/linuxserver/webtop)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-webtop/job/ubuntu-openbox/)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-webtop/job/master/)
|
||||
[](https://ci-tests.linuxserver.io/linuxserver/webtop/latest/index.html)
|
||||
|
||||
[Webtop](https://github.com/linuxserver/docker-webtop) - Alpine and Ubuntu based containers containing full desktop environments in officially supported flavors accessible via any modern web browser.
|
||||
[Webtop](https://github.com/linuxserver/docker-webtop) - Alpine, Ubuntu, Fedora, and Arch based containers containing full desktop environments in officially supported flavors accessible via any modern web browser.
|
||||
|
||||
[](https://github.com/linuxserver/docker-webtop)
|
||||
|
||||
## Supported Architectures
|
||||
|
||||
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
||||
We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://distribution.github.io/distribution/spec/manifest-v2-2/#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
||||
|
||||
Simply pulling `ghcr.io/linuxserver/webtop` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
Simply pulling `lscr.io/linuxserver/webtop:latest` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
|
||||
The architectures supported by this image are:
|
||||
|
||||
| Architecture | Tag |
|
||||
| :----: | --- |
|
||||
| x86-64 | amd64-latest |
|
||||
| arm64 | arm64v8-latest |
|
||||
| armhf | arm32v7-latest |
|
||||
| Architecture | Available | Tag |
|
||||
| :----: | :----: | ---- |
|
||||
| x86-64 | ✅ | amd64-\<version tag\> |
|
||||
| arm64 | ✅ | arm64v8-\<version tag\> |
|
||||
|
||||
## Version Tags
|
||||
|
||||
This image provides various versions that are available via tags. `latest` tag usually provides the latest stable version. Others are considered under development and caution must be exercised when using them.
|
||||
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 | Description |
|
||||
| :----: | --- |
|
||||
| latest | XFCE Alpine |
|
||||
| ubuntu-xfce | XFCE Ubuntu |
|
||||
| alpine-kde | KDE Alpine |
|
||||
| ubuntu-kde | KDE Ubuntu |
|
||||
| alpine-mate | MATE Alpine |
|
||||
| ubuntu-mate | MATE Ubuntu |
|
||||
| alpine-i3 | i3 Alpine |
|
||||
| ubuntu-i3 | i3 Ubuntu |
|
||||
| alpine-openbox | Openbox Alpine |
|
||||
| ubuntu-openbox | Openbox Ubuntu |
|
||||
| alpine-icewm | IceWM Alpine |
|
||||
| ubuntu-icewm | IceWM Ubuntu |
|
||||
| Tag | Available | Description |
|
||||
| :----: | :----: |--- |
|
||||
| latest | ✅ | XFCE Alpine |
|
||||
| alpine-i3 | ✅ | i3 Alpine |
|
||||
| alpine-kde | ✅ | KDE Alpine *Wayland Only |
|
||||
| alpine-mate | ✅ | MATE Alpine |
|
||||
| arch-i3 | ✅ | i3 Arch |
|
||||
| arch-kde | ✅ | KDE Arch |
|
||||
| arch-mate | ✅ | MATE Arch |
|
||||
| arch-xfce | ✅ | XFCE Arch |
|
||||
| debian-i3 | ✅ | i3 Debian |
|
||||
| debian-kde | ✅ | KDE Debian |
|
||||
| debian-mate | ✅ | MATE Debian |
|
||||
| debian-xfce | ✅ | XFCE Debian |
|
||||
| el-i3 | ✅ | i3 Enterprise Linux |
|
||||
| el-mate | ✅ | MATE Enterprise Linux |
|
||||
| el-xfce | ✅ | XFCE Enterprise Linux |
|
||||
| fedora-i3 | ✅ | i3 Fedora |
|
||||
| fedora-kde | ✅ | KDE Fedora |
|
||||
| fedora-mate | ✅ | MATE Fedora |
|
||||
| fedora-xfce | ✅ | XFCE Fedora |
|
||||
| ubuntu-i3 | ✅ | i3 Ubuntu |
|
||||
| ubuntu-kde | ✅ | KDE Ubuntu |
|
||||
| ubuntu-mate | ✅ | MATE Ubuntu |
|
||||
| ubuntu-xfce | ✅ | XFCE Ubuntu |
|
||||
|
||||
## Application Setup
|
||||
|
||||
The Webtop can be accessed at:
|
||||
The application can be accessed at:
|
||||
|
||||
* http://yourhost:3000/
|
||||
* https://yourhost:3001/
|
||||
|
||||
By default the user/pass is abc/abc, if you change your password or want to login manually to the GUI session for any reason use the following link:
|
||||
### Strict reverse proxies
|
||||
|
||||
* http://yourhost:3000/?login=true
|
||||
This image uses a self-signed certificate by default. This naturally means the scheme is `https`.
|
||||
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).
|
||||
|
||||
You can access advanced features of the Guacamole remote desktop using ctrl+alt+shift enabling you to use remote copy/paste or an onscreen keyboard.
|
||||
**Modern GUI desktop apps may have compatibility issues with the latest Docker syscall restrictions. You can use Docker with the `--security-opt seccomp=unconfined` setting to allow these syscalls on hosts with older Kernels or libseccomp versions.**
|
||||
|
||||
**Unlike our other containers these Desktops are not designed to be upgraded by Docker, you will keep your home directoy but anything you installed system level will be lost if you upgrade an existing container. To keep packages up to date instead use Ubuntu's own apt program or Alpine's apk program**
|
||||
### Security
|
||||
|
||||
**The KDE and i3 flavors for Ubuntu need to be run in privileged mode to function properly**
|
||||
>[!WARNING]
|
||||
>This container provides privileged access to the host system. Do not expose it to the Internet unless you have secured it properly.
|
||||
|
||||
If you ever lose your password you can always reset it by execing into the container as root:
|
||||
**HTTPS is required for full functionality.** Modern browser features such as WebCodecs, used for video and audio, will not function over an insecure HTTP connection.
|
||||
|
||||
By default, this container has no authentication. The optional `CUSTOM_USER` and `PASSWORD` environment variables enable basic HTTP auth, which is suitable only for securing the container on a trusted local network. For internet exposure, we strongly recommend placing the container behind a reverse proxy, such as [SWAG](https://github.com/linuxserver/docker-swag), with a robust authentication mechanism.
|
||||
|
||||
The web interface includes a terminal with passwordless `sudo` access. Any user with access to the GUI can gain root control within the container, install arbitrary software, and probe your local network.
|
||||
|
||||
While not generally recommended, certain legacy environments specifically those with older hardware or outdated Linux distributions may require the deactivation of the standard seccomp profile to get containerized desktop software to run. This can be achieved by utilizing the `--security-opt seccomp=unconfined` parameter. It is critical to use this option only when absolutely necessary as it disables a key security layer of Docker, elevating the potential for container escape vulnerabilities.
|
||||
|
||||
### Hardware Acceleration & The Move to Wayland
|
||||
|
||||
We are currently transitioning our desktop containers from X11 to Wayland. While X11 is still the default, we strongly encourage users to test the new Wayland mode.
|
||||
|
||||
**Important:** GPU acceleration support for X11 is being deprecated. Future development for hardware acceleration will focus entirely on the Wayland stack.
|
||||
|
||||
To enable Wayland mode, set the following environment variable:
|
||||
|
||||
* `-e PIXELFLUX_WAYLAND=true`
|
||||
|
||||
**Why use Wayland?**
|
||||
|
||||
* **Zero Copy Encoding:** When configured correctly with a GPU, the frame is rendered and encoded on the video card without ever being copied to the system RAM. This drastically lowers CPU usage and latency.
|
||||
* **Modern Stack:** Single-application containers utilize **Labwc** (replacing Openbox) and full desktop containers use **KDE Plasma Wayland**, providing a more modern and secure compositing environment while retaining the same user experience.
|
||||
|
||||
#### GPU Configuration
|
||||
|
||||
To use hardware acceleration in Wayland mode, we distinguish between the card used for **Rendering** (3D apps/Desktops) and **Encoding** (Video Stream).
|
||||
|
||||
**Configuration Variables:**
|
||||
|
||||
* `DRINODE`: The path to the GPU used for **Rendering** (EGL).
|
||||
* `DRI_NODE`: The path to the GPU used for **Encoding** (VAAPI/NVENC).
|
||||
|
||||
If both variables point to the same device, the container will automatically enable **Zero Copy** encoding, significantly reducing CPU usage and latency.
|
||||
|
||||
##### Intel & AMD (Open Source Drivers)
|
||||
|
||||
For Intel and AMD GPUs.
|
||||
|
||||
```yaml
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
environment:
|
||||
- PIXELFLUX_WAYLAND=true
|
||||
# Optional: Specify device if multiple exist (IE: /dev/dri/renderD129)
|
||||
- DRINODE=/dev/dri/renderD128
|
||||
- DRI_NODE=/dev/dri/renderD128
|
||||
```
|
||||
docker exec -it webtop passwd abc
|
||||
|
||||
##### Nvidia (Proprietary Drivers)
|
||||
|
||||
**Note: Nvidia support is not available for Alpine-based images.**
|
||||
|
||||
**Prerequisites:**
|
||||
|
||||
1. **Driver:** Proprietary drivers **580 or higher** are required.
|
||||
2. **Kernel Parameter:** Set `nvidia-drm.modeset=1` in your host bootloader (GRUB/systemd-boot).
|
||||
3. **Initialization:** On headless systems, run `nvidia-modprobe --modeset` on the host (once per boot) to initialize the card.
|
||||
4. **Docker Runtime:** Configure the host docker daemon to use the Nvidia runtime:
|
||||
|
||||
```bash
|
||||
sudo nvidia-ctk runtime configure --runtime=docker
|
||||
sudo systemctl restart docker
|
||||
```
|
||||
|
||||
**Compose Configuration:**
|
||||
|
||||
```yaml
|
||||
---
|
||||
services:
|
||||
webtop:
|
||||
image: lscr.io/linuxserver/webtop:latest
|
||||
environment:
|
||||
- PIXELFLUX_WAYLAND=true
|
||||
# Ensure these point to the rendered node injected by the runtime (usually renderD128)
|
||||
- DRINODE=/dev/dri/renderD128
|
||||
- DRI_NODE=/dev/dri/renderD128
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities: [compute,video,graphics,utility]
|
||||
```
|
||||
By default we perform all logic for the abc user and we reccomend using that user only in the container, but new users can be added as long as there is a `startwm.sh` executable script in their home directory.
|
||||
All of these containers are configured with passwordless sudo, we make no efforts to secure or harden these containers and we do not reccomend ever publishing their ports to the public Internet.
|
||||
|
||||
### SealSkin Compatibility
|
||||
|
||||
This container is compatible with [SealSkin](https://sealskin.app).
|
||||
|
||||
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:** [Chrome](https://chromewebstore.google.com/detail/sealskin-isolation/lclgfmnljgacfdpmmmjmfpdelndbbfhk) and [Firefox](https://addons.mozilla.org/en-US/firefox/addon/sealskin-isolation/).
|
||||
* **Mobile App:** [iOS](https://apps.apple.com/us/app/sealskin/id6758210210) and [Android](https://play.google.com/store/apps/details?id=io.linuxserver.sealskin)
|
||||
|
||||
### Options in all Selkies-based GUI containers
|
||||
|
||||
This container is based on [Docker Baseimage Selkies](https://github.com/linuxserver/docker-baseimage-selkies).
|
||||
|
||||
<details>
|
||||
<summary>Click to expand: Optional Environment Variables</summary>
|
||||
|
||||
| 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 |
|
||||
| CUSTOM_USER | HTTP Basic auth username, abc is default. |
|
||||
| DRI_NODE | **Encoding GPU**: Enable VAAPI/NVENC stream encoding and use the specified device IE `/dev/dri/renderD128` |
|
||||
| DRINODE | **Rendering GPU**: Specify which GPU to use for EGL/3D acceleration IE `/dev/dri/renderD129` |
|
||||
| PASSWORD | HTTP Basic auth password, abc is default. If unset there will be no auth |
|
||||
| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/` |
|
||||
| TITLE | The page title displayed on the web browser, default "Selkies" |
|
||||
| DASHBOARD | Allows the user to set their dashboard. Options: `selkies-dashboard`, `selkies-dashboard-zinc`, `selkies-dashboard-wish` |
|
||||
| FILE_MANAGER_PATH | Modifies the default upload/download file path, path must have proper permissions for abc user |
|
||||
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup |
|
||||
| DISABLE_IPV6 | If set to true or any value this will disable IPv6 |
|
||||
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8` `ar_AE.UTF-8` |
|
||||
| NO_DECOR | If set the application will run without window borders for use as a PWA. (Decor can be enabled and disabled with Ctrl+Shift+d) |
|
||||
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
|
||||
| NO_GAMEPAD | Disable userspace gamepad interposer injection. |
|
||||
| DISABLE_ZINK | Do not set the Zink environment variables if a video card is detected (userspace applications will use CPU rendering) |
|
||||
| DISABLE_DRI3 | Do not use DRI3 acceleration if a video card is detected (userspace applications will use CPU rendering) |
|
||||
| MAX_RES | Pass a larger maximum resolution for the container default is 16k `15360x8640` |
|
||||
| WATERMARK_PNG | Full path inside the container to a watermark png IE `/usr/share/selkies/www/icon.png` |
|
||||
| WATERMARK_LOCATION | Where to paint the image over the stream integer options below |
|
||||
|
||||
**`WATERMARK_LOCATION` Options:**
|
||||
|
||||
* **1**: Top Left
|
||||
* **2**: Top Right
|
||||
* **3**: Bottom Left
|
||||
* **4**: Bottom Right
|
||||
* **5**: Centered
|
||||
* **6**: Animated
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Click to expand: Optional Run Configurations (DinD & GPU Mounts)</summary>
|
||||
|
||||
| Argument | Description |
|
||||
| :----: | --- |
|
||||
| `--privileged` | Starts a Docker-in-Docker (DinD) environment. For better performance, mount the Docker data directory from the host, e.g., `-v /path/to/docker-data:/var/lib/docker`. |
|
||||
| `-v /var/run/docker.sock:/var/run/docker.sock` | Mounts the host's Docker socket to manage host containers from within this container. |
|
||||
| `--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. |
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Click to expand: Legacy X11 Resolution & Acceleration</summary>
|
||||
|
||||
**Note:** This section applies only if you are **NOT** using `PIXELFLUX_WAYLAND=true`.
|
||||
|
||||
When using 3d acceleration via Nvidia DRM or DRI3 in X11 mode, it is important to clamp the virtual display to a reasonable max resolution to avoid memory exhaustion or poor performance.
|
||||
|
||||
* `-e MAX_RESOLUTION=3840x2160`
|
||||
|
||||
This will set the total virtual framebuffer to 4K. By default, the virtual monitor is 16K. If you have performance issues in an accelerated X11 session, try clamping the resolution to 1080p and work up from there:
|
||||
|
||||
```bash
|
||||
-e SELKIES_MANUAL_WIDTH=1920
|
||||
-e SELKIES_MANUAL_HEIGHT=1080
|
||||
-e MAX_RESOLUTION=1920x1080
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
### Language Support - Internationalization
|
||||
|
||||
To launch the desktop session in a different language, set the `LC_ALL` environment variable. For example:
|
||||
|
||||
* `-e LC_ALL=zh_CN.UTF-8` - Chinese
|
||||
* `-e LC_ALL=ja_JP.UTF-8` - Japanese
|
||||
* `-e LC_ALL=ko_KR.UTF-8` - Korean
|
||||
* `-e LC_ALL=ar_AE.UTF-8` - Arabic
|
||||
* `-e LC_ALL=ru_RU.UTF-8` - Russian
|
||||
* `-e LC_ALL=es_MX.UTF-8` - Spanish (Latin America)
|
||||
* `-e LC_ALL=de_DE.UTF-8` - German
|
||||
* `-e LC_ALL=fr_FR.UTF-8` - French
|
||||
* `-e LC_ALL=nl_NL.UTF-8` - Netherlands
|
||||
* `-e LC_ALL=it_IT.UTF-8` - Italian
|
||||
|
||||
### Application Management
|
||||
|
||||
There are two methods for installing applications inside the container: PRoot Apps (recommended for persistence) and Native Apps.
|
||||
|
||||
#### PRoot Apps (Persistent)
|
||||
|
||||
Natively installed packages (e.g., via `apt-get install`) will not persist if the container is recreated. To retain applications and their settings across container updates, we recommend using [proot-apps](https://github.com/linuxserver/proot-apps). These are portable applications installed to the user's persistent `$HOME` directory.
|
||||
|
||||
To install an application, use the command line inside the container:
|
||||
|
||||
```bash
|
||||
proot-apps install filezilla
|
||||
```
|
||||
|
||||
A list of supported applications is available [here](https://github.com/linuxserver/proot-apps?tab=readme-ov-file#supported-apps).
|
||||
|
||||
#### Native Apps (Non-Persistent)
|
||||
|
||||
You can install packages from the system's native repository using the [universal-package-install](https://github.com/linuxserver/docker-mods/tree/universal-package-install) mod. This method will increase the container's start time and is not persistent. Add the following to your `compose.yaml`:
|
||||
|
||||
```yaml
|
||||
environment:
|
||||
- DOCKER_MODS=linuxserver/mods:universal-package-install
|
||||
- INSTALL_PACKAGES=libfuse2|git|gdb
|
||||
```
|
||||
|
||||
### Advanced Configuration
|
||||
|
||||
<details>
|
||||
<summary>Click to expand: Hardening Options</summary>
|
||||
|
||||
These variables can be used to lock down the desktop environment for single-application use cases or to restrict user capabilities.
|
||||
|
||||
| Variable | Description |
|
||||
| :----: | --- |
|
||||
| **`HARDEN_DESKTOP`** | Enables `DISABLE_OPEN_TOOLS`, `DISABLE_SUDO`, and `DISABLE_TERMINALS`. Also sets related Selkies UI settings (`SELKIES_FILE_TRANSFERS`, `SELKIES_COMMAND_ENABLED`, `SELKIES_UI_SIDEBAR_SHOW_FILES`, `SELKIES_UI_SIDEBAR_SHOW_APPS`) if they are not explicitly set by the user. |
|
||||
| **`HARDEN_OPENBOX`** | Enables `DISABLE_CLOSE_BUTTON`, `DISABLE_MOUSE_BUTTONS`, and `HARDEN_KEYBINDS`. It also flags `RESTART_APP` if not set by the user, ensuring the primary application is automatically restarted if closed. |
|
||||
|
||||
**Individual Hardening Variables:**
|
||||
|
||||
| Variable | Description |
|
||||
| :--- | --- |
|
||||
| **`DISABLE_OPEN_TOOLS`** | If true, disables `xdg-open` and `exo-open` binaries by removing their execute permissions. |
|
||||
| **`DISABLE_SUDO`** | If true, disables the `sudo` command by removing its execute permissions and invalidating the passwordless sudo configuration. |
|
||||
| **`DISABLE_TERMINALS`** | If true, disables common terminal emulators by removing their execute permissions and hiding them from the Openbox right-click menu. |
|
||||
| **`DISABLE_CLOSE_BUTTON`** | If true, removes the close button from window title bars in the Openbox window manager. |
|
||||
| **`DISABLE_MOUSE_BUTTONS`** | If true, disables the right-click and middle-click context menus and actions within the Openbox window manager. |
|
||||
| **`HARDEN_KEYBINDS`** | If true, disables default Openbox keybinds that can bypass other hardening options (e.g., `Alt+F4` to close windows, `Alt+Escape` to show the root menu). |
|
||||
| **`RESTART_APP`** | If true, enables a watchdog service that automatically restarts the main application if it is closed. The user's autostart script is made read-only and root owned to prevent tampering. |
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Click to expand: Selkies Application Settings</summary>
|
||||
|
||||
Using environment variables every facet of the application can be configured.
|
||||
|
||||
**Booleans and Locking:**
|
||||
Boolean settings accept `true` or `false`. You can also prevent the user from changing a boolean setting in the UI by appending `|locked`.
|
||||
|
||||
* Example: `-e SELKIES_USE_CPU="true|locked"`
|
||||
|
||||
**Enums and Lists:**
|
||||
These settings accept a comma-separated list of values. The first item becomes default. If only one item is provided, the UI dropdown is hidden.
|
||||
|
||||
* Example: `-e SELKIES_ENCODER="jpeg"`
|
||||
|
||||
**Ranges:**
|
||||
Use a hyphen-separated `min-max` format for a slider, or a single number to lock the value.
|
||||
|
||||
* Example: `-e SELKIES_FRAMERATE="60"`
|
||||
|
||||
**Manual Resolution Mode:**
|
||||
If `SELKIES_MANUAL_WIDTH` or `SELKIES_MANUAL_HEIGHT` are set, the resolution is locked to those values.
|
||||
|
||||
| Environment Variable | Default Value | Description |
|
||||
| --- | --- | --- |
|
||||
| `SELKIES_UI_TITLE` | `'Selkies'` | Title in top left corner of sidebar. |
|
||||
| `SELKIES_UI_SHOW_LOGO` | `True` | Show the Selkies logo in the sidebar. |
|
||||
| `SELKIES_UI_SHOW_SIDEBAR` | `True` | Show the main sidebar UI. |
|
||||
| `SELKIES_UI_SHOW_CORE_BUTTONS` | `True` | Show the core components buttons display, audio, microphone, and gamepad. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_VIDEO_SETTINGS` | `True` | Show the video settings section in the sidebar. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_SCREEN_SETTINGS` | `True` | Show the screen settings section in the sidebar. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_AUDIO_SETTINGS` | `True` | Show the audio settings section in the sidebar. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_STATS` | `True` | Show the stats section in the sidebar. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_CLIPBOARD` | `True` | Show the clipboard section in the sidebar. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_FILES` | `True` | Show the file transfer section in the sidebar. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_APPS` | `True` | Show the applications section in the sidebar. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_SHARING` | `True` | Show the sharing section in the sidebar. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_GAMEPADS` | `True` | Show the gamepads section in the sidebar. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_FULLSCREEN` | `True` | Show the fullscreen button in the sidebar. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_GAMING_MODE` | `True` | Show the gaming mode button in the sidebar. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_TRACKPAD` | `True` | Show the virtual trackpad button in the sidebar. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_KEYBOARD_BUTTON` | `True` | Show the on-screen keyboard button in the display area. |
|
||||
| `SELKIES_UI_SIDEBAR_SHOW_SOFT_BUTTONS` | `True` | Show the soft buttons section in the sidebar. |
|
||||
| `SELKIES_AUDIO_ENABLED` | `True` | Enable server-to-client audio streaming. |
|
||||
| `SELKIES_MICROPHONE_ENABLED` | `True` | Enable client-to-server microphone forwarding. |
|
||||
| `SELKIES_GAMEPAD_ENABLED` | `True` | Enable gamepad support. |
|
||||
| `SELKIES_CLIPBOARD_ENABLED` | `True` | Enable clipboard synchronization. |
|
||||
| `SELKIES_COMMAND_ENABLED` | `True` | Enable parsing of command websocket messages. |
|
||||
| `SELKIES_FILE_TRANSFERS` | `'upload,download'` | Allowed file transfer directions (comma-separated: "upload,download"). Set to "" or "none" to disable. |
|
||||
| `SELKIES_ENCODER` | `'x264enc,x264enc-striped,jpeg'` | The default video encoders. |
|
||||
| `SELKIES_FRAMERATE` | `'8-120'` | Allowed framerate range or a fixed value. |
|
||||
| `SELKIES_H264_CRF` | `'5-50'` | Allowed H.264 CRF range or a fixed value. |
|
||||
| `SELKIES_JPEG_QUALITY` | `'1-100'` | Allowed JPEG quality range or a fixed value. |
|
||||
| `SELKIES_H264_FULLCOLOR` | `False` | Enable H.264 full color range for pixelflux encoders. |
|
||||
| `SELKIES_H264_STREAMING_MODE` | `False` | Enable H.264 streaming mode for pixelflux encoders. |
|
||||
| `SELKIES_USE_CPU` | `False` | Force CPU-based encoding for pixelflux. |
|
||||
| `SELKIES_USE_PAINT_OVER_QUALITY` | `True` | Enable high-quality paint-over for static scenes. |
|
||||
| `SELKIES_PAINT_OVER_JPEG_QUALITY` | `'1-100'` | Allowed JPEG paint-over quality range or a fixed value. |
|
||||
| `SELKIES_H264_PAINTOVER_CRF` | `'5-50'` | Allowed H.264 paint-over CRF range or a fixed value. |
|
||||
| `SELKIES_H264_PAINTOVER_BURST_FRAMES` | `'1-30'` | Allowed H.264 paint-over burst frames range or a fixed value. |
|
||||
| `SELKIES_SECOND_SCREEN` | `True` | Enable support for a second monitor/display. |
|
||||
| `SELKIES_AUDIO_BITRATE` | `'320000'` | The default audio bitrate. |
|
||||
| `SELKIES_IS_MANUAL_RESOLUTION_MODE` | `False` | Lock the resolution to the manual width/height values. |
|
||||
| `SELKIES_MANUAL_WIDTH` | `0` | Lock width to a fixed value. Setting this forces manual resolution mode. |
|
||||
| `SELKIES_MANUAL_HEIGHT` | `0` | Lock height to a fixed value. Setting this forces manual resolution mode. |
|
||||
| `SELKIES_SCALING_DPI` | `'96'` | The default DPI for UI scaling. |
|
||||
| `SELKIES_ENABLE_BINARY_CLIPBOARD` | `False` | Allow binary data on the clipboard. |
|
||||
| `SELKIES_USE_BROWSER_CURSORS` | `False` | Use browser CSS cursors instead of rendering to canvas. |
|
||||
| `SELKIES_USE_CSS_SCALING` | `False` | HiDPI when false, if true a lower resolution is sent from the client and the canvas is stretched. |
|
||||
| `SELKIES_PORT` (or `CUSTOM_WS_PORT`) | `8082` | Port for the data websocket server. |
|
||||
| `SELKIES_DRI_NODE` (or `DRI_NODE`) | `''` | Path to the DRI render node for VA-API. |
|
||||
| `SELKIES_AUDIO_DEVICE_NAME` | `'output.monitor'` | Audio device name for pcmflux capture. |
|
||||
| `SELKIES_WATERMARK_PATH` (or `WATERMARK_PNG`) | `''` | Absolute path to the watermark PNG file. |
|
||||
| `SELKIES_WATERMARK_LOCATION` (or `WATERMARK_LOCATION`) | `-1` | Watermark location enum (0-6). |
|
||||
| `SELKIES_DEBUG` | `False` | Enable debug logging. |
|
||||
| `SELKIES_ENABLE_SHARING` | `True` | Master toggle for all sharing features. |
|
||||
| `SELKIES_ENABLE_COLLAB` | `True` | Enable collaborative (read-write) sharing link. |
|
||||
| `SELKIES_ENABLE_SHARED` | `True` | Enable view-only sharing links. |
|
||||
| `SELKIES_ENABLE_PLAYER2` | `True` | Enable sharing link for gamepad player 2. |
|
||||
| `SELKIES_ENABLE_PLAYER3` | `True` | Enable sharing link for gamepad player 3. |
|
||||
| `SELKIES_ENABLE_PLAYER4` | `True` | Enable sharing link for gamepad player 4. |
|
||||
|
||||
</details>
|
||||
|
||||
## Usage
|
||||
|
||||
Here are some example snippets to help you get started creating a container.
|
||||
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
||||
|
||||
>[!NOTE]
|
||||
>Unless a parameter is flagged as 'optional', it is *mandatory* and a value must be provided.
|
||||
|
||||
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: "2.1"
|
||||
services:
|
||||
webtop:
|
||||
image: ghcr.io/linuxserver/webtop
|
||||
image: lscr.io/linuxserver/webtop:latest
|
||||
container_name: webtop
|
||||
privileged: true #optional
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
- TZ=Etc/UTC
|
||||
volumes:
|
||||
- /path/to/data:/config
|
||||
- /var/run/docker.sock:/var/run/docker.sock #optional
|
||||
ports:
|
||||
- 3000:3000
|
||||
shm_size: "1gb" #optional
|
||||
- 3001:3001
|
||||
shm_size: "1gb"
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
@ -130,31 +455,30 @@ services:
|
||||
```bash
|
||||
docker run -d \
|
||||
--name=webtop \
|
||||
--privileged `#optional` \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Europe/London \
|
||||
-e TZ=Etc/UTC \
|
||||
-p 3000:3000 \
|
||||
-p 3001:3001 \
|
||||
-v /path/to/data:/config \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock `#optional` \
|
||||
--shm-size="1gb" `#optional` \
|
||||
--shm-size="1gb" \
|
||||
--restart unless-stopped \
|
||||
ghcr.io/linuxserver/webtop
|
||||
lscr.io/linuxserver/webtop:latest
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
|
||||
Containers are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
|
||||
|
||||
| Parameter | Function |
|
||||
| :----: | --- |
|
||||
| `-p 3000` | Web Desktop GUI |
|
||||
| `-p 3000:3000` | Web Desktop GUI HTTP, must be proxied |
|
||||
| `-p 3001:3001` | Web Desktop GUI HTTPS |
|
||||
| `-e PUID=1000` | for UserID - see below for explanation |
|
||||
| `-e PGID=1000` | for GroupID - see below for explanation |
|
||||
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London |
|
||||
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
|
||||
| `-v /config` | abc users home directory |
|
||||
| `-v /var/run/docker.sock` | Docker Socket on the system, if you want to use Docker in the container |
|
||||
| `--shm-size=` | We set this to 1 gig to prevent modern web browsers from crashing |
|
||||
| `--shm-size=` | Recommended for all desktop images. |
|
||||
|
||||
## Environment variables from files (Docker secrets)
|
||||
|
||||
@ -163,10 +487,10 @@ You can set any environment variable from a file by using a special prepend `FIL
|
||||
As an example:
|
||||
|
||||
```bash
|
||||
-e FILE__PASSWORD=/run/secrets/mysecretpassword
|
||||
-e FILE__MYVAR=/run/secrets/mysecretvariable
|
||||
```
|
||||
|
||||
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
|
||||
Will set the environment variable `MYVAR` based on the contents of the `/run/secrets/mysecretvariable` file.
|
||||
|
||||
## Umask for running applications
|
||||
|
||||
@ -175,15 +499,20 @@ Keep in mind umask is not chmod it subtracts from permissions based on it's valu
|
||||
|
||||
## User / Group Identifiers
|
||||
|
||||
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
|
||||
When using volumes (`-v` flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
|
||||
|
||||
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
|
||||
|
||||
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
|
||||
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id your_user` as below:
|
||||
|
||||
```bash
|
||||
$ id username
|
||||
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
|
||||
id your_user
|
||||
```
|
||||
|
||||
Example output:
|
||||
|
||||
```text
|
||||
uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)
|
||||
```
|
||||
|
||||
## Docker Mods
|
||||
@ -194,53 +523,101 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
|
||||
|
||||
## Support Info
|
||||
|
||||
* Shell access whilst the container is running: `docker exec -it webtop /bin/bash`
|
||||
* To monitor the logs of the container in realtime: `docker logs -f webtop`
|
||||
* container version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' webtop`
|
||||
* image version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' ghcr.io/linuxserver/webtop`
|
||||
* Shell access whilst the container is running:
|
||||
|
||||
```bash
|
||||
docker exec -it webtop /bin/bash
|
||||
```
|
||||
|
||||
* To monitor the logs of the container in realtime:
|
||||
|
||||
```bash
|
||||
docker logs -f webtop
|
||||
```
|
||||
|
||||
* Container version number:
|
||||
|
||||
```bash
|
||||
docker inspect -f '{{ index .Config.Labels "build_version" }}' webtop
|
||||
```
|
||||
|
||||
* Image version number:
|
||||
|
||||
```bash
|
||||
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/webtop:latest
|
||||
```
|
||||
|
||||
## Updating Info
|
||||
|
||||
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (ie. nextcloud, plex), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.
|
||||
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (noted in the relevant readme.md), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.
|
||||
|
||||
Below are the instructions for updating containers:
|
||||
|
||||
### Via Docker Compose
|
||||
|
||||
* Update all images: `docker-compose pull`
|
||||
* or update a single image: `docker-compose pull webtop`
|
||||
* Let compose update all containers as necessary: `docker-compose up -d`
|
||||
* or update a single container: `docker-compose up -d webtop`
|
||||
* You can also remove the old dangling images: `docker image prune`
|
||||
* Update images:
|
||||
* All images:
|
||||
|
||||
```bash
|
||||
docker-compose pull
|
||||
```
|
||||
|
||||
* Single image:
|
||||
|
||||
```bash
|
||||
docker-compose pull webtop
|
||||
```
|
||||
|
||||
* Update containers:
|
||||
* All containers:
|
||||
|
||||
```bash
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
* Single container:
|
||||
|
||||
```bash
|
||||
docker-compose up -d webtop
|
||||
```
|
||||
|
||||
* You can also remove the old dangling images:
|
||||
|
||||
```bash
|
||||
docker image prune
|
||||
```
|
||||
|
||||
### Via Docker Run
|
||||
|
||||
* Update the image: `docker pull ghcr.io/linuxserver/webtop`
|
||||
* Stop the running container: `docker stop webtop`
|
||||
* Delete the container: `docker rm webtop`
|
||||
* Update the image:
|
||||
|
||||
```bash
|
||||
docker pull lscr.io/linuxserver/webtop:latest
|
||||
```
|
||||
|
||||
* Stop the running container:
|
||||
|
||||
```bash
|
||||
docker stop webtop
|
||||
```
|
||||
|
||||
* Delete the container:
|
||||
|
||||
```bash
|
||||
docker rm webtop
|
||||
```
|
||||
|
||||
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
|
||||
* You can also remove the old dangling images: `docker image prune`
|
||||
* You can also remove the old dangling images:
|
||||
|
||||
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
|
||||
|
||||
* Pull the latest image at its tag and replace it with the same env variables in one run:
|
||||
|
||||
```bash
|
||||
docker run --rm \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
containrrr/watchtower \
|
||||
--run-once webtop
|
||||
```
|
||||
|
||||
* You can also remove the old dangling images: `docker image prune`
|
||||
|
||||
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
|
||||
```bash
|
||||
docker image prune
|
||||
```
|
||||
|
||||
### Image Update Notifications - Diun (Docker Image Update Notifier)
|
||||
|
||||
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
|
||||
>[!TIP]
|
||||
>We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
|
||||
|
||||
## Building locally
|
||||
|
||||
@ -252,17 +629,40 @@ cd docker-webtop
|
||||
docker build \
|
||||
--no-cache \
|
||||
--pull \
|
||||
-t ghcr.io/linuxserver/webtop:latest .
|
||||
-t lscr.io/linuxserver/webtop:latest .
|
||||
```
|
||||
|
||||
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
|
||||
The ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`
|
||||
|
||||
```bash
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset
|
||||
```
|
||||
|
||||
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
|
||||
|
||||
## Versions
|
||||
|
||||
* **27.12.25:** - Rebase Alpine images to 3.23.
|
||||
* **17.11.25:** - Rebase Fedora images to 43.
|
||||
* **24.07.25:** - Rebase Debian images to Trixie.
|
||||
* **17.06.25:** - Rebase all images to Selkies, drop openbox and icewm, bump Alpine to 3.22, bump Fedora to 42.
|
||||
* **10.01.25:** - Rebase Fedora to 41.
|
||||
* **06.12.24:** - Rebase Alpine to 3.21.
|
||||
* **26.09.24:** - Swap from firefox to chromium on Alpine images.
|
||||
* **23.05.24:** - Rebase Alpine to 3.20, document Nvidia support.
|
||||
* **22.04.24:** - Rebase Ubuntu to Noble.
|
||||
* **16.04.24:** - Add docs on PRoot Apps.
|
||||
* **14.04.24:** - Rebase Fedora to 40.
|
||||
* **11.02.24:** - Add PWA icons and title variants properly.
|
||||
* **06.02.24:** - Update Readme about native language support.
|
||||
* **29.12.23:** - Rebase Alpine to 3.19 and swap back to Firefox.
|
||||
* **07.11.23:** - Rebase Fedora to 39.
|
||||
* **14.06.23:** - Rebase to Debian Bookworm.
|
||||
* **13.05.23:** - Rebase to Alpine 3.18 and Fedora 38.
|
||||
* **23.03.23:** - Rebase all Webtops to KasmVNC base image.
|
||||
* **21.10.22:** - Rebase xfce to Alpine 3.16, migrate to s6v3.
|
||||
* **12.03.22:** - Add documentation for mounting in a GPU.
|
||||
* **05.02.22:** - Rebase KDE Ubuntu to Jammy, add new documentation for updated gclient, stop recommending priv mode.
|
||||
* **21.09.21:** - Add Fedora and Arch images, show seccomp settings in readme.
|
||||
* **26.09.21:** - Rebase to Alpine versions to 3.14.
|
||||
* **20.04.21:** - Initial release.
|
||||
|
||||
@ -3,24 +3,26 @@
|
||||
# jenkins variables
|
||||
project_name: docker-webtop
|
||||
external_type: os
|
||||
release_type: prerelease
|
||||
release_tag: ubuntu-openbox
|
||||
ls_branch: ubuntu-openbox
|
||||
release_type: stable
|
||||
release_tag: latest
|
||||
ls_branch: master
|
||||
build_armhf: false
|
||||
repo_vars:
|
||||
- BUILD_VERSION_ARG = 'OS_VERSION'
|
||||
- BUILD_VERSION_ARG = 'XFCE_VERSION'
|
||||
- LS_USER = 'linuxserver'
|
||||
- LS_REPO = 'docker-webtop'
|
||||
- CONTAINER_NAME = 'webtop'
|
||||
- DOCKERHUB_IMAGE = 'linuxserver/webtop'
|
||||
- DEV_DOCKERHUB_IMAGE = 'lsiodev/webtop'
|
||||
- PR_DOCKERHUB_IMAGE = 'lspipepr/webtop'
|
||||
- DIST_IMAGE = 'ubuntu'
|
||||
- MULTIARCH='true'
|
||||
- CI='true'
|
||||
- CI_WEB='true'
|
||||
- CI_PORT='3000'
|
||||
- CI_SSL='false'
|
||||
- CI_DELAY='120'
|
||||
- CI_DOCKERENV='TZ=US/Pacific'
|
||||
- CI_AUTH='user:password'
|
||||
- CI_WEBPATH=''
|
||||
- DIST_IMAGE = 'alpine'
|
||||
- MULTIARCH = 'true'
|
||||
- CI = 'true'
|
||||
- CI_WEB = 'true'
|
||||
- CI_PORT = '3001'
|
||||
- CI_SSL = 'true'
|
||||
- CI_DELAY = '60'
|
||||
- CI_WEB_SCREENSHOT_DELAY = '10'
|
||||
- CI_DOCKERENV = 'TZ=US/Pacific'
|
||||
- CI_AUTH = 'user:password'
|
||||
- CI_WEBPATH = ''
|
||||
|
||||
1715
package_versions.txt
1715
package_versions.txt
File diff suppressed because it is too large
Load Diff
180
readme-vars.yml
180
readme-vars.yml
@ -5,74 +5,148 @@ project_name: webtop
|
||||
project_url: "https://github.com/linuxserver/docker-webtop"
|
||||
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png"
|
||||
project_blurb: |
|
||||
[{{ project_name|capitalize }}]({{ project_url }}) - Alpine and Ubuntu based containers containing full desktop environments in officially supported flavors accessible via any modern web browser.
|
||||
[{{ project_name|capitalize }}]({{ project_url }}) - Alpine, Ubuntu, Fedora, and Arch based containers containing full desktop environments in officially supported flavors accessible via any modern web browser.
|
||||
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
|
||||
|
||||
project_categories: "Remote Desktop"
|
||||
# supported architectures
|
||||
available_architectures:
|
||||
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
|
||||
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
|
||||
- { arch: "{{ arch_armhf }}", tag: "arm32v7-latest"}
|
||||
|
||||
- {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
|
||||
- {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
|
||||
# development version
|
||||
development_versions: true
|
||||
development_versions_items:
|
||||
- { tag: "latest", desc: "XFCE Alpine" }
|
||||
- { tag: "ubuntu-xfce", desc: "XFCE Ubuntu" }
|
||||
- { tag: "alpine-kde", desc: "KDE Alpine" }
|
||||
- { tag: "ubuntu-kde", desc: "KDE Ubuntu" }
|
||||
- { tag: "alpine-mate", desc: "MATE Alpine" }
|
||||
- { tag: "ubuntu-mate", desc: "MATE Ubuntu" }
|
||||
- { tag: "alpine-i3", desc: "i3 Alpine" }
|
||||
- { tag: "ubuntu-i3", desc: "i3 Ubuntu" }
|
||||
- { tag: "alpine-openbox", desc: "Openbox Alpine" }
|
||||
- { tag: "ubuntu-openbox", desc: "Openbox Ubuntu" }
|
||||
- { tag: "alpine-icewm", desc: "IceWM Alpine" }
|
||||
- { tag: "ubuntu-icewm", desc: "IceWM Ubuntu" }
|
||||
|
||||
- {tag: "latest", desc: "XFCE Alpine"}
|
||||
- {tag: "alpine-i3", desc: "i3 Alpine"}
|
||||
- {tag: "alpine-kde", desc: "KDE Alpine *Wayland Only"}
|
||||
- {tag: "alpine-mate", desc: "MATE Alpine"}
|
||||
- {tag: "arch-i3", desc: "i3 Arch"}
|
||||
- {tag: "arch-kde", desc: "KDE Arch"}
|
||||
- {tag: "arch-mate", desc: "MATE Arch"}
|
||||
- {tag: "arch-xfce", desc: "XFCE Arch"}
|
||||
- {tag: "debian-i3", desc: "i3 Debian"}
|
||||
- {tag: "debian-kde", desc: "KDE Debian"}
|
||||
- {tag: "debian-mate", desc: "MATE Debian"}
|
||||
- {tag: "debian-xfce", desc: "XFCE Debian"}
|
||||
- {tag: "el-i3", desc: "i3 Enterprise Linux"}
|
||||
- {tag: "el-mate", desc: "MATE Enterprise Linux"}
|
||||
- {tag: "el-xfce", desc: "XFCE Enterprise Linux"}
|
||||
- {tag: "fedora-i3", desc: "i3 Fedora"}
|
||||
- {tag: "fedora-kde", desc: "KDE Fedora"}
|
||||
- {tag: "fedora-mate", desc: "MATE Fedora"}
|
||||
- {tag: "fedora-xfce", desc: "XFCE Fedora"}
|
||||
- {tag: "ubuntu-i3", desc: "i3 Ubuntu"}
|
||||
- {tag: "ubuntu-kde", desc: "KDE Ubuntu"}
|
||||
- {tag: "ubuntu-mate", desc: "MATE Ubuntu"}
|
||||
- {tag: "ubuntu-xfce", desc: "XFCE Ubuntu"}
|
||||
# container parameters
|
||||
privileged: "optional"
|
||||
param_container_name: "{{ project_name }}"
|
||||
param_usage_include_vols: true
|
||||
param_volumes:
|
||||
- { vol_path: "/config", vol_host_path: "/path/to/data", desc: "abc users home directory" }
|
||||
- {vol_path: "/config", vol_host_path: "/path/to/data", desc: "abc users home directory"}
|
||||
param_usage_include_ports: true
|
||||
param_ports:
|
||||
- { external_port: "3000", internal_port: "3000", port_desc: "Web Desktop 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 variables
|
||||
opt_param_usage_include_vols: true
|
||||
opt_param_volumes:
|
||||
- { vol_path: "/var/run/docker.sock", vol_host_path: "/var/run/docker.sock", desc: "Docker Socket on the system, if you want to use Docker in the container" }
|
||||
opt_custom_params:
|
||||
- { name: "shm-size", name_compose: "shm_size", value: "1gb",desc: "We set this to 1 gig to prevent modern web browsers from crashing" }
|
||||
|
||||
- {external_port: "3000", internal_port: "3000", port_desc: "Web Desktop GUI HTTP, must be proxied"}
|
||||
- {external_port: "3001", internal_port: "3001", port_desc: "Web Desktop GUI HTTPS"}
|
||||
custom_params:
|
||||
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "Recommended for all desktop images."}
|
||||
# Selkies blurb settings
|
||||
selkies_blurb: true
|
||||
show_nvidia: true
|
||||
# application setup block
|
||||
app_setup_block_enabled: true
|
||||
app_setup_block: |
|
||||
The Webtop can be accessed at:
|
||||
|
||||
* http://yourhost:3000/
|
||||
|
||||
By default the user/pass is abc/abc, if you change your password or want to login manually to the GUI session for any reason use the following link:
|
||||
|
||||
* http://yourhost:3000/?login=true
|
||||
|
||||
You can access advanced features of the Guacamole remote desktop using ctrl+alt+shift enabling you to use remote copy/paste or an onscreen keyboard.
|
||||
|
||||
**Unlike our other containers these Desktops are not designed to be upgraded by Docker, you will keep your home directoy but anything you installed system level will be lost if you upgrade an existing container. To keep packages up to date instead use Ubuntu's own apt program or Alpine's apk program**
|
||||
|
||||
**The KDE and i3 flavors for Ubuntu need to be run in privileged mode to function properly**
|
||||
|
||||
If you ever lose your password you can always reset it by execing into the container as root:
|
||||
```
|
||||
docker exec -it webtop passwd abc
|
||||
```
|
||||
By default we perform all logic for the abc user and we reccomend using that user only in the container, but new users can be added as long as there is a `startwm.sh` executable script in their home directory.
|
||||
All of these containers are configured with passwordless sudo, we make no efforts to secure or harden these containers and we do not reccomend ever publishing their ports to the public Internet.
|
||||
The application can be accessed at:
|
||||
|
||||
* https://yourhost:3001/
|
||||
# init diagram
|
||||
init_diagram: |
|
||||
"webtop:latest": {
|
||||
docker-mods
|
||||
base {
|
||||
fix-attr +\nlegacy cont-init
|
||||
}
|
||||
docker-mods -> base
|
||||
legacy-services
|
||||
custom services
|
||||
init-services -> legacy-services
|
||||
init-services -> custom services
|
||||
custom services -> legacy-services
|
||||
legacy-services -> ci-service-check
|
||||
init-migrations -> init-adduser
|
||||
init-os-end -> init-config
|
||||
init-selkies-end -> init-config
|
||||
init-config -> init-config-end
|
||||
init-crontab-config -> init-config-end
|
||||
init-config -> init-crontab-config
|
||||
init-mods-end -> init-custom-files
|
||||
init-adduser -> init-device-perms
|
||||
base -> init-envfile
|
||||
base -> init-migrations
|
||||
init-config-end -> init-mods
|
||||
init-mods-package-install -> init-mods-end
|
||||
init-mods -> init-mods-package-install
|
||||
init-selkies -> init-nginx
|
||||
init-adduser -> init-os-end
|
||||
init-device-perms -> init-os-end
|
||||
init-envfile -> init-os-end
|
||||
init-os-end -> init-selkies
|
||||
init-nginx -> init-selkies-config
|
||||
init-video -> init-selkies-end
|
||||
init-custom-files -> init-services
|
||||
init-selkies-config -> init-video
|
||||
init-services -> svc-cron
|
||||
svc-cron -> legacy-services
|
||||
init-services -> svc-de
|
||||
svc-nginx -> svc-de
|
||||
svc-xorg -> svc-de
|
||||
svc-de -> legacy-services
|
||||
init-services -> svc-docker
|
||||
svc-docker -> legacy-services
|
||||
init-services -> svc-nginx
|
||||
svc-nginx -> legacy-services
|
||||
init-services -> svc-pulseaudio
|
||||
svc-pulseaudio -> legacy-services
|
||||
init-services -> svc-selkies
|
||||
svc-nginx -> svc-selkies
|
||||
svc-pulseaudio -> svc-selkies
|
||||
svc-xorg -> svc-selkies
|
||||
svc-selkies -> legacy-services
|
||||
init-services -> svc-watchdog
|
||||
svc-watchdog -> legacy-services
|
||||
init-services -> svc-xorg
|
||||
svc-xorg -> legacy-services
|
||||
init-services -> svc-xsettingsd
|
||||
svc-nginx -> svc-xsettingsd
|
||||
svc-xorg -> svc-xsettingsd
|
||||
svc-xsettingsd -> legacy-services
|
||||
}
|
||||
Base Images: {
|
||||
"baseimage-selkies:alpine323" <- "baseimage-alpine:3.23"
|
||||
}
|
||||
"webtop:latest" <- Base Images
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "20.04.21:", desc: "Initial release." }
|
||||
- {date: "27.12.25:", desc: "Rebase Alpine images to 3.23."}
|
||||
- {date: "17.11.25:", desc: "Rebase Fedora images to 43."}
|
||||
- {date: "24.07.25:", desc: "Rebase Debian images to Trixie."}
|
||||
- {date: "17.06.25:", desc: "Rebase all images to Selkies, drop openbox and icewm, bump Alpine to 3.22, bump Fedora to 42."}
|
||||
- {date: "10.01.25:", desc: "Rebase Fedora to 41."}
|
||||
- {date: "06.12.24:", desc: "Rebase Alpine to 3.21."}
|
||||
- {date: "26.09.24:", desc: "Swap from firefox to chromium on Alpine images."}
|
||||
- {date: "23.05.24:", desc: "Rebase Alpine to 3.20, document Nvidia support."}
|
||||
- {date: "22.04.24:", desc: "Rebase Ubuntu to Noble."}
|
||||
- {date: "16.04.24:", desc: "Add docs on PRoot Apps."}
|
||||
- {date: "14.04.24:", desc: "Rebase Fedora to 40."}
|
||||
- {date: "11.02.24:", desc: "Add PWA icons and title variants properly."}
|
||||
- {date: "06.02.24:", desc: "Update Readme about native language support."}
|
||||
- {date: "29.12.23:", desc: "Rebase Alpine to 3.19 and swap back to Firefox."}
|
||||
- {date: "07.11.23:", desc: "Rebase Fedora to 39."}
|
||||
- {date: "14.06.23:", desc: "Rebase to Debian Bookworm."}
|
||||
- {date: "13.05.23:", desc: "Rebase to Alpine 3.18 and Fedora 38."}
|
||||
- {date: "23.03.23:", desc: "Rebase all Webtops to KasmVNC base image."}
|
||||
- {date: "21.10.22:", desc: "Rebase xfce to Alpine 3.16, migrate to s6v3."}
|
||||
- {date: "12.03.22:", desc: "Add documentation for mounting in a GPU."}
|
||||
- {date: "05.02.22:", desc: "Rebase KDE Ubuntu to Jammy, add new documentation for updated gclient, stop recommending priv mode."}
|
||||
- {date: "21.09.21:", desc: "Add Fedora and Arch images, show seccomp settings in readme."}
|
||||
- {date: "26.09.21:", desc: "Rebase to Alpine versions to 3.14."}
|
||||
- {date: "20.04.21:", desc: "Initial release."}
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openbox_menu xmlns="http://openbox.org/3.4/menu">
|
||||
<menu id="root-menu" label="MENU">
|
||||
<item label="xterm" icon="/usr/share/icons/hicolor/48x48/apps/xterm-color.png"><action name="Execute"><command>/usr/bin/xterm</command></action></item>
|
||||
<item label="Featherpad" icon="/usr/share/icons/hicolor/scalable/apps/featherpad.svg"><action name="Execute"><command>/usr/bin/featherpad</command></action></item>
|
||||
<item label="Firefox" icon="/usr/share/icons/hicolor/48x48/apps/firefox.png"><action name="Execute"><command>/usr/bin/firefox</command></action></item>
|
||||
<item label="OBConf" icon="/usr/share/pixmaps/obconf.png"><action name="Execute"><command>/usr/bin/obconf</command></action></item>
|
||||
<item label="Reload OB"><action name="Reconfigure"/></item>
|
||||
</menu>
|
||||
</openbox_menu>
|
||||
@ -1,3 +1,10 @@
|
||||
#!/bin/bash
|
||||
/usr/bin/pulseaudio --start
|
||||
/usr/bin/openbox-session > /dev/null 2>&1
|
||||
|
||||
# Default settings
|
||||
if [ ! -d "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml ]; then
|
||||
mkdir -p "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml
|
||||
cp /defaults/xfce/* "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/
|
||||
fi
|
||||
|
||||
# Start DE
|
||||
exec dbus-launch --exit-with-session /usr/bin/xfce4-session > /dev/null 2>&1
|
||||
|
||||
12
root/defaults/startwm_wayland.sh
Executable file
12
root/defaults/startwm_wayland.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Default settings
|
||||
if [ ! -d "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml ]; then
|
||||
mkdir -p "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml
|
||||
cp /defaults/xfce/* "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/
|
||||
fi
|
||||
|
||||
# Start DE
|
||||
WAYLAND_DISPLAY=wayland-1 Xwayland :1 &
|
||||
sleep 2
|
||||
exec dbus-launch --exit-with-session /usr/bin/xfce4-session > /dev/null 2>&1
|
||||
23
root/defaults/xfce/xfce4-desktop.xml
Normal file
23
root/defaults/xfce/xfce4-desktop.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.1" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-desktop" version="1.0">
|
||||
<property name="last-settings-migration-version" type="uint" value="1"/>
|
||||
<property name="backdrop" type="empty">
|
||||
<property name="screen0" type="empty">
|
||||
<property name="monitorselkies-primary" type="empty">
|
||||
<property name="workspace0" type="empty">
|
||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-leaves.svg"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="monitorselkies-display2" type="empty">
|
||||
<property name="workspace0" type="empty">
|
||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-leaves.svg"/>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
<property name="last" type="empty">
|
||||
<property name="window-width" type="int" value="659"/>
|
||||
<property name="window-height" type="int" value="569"/>
|
||||
</property>
|
||||
</channel>
|
||||
53
root/defaults/xfce/xfce4-panel.xml
Normal file
53
root/defaults/xfce/xfce4-panel.xml
Normal file
@ -0,0 +1,53 @@
|
||||
<?xml version="1.1" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-panel" version="1.0">
|
||||
<property name="configver" type="int" value="2"/>
|
||||
<property name="panels" type="array">
|
||||
<value type="int" value="1"/>
|
||||
<property name="dark-mode" type="bool" value="true"/>
|
||||
<property name="panel-1" type="empty">
|
||||
<property name="position" type="string" value="p=6;x=0;y=0"/>
|
||||
<property name="length" type="uint" value="100"/>
|
||||
<property name="position-locked" type="bool" value="true"/>
|
||||
<property name="icon-size" type="uint" value="16"/>
|
||||
<property name="size" type="uint" value="26"/>
|
||||
<property name="plugin-ids" type="array">
|
||||
<value type="int" value="1"/>
|
||||
<value type="int" value="2"/>
|
||||
<value type="int" value="3"/>
|
||||
<value type="int" value="4"/>
|
||||
<value type="int" value="5"/>
|
||||
<value type="int" value="6"/>
|
||||
<value type="int" value="7"/>
|
||||
<value type="int" value="8"/>
|
||||
<value type="int" value="9"/>
|
||||
<value type="int" value="10"/>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
<property name="plugins" type="empty">
|
||||
<property name="plugin-1" type="string" value="applicationsmenu"/>
|
||||
<property name="plugin-2" type="string" value="tasklist">
|
||||
<property name="grouping" type="uint" value="1"/>
|
||||
</property>
|
||||
<property name="plugin-3" type="string" value="separator">
|
||||
<property name="expand" type="bool" value="true"/>
|
||||
<property name="style" type="uint" value="0"/>
|
||||
</property>
|
||||
<property name="plugin-4" type="string" value="pager"/>
|
||||
<property name="plugin-5" type="string" value="separator">
|
||||
<property name="style" type="uint" value="0"/>
|
||||
</property>
|
||||
<property name="plugin-6" type="string" value="systray">
|
||||
<property name="square-icons" type="bool" value="true"/>
|
||||
</property>
|
||||
<property name="plugin-7" type="string" value="separator">
|
||||
<property name="style" type="uint" value="0"/>
|
||||
</property>
|
||||
<property name="plugin-8" type="string" value="clock"/>
|
||||
<property name="plugin-9" type="string" value="separator">
|
||||
<property name="style" type="uint" value="0"/>
|
||||
</property>
|
||||
<property name="plugin-10" type="string" value="actions"/>
|
||||
</property>
|
||||
</channel>
|
||||
91
root/defaults/xfce/xfwm4.xml
Normal file
91
root/defaults/xfce/xfwm4.xml
Normal file
@ -0,0 +1,91 @@
|
||||
<?xml version="1.1" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfwm4" version="1.0">
|
||||
<property name="general" type="empty">
|
||||
<property name="activate_action" type="string" value="bring"/>
|
||||
<property name="borderless_maximize" type="bool" value="true"/>
|
||||
<property name="box_move" type="bool" value="false"/>
|
||||
<property name="box_resize" type="bool" value="false"/>
|
||||
<property name="button_layout" type="string" value="O|SHMC"/>
|
||||
<property name="button_offset" type="int" value="0"/>
|
||||
<property name="button_spacing" type="int" value="0"/>
|
||||
<property name="click_to_focus" type="bool" value="true"/>
|
||||
<property name="cycle_apps_only" type="bool" value="false"/>
|
||||
<property name="cycle_draw_frame" type="bool" value="true"/>
|
||||
<property name="cycle_raise" type="bool" value="false"/>
|
||||
<property name="cycle_hidden" type="bool" value="true"/>
|
||||
<property name="cycle_minimum" type="bool" value="true"/>
|
||||
<property name="cycle_minimized" type="bool" value="false"/>
|
||||
<property name="cycle_preview" type="bool" value="true"/>
|
||||
<property name="cycle_tabwin_mode" type="int" value="0"/>
|
||||
<property name="cycle_workspaces" type="bool" value="false"/>
|
||||
<property name="double_click_action" type="string" value="maximize"/>
|
||||
<property name="double_click_distance" type="int" value="5"/>
|
||||
<property name="double_click_time" type="int" value="250"/>
|
||||
<property name="easy_click" type="string" value="Alt"/>
|
||||
<property name="focus_delay" type="int" value="250"/>
|
||||
<property name="focus_hint" type="bool" value="true"/>
|
||||
<property name="focus_new" type="bool" value="true"/>
|
||||
<property name="frame_opacity" type="int" value="100"/>
|
||||
<property name="frame_border_top" type="int" value="0"/>
|
||||
<property name="full_width_title" type="bool" value="true"/>
|
||||
<property name="horiz_scroll_opacity" type="bool" value="false"/>
|
||||
<property name="inactive_opacity" type="int" value="100"/>
|
||||
<property name="maximized_offset" type="int" value="0"/>
|
||||
<property name="mousewheel_rollup" type="bool" value="true"/>
|
||||
<property name="move_opacity" type="int" value="100"/>
|
||||
<property name="placement_mode" type="string" value="center"/>
|
||||
<property name="placement_ratio" type="int" value="20"/>
|
||||
<property name="popup_opacity" type="int" value="100"/>
|
||||
<property name="prevent_focus_stealing" type="bool" value="false"/>
|
||||
<property name="raise_delay" type="int" value="250"/>
|
||||
<property name="raise_on_click" type="bool" value="true"/>
|
||||
<property name="raise_on_focus" type="bool" value="false"/>
|
||||
<property name="raise_with_any_button" type="bool" value="true"/>
|
||||
<property name="repeat_urgent_blink" type="bool" value="false"/>
|
||||
<property name="resize_opacity" type="int" value="100"/>
|
||||
<property name="scroll_workspaces" type="bool" value="true"/>
|
||||
<property name="shadow_delta_height" type="int" value="0"/>
|
||||
<property name="shadow_delta_width" type="int" value="0"/>
|
||||
<property name="shadow_delta_x" type="int" value="0"/>
|
||||
<property name="shadow_delta_y" type="int" value="-3"/>
|
||||
<property name="shadow_opacity" type="int" value="50"/>
|
||||
<property name="show_app_icon" type="bool" value="false"/>
|
||||
<property name="show_dock_shadow" type="bool" value="true"/>
|
||||
<property name="show_frame_shadow" type="bool" value="true"/>
|
||||
<property name="show_popup_shadow" type="bool" value="false"/>
|
||||
<property name="snap_resist" type="bool" value="false"/>
|
||||
<property name="snap_to_border" type="bool" value="true"/>
|
||||
<property name="snap_to_windows" type="bool" value="false"/>
|
||||
<property name="snap_width" type="int" value="10"/>
|
||||
<property name="vblank_mode" type="string" value="auto"/>
|
||||
<property name="theme" type="string" value="Default"/>
|
||||
<property name="tile_on_move" type="bool" value="true"/>
|
||||
<property name="title_alignment" type="string" value="center"/>
|
||||
<property name="title_font" type="string" value="Sans Bold 9"/>
|
||||
<property name="title_horizontal_offset" type="int" value="0"/>
|
||||
<property name="titleless_maximize" type="bool" value="false"/>
|
||||
<property name="title_shadow_active" type="string" value="false"/>
|
||||
<property name="title_shadow_inactive" type="string" value="false"/>
|
||||
<property name="title_vertical_offset_active" type="int" value="0"/>
|
||||
<property name="title_vertical_offset_inactive" type="int" value="0"/>
|
||||
<property name="toggle_workspaces" type="bool" value="false"/>
|
||||
<property name="unredirect_overlays" type="bool" value="true"/>
|
||||
<property name="urgent_blink" type="bool" value="false"/>
|
||||
<property name="use_compositing" type="bool" value="false"/>
|
||||
<property name="workspace_count" type="int" value="4"/>
|
||||
<property name="wrap_cycle" type="bool" value="true"/>
|
||||
<property name="wrap_layout" type="bool" value="true"/>
|
||||
<property name="wrap_resistance" type="int" value="10"/>
|
||||
<property name="wrap_windows" type="bool" value="false"/>
|
||||
<property name="wrap_workspaces" type="bool" value="false"/>
|
||||
<property name="zoom_desktop" type="bool" value="true"/>
|
||||
<property name="zoom_pointer" type="bool" value="true"/>
|
||||
<property name="workspace_names" type="array">
|
||||
<value type="string" value="Workspace 1"/>
|
||||
<value type="string" value="Workspace 2"/>
|
||||
<value type="string" value="Workspace 3"/>
|
||||
<value type="string" value="Workspace 4"/>
|
||||
</property>
|
||||
</property>
|
||||
</channel>
|
||||
42
root/defaults/xfce/xsettings.xml
Normal file
42
root/defaults/xfce/xsettings.xml
Normal file
@ -0,0 +1,42 @@
|
||||
<?xml version="1.1" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xsettings" version="1.0">
|
||||
<property name="Net" type="empty">
|
||||
<property name="ThemeName" type="string" value="adw-gtk3-dark"/>
|
||||
<property name="IconThemeName" type="string" value="adwaita-xfce"/>
|
||||
<property name="DoubleClickTime" type="empty"/>
|
||||
<property name="DoubleClickDistance" type="empty"/>
|
||||
<property name="DndDragThreshold" type="empty"/>
|
||||
<property name="CursorBlink" type="empty"/>
|
||||
<property name="CursorBlinkTime" type="empty"/>
|
||||
<property name="SoundThemeName" type="empty"/>
|
||||
<property name="EnableEventSounds" type="empty"/>
|
||||
<property name="EnableInputFeedbackSounds" type="empty"/>
|
||||
</property>
|
||||
<property name="Xft" type="empty">
|
||||
<property name="DPI" type="empty"/>
|
||||
<property name="Antialias" type="empty"/>
|
||||
<property name="Hinting" type="empty"/>
|
||||
<property name="HintStyle" type="empty"/>
|
||||
<property name="RGBA" type="empty"/>
|
||||
</property>
|
||||
<property name="Gtk" type="empty">
|
||||
<property name="CanChangeAccels" type="empty"/>
|
||||
<property name="ColorPalette" type="empty"/>
|
||||
<property name="FontName" type="empty"/>
|
||||
<property name="MonospaceFontName" type="empty"/>
|
||||
<property name="IconSizes" type="empty"/>
|
||||
<property name="KeyThemeName" type="empty"/>
|
||||
<property name="MenuImages" type="empty"/>
|
||||
<property name="ButtonImages" type="empty"/>
|
||||
<property name="MenuBarAccel" type="empty"/>
|
||||
<property name="CursorThemeName" type="string" value="Adwaita"/>
|
||||
<property name="CursorThemeSize" type="int" value="32"/>
|
||||
<property name="DecorationLayout" type="string" value="icon,menu:minimize,maximize,close"/>
|
||||
<property name="DialogsUseHeader" type="empty"/>
|
||||
<property name="TitlebarMiddleClick" type="empty"/>
|
||||
</property>
|
||||
<property name="Gdk" type="empty">
|
||||
<property name="WindowScalingFactor" type="empty"/>
|
||||
</property>
|
||||
</channel>
|
||||
@ -1,7 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# default file copies first run
|
||||
[[ ! -f /config/.config/openbox/menu.xml ]] && \
|
||||
mkdir -p /config/.config/openbox && \
|
||||
cp /defaults/menu.xml /config/.config/openbox/menu.xml && \
|
||||
chown -R abc:abc /config/.config
|
||||
18
root/usr/bin/chromium
Executable file
18
root/usr/bin/chromium
Executable file
@ -0,0 +1,18 @@
|
||||
#! /bin/bash
|
||||
|
||||
BIN=/usr/bin/chromium-browser
|
||||
|
||||
# Bugfix for Chromium in Alpine
|
||||
export GTK_THEME=Adwaita:light
|
||||
|
||||
# Cleanup
|
||||
if ! pgrep chromium > /dev/null;then
|
||||
rm -f $HOME/.config/chromium/Singleton*
|
||||
fi
|
||||
|
||||
# Run normally on privved containers or modified un non priv
|
||||
if grep -q 'Seccomp:.0' /proc/1/status; then
|
||||
${BIN} --no-first-run --password-store=basic "$@"
|
||||
else
|
||||
${BIN} --no-first-run --password-store=basic --no-sandbox --test-type "$@"
|
||||
fi
|
||||
18
root/usr/bin/chromium-browser
Executable file
18
root/usr/bin/chromium-browser
Executable file
@ -0,0 +1,18 @@
|
||||
#! /bin/bash
|
||||
|
||||
BIN=/usr/lib/chromium/chromium-launcher.sh
|
||||
|
||||
# Bugfix for Chromium in Alpine
|
||||
export GTK_THEME=Adwaita:light
|
||||
|
||||
# Cleanup
|
||||
if ! pgrep chromium > /dev/null;then
|
||||
rm -f $HOME/.config/chromium/Singleton*
|
||||
fi
|
||||
|
||||
# Run normally on privved containers or modified un non priv
|
||||
if grep -q 'Seccomp:.0' /proc/1/status; then
|
||||
${BIN} --no-first-run --password-store=basic "$@"
|
||||
else
|
||||
${BIN} --no-first-run --password-store=basic --no-sandbox --test-type "$@"
|
||||
fi
|
||||
3
root/usr/bin/thunar
Executable file
3
root/usr/bin/thunar
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
unset LD_PRELOAD
|
||||
thunar-real "$@"
|
||||
Loading…
x
Reference in New Issue
Block a user