mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-09-20 00:08:43 +02:00
Compare commits
328 Commits
master
...
debian-kde
Author | SHA1 | Date | |
---|---|---|---|
|
177c5e26cf | ||
|
ae81914e29 | ||
|
ee0028345a | ||
|
16b5febe25 | ||
|
27ef7ff948 | ||
|
385b4893bc | ||
|
ced9923f34 | ||
|
350b88a65a | ||
|
4ad6b5eb14 | ||
|
43ad82a534 | ||
|
09a7f56ed4 | ||
|
bd40a7ee38 | ||
|
e6a6e7a0d5 | ||
|
531efcf951 | ||
|
63e5a397f5 | ||
|
a21650fbd8 | ||
|
3f0cb11f29 | ||
|
f135f7fc3e | ||
|
ee21eb6e3c | ||
|
f6f2a89278 | ||
|
b84dff8d45 | ||
|
07205e0cbd | ||
|
f5217003ce | ||
|
63fb473f79 | ||
|
f0d1e06b7b | ||
|
8cda4bb3d4 | ||
|
4d612f324d | ||
|
c4c87f882b | ||
|
ea0b315017 | ||
|
ddc861a514 | ||
|
8593937fd4 | ||
|
f14093b7c3 | ||
|
bc61438af5 | ||
|
71aec4672f | ||
|
45900ecea1 | ||
|
3082d40caa | ||
|
7500138061 | ||
|
f82f7e901b | ||
|
4ad15b516b | ||
|
41d9112702 | ||
|
4f52bb1c5a | ||
|
53ba5ac3c9 | ||
|
7e7ea09aeb | ||
|
5f14532288 | ||
|
98af965f27 | ||
|
02cb63d09f | ||
|
5ef8fc33f4 | ||
|
9ef7fa529b | ||
|
2c2cfda8d6 | ||
|
1cca89fc66 | ||
|
6a451bf8af | ||
|
1b84cf2158 | ||
|
a8ccad42ef | ||
|
8cb3c0e315 | ||
|
8b5c88cfca | ||
|
8810f0a7b4 | ||
|
dbe6c07223 | ||
|
85cb8db2e1 | ||
|
8557d34e61 | ||
|
0cdccfed09 | ||
|
ffa389308c | ||
|
45165d1d20 | ||
|
2bce65579c | ||
|
976abc3363 | ||
|
45bb4f332d | ||
|
2cc10378f5 | ||
|
d35b371e2d | ||
|
934c7e826e | ||
|
dfd1587265 | ||
|
13bb742bf1 | ||
|
e4b9890ebd | ||
|
7d558a5c31 | ||
|
c811b5710e | ||
|
52c74160e8 | ||
|
9ce10a4996 | ||
|
c7c0109c9e | ||
|
0876a5d9e5 | ||
|
1354d91a66 | ||
|
d06afee7ac | ||
|
59e011872f | ||
|
1165f0fb45 | ||
|
9c391fc359 | ||
|
6997d316c8 | ||
|
7ea98288da | ||
|
2a8a01ac88 | ||
|
6e166dc9f0 | ||
|
eb59afc4ba | ||
|
8bc5815056 | ||
|
b70a9b9288 | ||
|
8dd0d9fafe | ||
|
f0f72f09f3 | ||
|
61fcb326d9 | ||
|
ce83a3309e | ||
|
a93df7d4c6 | ||
|
030161c819 | ||
|
7c81b55d88 | ||
|
1b50575c85 | ||
|
ee3967eeaf | ||
|
e2fce21e14 | ||
|
416f7851a5 | ||
|
a4947680c7 | ||
|
0796e26f54 | ||
|
420bc7fe1c | ||
|
a78ae09e33 | ||
|
d165f04e86 | ||
|
f8790e70f0 | ||
|
8359edcf2b | ||
|
042b52bdc6 | ||
|
5083586870 | ||
|
82f10dc12d | ||
|
a460e150bb | ||
|
52477b3963 | ||
|
6e6d3f657d | ||
|
83fcf96c68 | ||
|
89a331ac26 | ||
|
9879f204f2 | ||
|
bfb5375a8a | ||
|
d90e4fc097 | ||
|
e415edd4d6 | ||
|
1a8be87ca9 | ||
|
95a2727985 | ||
|
7f7277cb6d | ||
|
cfe12a6461 | ||
|
c8ed6390e6 | ||
|
fa11f41333 | ||
|
6c380f199b | ||
|
0c4edc6789 | ||
|
4b35785059 | ||
|
2c48c4586d | ||
|
128f5107b4 | ||
|
ecc30b53fb | ||
|
0b7362612c | ||
|
1983adae97 | ||
|
a6cb80a4a8 | ||
|
4f0b73597d | ||
|
1f5f44cad6 | ||
|
775f7f529d | ||
|
1ebd114426 | ||
|
26da1e5373 | ||
|
38e85bd0f6 | ||
|
8e117808bd | ||
|
b1c0b3f908 | ||
|
04a3366c81 | ||
|
90651436d9 | ||
|
d1f6a59efc | ||
|
a7bfc164af | ||
|
68d890e822 | ||
|
12f7ac6f16 | ||
|
221d0c6436 | ||
|
a34658fead | ||
|
20f03e507b | ||
|
9c2eecf801 | ||
|
431f39f060 | ||
|
d6a7b13d65 | ||
|
81da479a9a | ||
|
d441a9954e | ||
|
42a0afe8ab | ||
|
749e3d5c24 | ||
|
bcadb81369 | ||
|
d060e1d25c | ||
|
27665c3fe0 | ||
|
f52b87e8d7 | ||
|
390f35a539 | ||
|
0bea581da9 | ||
|
085d1ffe9f | ||
|
38d231cba1 | ||
|
3d47e78467 | ||
|
3e8f20def1 | ||
|
4e776bb6da | ||
|
ecb5162d12 | ||
|
a35b395ede | ||
|
aefc5356dc | ||
|
a438ffba4a | ||
|
c8919ae215 | ||
|
67d4274c16 | ||
|
93961c7f87 | ||
|
b2ff0897e6 | ||
|
f37b8304c7 | ||
|
efb9adb61a | ||
|
6ef60a7739 | ||
|
852aa809c8 | ||
|
c789a2d3d4 | ||
|
88d8da908c | ||
|
339d3f0295 | ||
|
e84a6e25f1 | ||
|
8cfdfe4fa4 | ||
|
86dbbafd61 | ||
|
df7a19d7fe | ||
|
49377591d1 | ||
|
6b7e71d3db | ||
|
bde6b7bc26 | ||
|
55a745d862 | ||
|
9a7fd8e436 | ||
|
632fe878d3 | ||
|
181520f5e2 | ||
|
fa33fd08ed | ||
|
d1e8e10b67 | ||
|
a001fa884c | ||
|
4a8c4c4cbb | ||
|
898caea2b7 | ||
|
a2a7c1a57b | ||
|
807e258fa9 | ||
|
b95719627d | ||
|
fc1f4d7ee1 | ||
|
44f547d52b | ||
|
d798af8846 | ||
|
32c1452180 | ||
|
e795b3b928 | ||
|
b6809dea7c | ||
|
7b7a3b2b96 | ||
|
3ee6799f52 | ||
|
5b94713c24 | ||
|
1efdb369f0 | ||
|
9c7ff07a45 | ||
|
7027961930 | ||
|
e64a1f6554 | ||
|
d7de07f2a6 | ||
|
598592fc61 | ||
|
698a81952f | ||
|
aaca4425fa | ||
|
89e67f15be | ||
|
aa261f294d | ||
|
7fedbf5381 | ||
|
e8a7b8c56d | ||
|
0cb76ab7a4 | ||
|
6e2a24616d | ||
|
6b51a4c079 | ||
|
c5e0baf147 | ||
|
a5cb8ac6df | ||
|
4f425e1b06 | ||
|
da7aa03c87 | ||
|
4b3281fa48 | ||
|
0d0f3154f7 | ||
|
208d3b4752 | ||
|
9c55c0251e | ||
|
4f8a794066 | ||
|
745b6492ae | ||
|
b0cbcb742f | ||
|
5ede3117e9 | ||
|
9c6a8555f0 | ||
|
19d0ebb325 | ||
|
5a9cf41e67 | ||
|
1fb7215e51 | ||
|
4036302607 | ||
|
674feaaf0d | ||
|
37b999b9db | ||
|
2d5ce327cb | ||
|
b9481a889b | ||
|
bedc941d7b | ||
|
69f35dfc72 | ||
|
720ae92e12 | ||
|
38dd4ebeea | ||
|
2ce8325e6d | ||
|
af59862b03 | ||
|
2ab42bfb06 | ||
|
1747a4cefa | ||
|
1d5d422203 | ||
|
f570fce4dd | ||
|
54fb58165b | ||
|
8da95f8aa3 | ||
|
d8f36fc6f0 | ||
|
3109764d32 | ||
|
3fc9adee80 | ||
|
e4d5dc3dbe | ||
|
5ecbd30ebd | ||
|
59574332b6 | ||
|
45b61c0c82 | ||
|
40062e195f | ||
|
54a79d5d2f | ||
|
14a1c42bc3 | ||
|
41c91e9044 | ||
|
831cf15c1a | ||
|
b455372fc2 | ||
|
7fbf7e3187 | ||
|
9acdae1112 | ||
|
8780ea0b21 | ||
|
afc3f72f0b | ||
|
73817a67da | ||
|
576b18964b | ||
|
a0e78f6488 | ||
|
54d52abe5f | ||
|
9b04c32dee | ||
|
b4c3bf505f | ||
|
690a4972f9 | ||
|
ab315fbd4e | ||
|
c6d6ca884d | ||
|
7c4a03c7f9 | ||
|
05453b8bc7 | ||
|
85031cc85d | ||
|
44efdd467b | ||
|
e9e74a3805 | ||
|
52b9c8dc33 | ||
|
db29b4c405 | ||
|
e18e6e4e79 | ||
|
3a4634f2fd | ||
|
87263c0271 | ||
|
248139fbcd | ||
|
8efe561b08 | ||
|
16645eac94 | ||
|
10b79ccf0e | ||
|
274fc8e17c | ||
|
6766d77827 | ||
|
7069a84e65 | ||
|
869811ef89 | ||
|
8b47d3024a | ||
|
ba06ae6245 | ||
|
1a08b9cb39 | ||
|
a11c575b8e | ||
|
c2e670334a | ||
|
bbc8f26c4d | ||
|
faf4a531a6 | ||
|
4c646d82be | ||
|
08c7ce7f8a | ||
|
25ffee6619 | ||
|
eacc088ae2 | ||
|
c46bd8cb47 | ||
|
9aef2a4607 | ||
|
b1958b4b7e | ||
|
00ada565ff | ||
|
181722ce64 | ||
|
66236d43e8 | ||
|
614e031765 | ||
|
a8d4080333 | ||
|
c567677932 | ||
|
602612b96b | ||
|
a49eccb984 | ||
|
6e87c2df07 | ||
|
13ba2f74bc |
6
.github/CONTRIBUTING.md
vendored
6
.github/CONTRIBUTING.md
vendored
@ -24,10 +24,10 @@
|
|||||||
## Readme
|
## Readme
|
||||||
|
|
||||||
If you would like to change our readme, please __**do not**__ directly edit the readme, as it is auto-generated on each commit.
|
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/master/readme-vars.yml).
|
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-webtop/edit/debian-kde/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.
|
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)
|
Most of these variables are also carried over to [docs.linuxserver.io](https://docs.linuxserver.io)
|
||||||
|
|
||||||
### Fixing typos or clarify the text in the readme
|
### Fixing typos or clarify the text in the readme
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
|||||||
|
|
||||||
## Update the changelog
|
## Update 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
|
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-webtop/tree/debian-kde/root), add an entry to the changelog
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
changelogs:
|
changelogs:
|
||||||
|
2
.github/ISSUE_TEMPLATE/config.yml
vendored
2
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -9,5 +9,5 @@ contact_links:
|
|||||||
about: Post on our community forum.
|
about: Post on our community forum.
|
||||||
|
|
||||||
- name: Documentation
|
- name: Documentation
|
||||||
url: https://docs.linuxserver.io/images/docker-webtop
|
url: https://docs.linuxserver.io
|
||||||
about: Documentation - information about all of our containers.
|
about: Documentation - information about all of our containers.
|
||||||
|
8
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
8
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
@ -47,14 +47,6 @@ body:
|
|||||||
render: markdown
|
render: markdown
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
- type: dropdown
|
|
||||||
attributes:
|
|
||||||
label: CPU architecture
|
|
||||||
options:
|
|
||||||
- x86-64
|
|
||||||
- arm64
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Docker creation
|
label: Docker creation
|
||||||
|
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/master/.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/debian-kde/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
|
||||||
|
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
|
6
.github/workflows/external_trigger.yml
vendored
6
.github/workflows/external_trigger.yml
vendored
@ -7,13 +7,13 @@ permissions:
|
|||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
external-trigger-master:
|
external-trigger-debian-kde:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.1
|
- uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
- name: External Trigger
|
- name: External Trigger
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/debian-kde'
|
||||||
env:
|
env:
|
||||||
SKIP_EXTERNAL_TRIGGER: ${{ vars.SKIP_EXTERNAL_TRIGGER }}
|
SKIP_EXTERNAL_TRIGGER: ${{ vars.SKIP_EXTERNAL_TRIGGER }}
|
||||||
run: |
|
run: |
|
||||||
@ -21,7 +21,7 @@ jobs:
|
|||||||
echo "Type is \`os\`" >> $GITHUB_STEP_SUMMARY
|
echo "Type is \`os\`" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "No external release, exiting" >> $GITHUB_STEP_SUMMARY
|
echo "No external release, exiting" >> $GITHUB_STEP_SUMMARY
|
||||||
exit 0
|
exit 0
|
||||||
if grep -q "^webtop_master_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
|
if grep -q "^webtop_debian-kde_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
|
||||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` matches current external release; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` matches current external release; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||||
exit 0
|
exit 0
|
||||||
|
2
.github/workflows/greetings.yml
vendored
2
.github/workflows/greetings.yml
vendored
@ -15,5 +15,5 @@ jobs:
|
|||||||
- uses: actions/first-interaction@v1
|
- uses: actions/first-interaction@v1
|
||||||
with:
|
with:
|
||||||
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.'
|
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)!'
|
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-webtop/blob/debian-kde/.github/PULL_REQUEST_TEMPLATE.md)!'
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
56
Dockerfile
56
Dockerfile
@ -1,14 +1,14 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-selkies:alpine322
|
FROM ghcr.io/linuxserver/baseimage-selkies:debiantrixie
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
ARG XFCE_VERSION
|
|
||||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||||
LABEL maintainer="thelamer"
|
LABEL maintainer="thelamer"
|
||||||
|
|
||||||
# title
|
# title
|
||||||
ENV TITLE="Alpine XFCE"
|
ENV TITLE="Debian KDE" \
|
||||||
|
NO_GAMEPAD=true
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
echo "**** add icon ****" && \
|
echo "**** add icon ****" && \
|
||||||
@ -16,27 +16,42 @@ RUN \
|
|||||||
/usr/share/selkies/www/icon.png \
|
/usr/share/selkies/www/icon.png \
|
||||||
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
|
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
|
||||||
echo "**** install packages ****" && \
|
echo "**** install packages ****" && \
|
||||||
apk add --no-cache \
|
apt-get update && \
|
||||||
adw-gtk3 \
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
adwaita-xfce-icon-theme \
|
apt-get install -y --no-install-recommends \
|
||||||
chromium \
|
chromium \
|
||||||
mousepad \
|
chromium-l10n \
|
||||||
ristretto \
|
dolphin \
|
||||||
thunar \
|
gwenview \
|
||||||
util-linux-misc \
|
kde-config-gtk-style \
|
||||||
xfce4 \
|
kdialog \
|
||||||
xfce4-terminal && \
|
kfind \
|
||||||
echo "**** xfce-tweaks ****" && \
|
kio-extras \
|
||||||
mv \
|
knewstuff-dialog \
|
||||||
/usr/bin/thunar \
|
konsole \
|
||||||
/usr/bin/thunar-real && \
|
ksystemstats \
|
||||||
|
kwin-addons \
|
||||||
|
kwin-x11 \
|
||||||
|
kwrite \
|
||||||
|
plasma-desktop \
|
||||||
|
plasma-workspace \
|
||||||
|
qml-module-qt-labs-platform \
|
||||||
|
systemsettings \
|
||||||
|
xserver-xorg-input-libinput && \
|
||||||
|
echo "**** application tweaks ****" && \
|
||||||
|
sed -i \
|
||||||
|
's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
|
||||||
|
/usr/share/applications/chromium.desktop && \
|
||||||
|
echo "**** kde tweaks ****" && \
|
||||||
|
sed -i \
|
||||||
|
's/applications:org.kde.discover.desktop,/applications:org.kde.konsole.desktop,/g' \
|
||||||
|
/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
rm -f \
|
apt-get autoclean && \
|
||||||
/etc/xdg/autostart/xfce4-power-manager.desktop \
|
|
||||||
/etc/xdg/autostart/xscreensaver.desktop \
|
|
||||||
/usr/share/xfce4/panel/plugins/power-manager-plugin.desktop && \
|
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/config/.cache \
|
/config/.cache \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/* \
|
||||||
/tmp/*
|
/tmp/*
|
||||||
|
|
||||||
# add local files
|
# add local files
|
||||||
@ -44,5 +59,4 @@ COPY /root /
|
|||||||
|
|
||||||
# ports and volumes
|
# ports and volumes
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-alpine322
|
FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-debiantrixie
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
ARG XFCE_VERSION
|
|
||||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||||
LABEL maintainer="thelamer"
|
LABEL maintainer="thelamer"
|
||||||
|
|
||||||
# title
|
# title
|
||||||
ENV TITLE="Alpine XFCE"
|
ENV TITLE="Debian KDE" \
|
||||||
|
NO_GAMEPAD=true
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
echo "**** add icon ****" && \
|
echo "**** add icon ****" && \
|
||||||
@ -16,27 +16,42 @@ RUN \
|
|||||||
/usr/share/selkies/www/icon.png \
|
/usr/share/selkies/www/icon.png \
|
||||||
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
|
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
|
||||||
echo "**** install packages ****" && \
|
echo "**** install packages ****" && \
|
||||||
apk add --no-cache \
|
apt-get update && \
|
||||||
adw-gtk3 \
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
adwaita-xfce-icon-theme \
|
apt-get install -y --no-install-recommends \
|
||||||
chromium \
|
chromium \
|
||||||
mousepad \
|
chromium-l10n \
|
||||||
ristretto \
|
dolphin \
|
||||||
thunar \
|
gwenview \
|
||||||
util-linux-misc \
|
kde-config-gtk-style \
|
||||||
xfce4 \
|
kdialog \
|
||||||
xfce4-terminal && \
|
kfind \
|
||||||
echo "**** xfce-tweaks ****" && \
|
kio-extras \
|
||||||
mv \
|
knewstuff-dialog \
|
||||||
/usr/bin/thunar \
|
konsole \
|
||||||
/usr/bin/thunar-real && \
|
ksystemstats \
|
||||||
|
kwin-addons \
|
||||||
|
kwin-x11 \
|
||||||
|
kwrite \
|
||||||
|
plasma-desktop \
|
||||||
|
plasma-workspace \
|
||||||
|
qml-module-qt-labs-platform \
|
||||||
|
systemsettings \
|
||||||
|
xserver-xorg-input-libinput && \
|
||||||
|
echo "**** application tweaks ****" && \
|
||||||
|
sed -i \
|
||||||
|
's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
|
||||||
|
/usr/share/applications/chromium.desktop && \
|
||||||
|
echo "**** kde tweaks ****" && \
|
||||||
|
sed -i \
|
||||||
|
's/applications:org.kde.discover.desktop,/applications:org.kde.konsole.desktop,/g' \
|
||||||
|
/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
rm -f \
|
apt-get autoclean && \
|
||||||
/etc/xdg/autostart/xfce4-power-manager.desktop \
|
|
||||||
/etc/xdg/autostart/xscreensaver.desktop \
|
|
||||||
/usr/share/xfce4/panel/plugins/power-manager-plugin.desktop && \
|
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/config/.cache \
|
/config/.cache \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/* \
|
||||||
/tmp/*
|
/tmp/*
|
||||||
|
|
||||||
# add local files
|
# add local files
|
||||||
@ -44,5 +59,4 @@ COPY /root /
|
|||||||
|
|
||||||
# ports and volumes
|
# ports and volumes
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
195
Jenkinsfile
vendored
195
Jenkinsfile
vendored
@ -19,24 +19,23 @@ pipeline {
|
|||||||
DOCKERHUB_TOKEN=credentials('docker-hub-ci-pat')
|
DOCKERHUB_TOKEN=credentials('docker-hub-ci-pat')
|
||||||
QUAYIO_API_TOKEN=credentials('quayio-repo-api-token')
|
QUAYIO_API_TOKEN=credentials('quayio-repo-api-token')
|
||||||
GIT_SIGNING_KEY=credentials('484fbca6-9a4f-455e-b9e3-97ac98785f5f')
|
GIT_SIGNING_KEY=credentials('484fbca6-9a4f-455e-b9e3-97ac98785f5f')
|
||||||
BUILD_VERSION_ARG = 'XFCE_VERSION'
|
BUILD_VERSION_ARG = 'OS_VERSION'
|
||||||
LS_USER = 'linuxserver'
|
LS_USER = 'linuxserver'
|
||||||
LS_REPO = 'docker-webtop'
|
LS_REPO = 'docker-webtop'
|
||||||
CONTAINER_NAME = 'webtop'
|
CONTAINER_NAME = 'webtop'
|
||||||
DOCKERHUB_IMAGE = 'linuxserver/webtop'
|
DOCKERHUB_IMAGE = 'linuxserver/webtop'
|
||||||
DEV_DOCKERHUB_IMAGE = 'lsiodev/webtop'
|
DEV_DOCKERHUB_IMAGE = 'lsiodev/webtop'
|
||||||
PR_DOCKERHUB_IMAGE = 'lspipepr/webtop'
|
PR_DOCKERHUB_IMAGE = 'lspipepr/webtop'
|
||||||
DIST_IMAGE = 'alpine'
|
DIST_IMAGE = 'ubuntu'
|
||||||
MULTIARCH = 'true'
|
MULTIARCH='true'
|
||||||
CI = 'true'
|
CI='true'
|
||||||
CI_WEB = 'true'
|
CI_WEB='true'
|
||||||
CI_PORT = '3001'
|
CI_PORT='3001'
|
||||||
CI_SSL = 'true'
|
CI_SSL='true'
|
||||||
CI_DELAY = '60'
|
CI_DELAY='120'
|
||||||
CI_WEB_SCREENSHOT_DELAY = '10'
|
CI_DOCKERENV='TZ=US/Pacific'
|
||||||
CI_DOCKERENV = 'TZ=US/Pacific'
|
CI_AUTH='user:password'
|
||||||
CI_AUTH = 'user:password'
|
CI_WEBPATH=''
|
||||||
CI_WEBPATH = ''
|
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage("Set git config"){
|
stage("Set git config"){
|
||||||
@ -77,7 +76,7 @@ pipeline {
|
|||||||
script{
|
script{
|
||||||
env.EXIT_STATUS = ''
|
env.EXIT_STATUS = ''
|
||||||
env.LS_RELEASE = sh(
|
env.LS_RELEASE = sh(
|
||||||
script: '''docker run --rm quay.io/skopeo/stable:v1 inspect docker://ghcr.io/${LS_USER}/${CONTAINER_NAME}:latest 2>/dev/null | jq -r '.Labels.build_version' | awk '{print $3}' | grep '\\-ls' || : ''',
|
script: '''docker run --rm quay.io/skopeo/stable:v1 inspect docker://ghcr.io/${LS_USER}/${CONTAINER_NAME}:debian-kde 2>/dev/null | jq -r '.Labels.build_version' | awk '{print $3}' | grep '\\-ls' || : ''',
|
||||||
returnStdout: true).trim()
|
returnStdout: true).trim()
|
||||||
env.LS_RELEASE_NOTES = sh(
|
env.LS_RELEASE_NOTES = sh(
|
||||||
script: '''cat readme-vars.yml | awk -F \\" '/date: "[0-9][0-9].[0-9][0-9].[0-9][0-9]:/ {print $4;exit;}' | sed -E ':a;N;$!ba;s/\\r{0,1}\\n/\\\\n/g' ''',
|
script: '''cat readme-vars.yml | awk -F \\" '/date: "[0-9][0-9].[0-9][0-9].[0-9][0-9]:/ {print $4;exit;}' | sed -E ':a;N;$!ba;s/\\r{0,1}\\n/\\\\n/g' ''',
|
||||||
@ -110,7 +109,7 @@ pipeline {
|
|||||||
script{
|
script{
|
||||||
env.LS_TAG_NUMBER = sh(
|
env.LS_TAG_NUMBER = sh(
|
||||||
script: '''#! /bin/bash
|
script: '''#! /bin/bash
|
||||||
tagsha=$(git rev-list -n 1 ${LS_RELEASE} 2>/dev/null)
|
tagsha=$(git rev-list -n 1 debian-kde-${LS_RELEASE} 2>/dev/null)
|
||||||
if [ "${tagsha}" == "${COMMIT_SHA}" ]; then
|
if [ "${tagsha}" == "${COMMIT_SHA}" ]; then
|
||||||
echo ${LS_RELEASE_NUMBER}
|
echo ${LS_RELEASE_NUMBER}
|
||||||
elif [ -z "${GIT_COMMIT}" ]; then
|
elif [ -z "${GIT_COMMIT}" ]; then
|
||||||
@ -186,10 +185,10 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// If this is a master build use live docker endpoints
|
// If this is a debian-kde build use live docker endpoints
|
||||||
stage("Set ENV live build"){
|
stage("Set ENV live build"){
|
||||||
when {
|
when {
|
||||||
branch "master"
|
branch "debian-kde"
|
||||||
environment name: 'CHANGE_ID', value: ''
|
environment name: 'CHANGE_ID', value: ''
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
@ -199,13 +198,13 @@ pipeline {
|
|||||||
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/' + env.CONTAINER_NAME
|
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/' + env.CONTAINER_NAME
|
||||||
env.QUAYIMAGE = 'quay.io/linuxserver.io/' + env.CONTAINER_NAME
|
env.QUAYIMAGE = 'quay.io/linuxserver.io/' + env.CONTAINER_NAME
|
||||||
if (env.MULTIARCH == 'true') {
|
if (env.MULTIARCH == 'true') {
|
||||||
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
env.CI_TAGS = 'amd64-debian-kde-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm64v8-debian-kde-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||||
} else {
|
} else {
|
||||||
env.CI_TAGS = env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
env.CI_TAGS = 'debian-kde-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||||
}
|
}
|
||||||
env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||||
env.META_TAG = env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
env.META_TAG = 'debian-kde-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||||
env.EXT_RELEASE_TAG = 'version-' + env.EXT_RELEASE_CLEAN
|
env.EXT_RELEASE_TAG = 'debian-kde-version-' + env.EXT_RELEASE_CLEAN
|
||||||
env.BUILDCACHE = 'docker.io/lsiodev/buildcache,registry.gitlab.com/linuxserver.io/docker-jenkins-builder/lsiodev-buildcache,ghcr.io/linuxserver/lsiodev-buildcache,quay.io/linuxserver.io/lsiodev-buildcache'
|
env.BUILDCACHE = 'docker.io/lsiodev/buildcache,registry.gitlab.com/linuxserver.io/docker-jenkins-builder/lsiodev-buildcache,ghcr.io/linuxserver/lsiodev-buildcache,quay.io/linuxserver.io/lsiodev-buildcache'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -213,7 +212,7 @@ pipeline {
|
|||||||
// If this is a dev build use dev docker endpoints
|
// If this is a dev build use dev docker endpoints
|
||||||
stage("Set ENV dev build"){
|
stage("Set ENV dev build"){
|
||||||
when {
|
when {
|
||||||
not {branch "master"}
|
not {branch "debian-kde"}
|
||||||
environment name: 'CHANGE_ID', value: ''
|
environment name: 'CHANGE_ID', value: ''
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
@ -223,13 +222,13 @@ pipeline {
|
|||||||
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/lsiodev-' + env.CONTAINER_NAME
|
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/lsiodev-' + env.CONTAINER_NAME
|
||||||
env.QUAYIMAGE = 'quay.io/linuxserver.io/lsiodev-' + env.CONTAINER_NAME
|
env.QUAYIMAGE = 'quay.io/linuxserver.io/lsiodev-' + env.CONTAINER_NAME
|
||||||
if (env.MULTIARCH == 'true') {
|
if (env.MULTIARCH == 'true') {
|
||||||
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
env.CI_TAGS = 'amd64-debian-kde-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm64v8-debian-kde-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
||||||
} else {
|
} else {
|
||||||
env.CI_TAGS = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
env.CI_TAGS = 'debian-kde-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
||||||
}
|
}
|
||||||
env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
||||||
env.META_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
env.META_TAG = 'debian-kde-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
||||||
env.EXT_RELEASE_TAG = 'version-' + env.EXT_RELEASE_CLEAN
|
env.EXT_RELEASE_TAG = 'debian-kde-version-' + env.EXT_RELEASE_CLEAN
|
||||||
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DEV_DOCKERHUB_IMAGE + '/tags/'
|
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DEV_DOCKERHUB_IMAGE + '/tags/'
|
||||||
env.BUILDCACHE = 'docker.io/lsiodev/buildcache,registry.gitlab.com/linuxserver.io/docker-jenkins-builder/lsiodev-buildcache,ghcr.io/linuxserver/lsiodev-buildcache,quay.io/linuxserver.io/lsiodev-buildcache'
|
env.BUILDCACHE = 'docker.io/lsiodev/buildcache,registry.gitlab.com/linuxserver.io/docker-jenkins-builder/lsiodev-buildcache,ghcr.io/linuxserver/lsiodev-buildcache,quay.io/linuxserver.io/lsiodev-buildcache'
|
||||||
}
|
}
|
||||||
@ -247,13 +246,13 @@ pipeline {
|
|||||||
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/lspipepr-' + env.CONTAINER_NAME
|
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/lspipepr-' + env.CONTAINER_NAME
|
||||||
env.QUAYIMAGE = 'quay.io/linuxserver.io/lspipepr-' + env.CONTAINER_NAME
|
env.QUAYIMAGE = 'quay.io/linuxserver.io/lspipepr-' + env.CONTAINER_NAME
|
||||||
if (env.MULTIARCH == 'true') {
|
if (env.MULTIARCH == 'true') {
|
||||||
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
env.CI_TAGS = 'amd64-debian-kde-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST + '|arm64v8-debian-kde-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
||||||
} else {
|
} else {
|
||||||
env.CI_TAGS = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
env.CI_TAGS = 'debian-kde-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
||||||
}
|
}
|
||||||
env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
||||||
env.META_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
env.META_TAG = 'debian-kde-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
||||||
env.EXT_RELEASE_TAG = 'version-' + env.EXT_RELEASE_CLEAN
|
env.EXT_RELEASE_TAG = 'debian-kde-version-' + env.EXT_RELEASE_CLEAN
|
||||||
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/pull/' + env.PULL_REQUEST
|
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/pull/' + env.PULL_REQUEST
|
||||||
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.PR_DOCKERHUB_IMAGE + '/tags/'
|
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.PR_DOCKERHUB_IMAGE + '/tags/'
|
||||||
env.BUILDCACHE = 'docker.io/lsiodev/buildcache,registry.gitlab.com/linuxserver.io/docker-jenkins-builder/lsiodev-buildcache,ghcr.io/linuxserver/lsiodev-buildcache,quay.io/linuxserver.io/lsiodev-buildcache'
|
env.BUILDCACHE = 'docker.io/lsiodev/buildcache,registry.gitlab.com/linuxserver.io/docker-jenkins-builder/lsiodev-buildcache,ghcr.io/linuxserver/lsiodev-buildcache,quay.io/linuxserver.io/lsiodev-buildcache'
|
||||||
@ -291,7 +290,7 @@ pipeline {
|
|||||||
// Use helper containers to render templated files
|
// Use helper containers to render templated files
|
||||||
stage('Update-Templates') {
|
stage('Update-Templates') {
|
||||||
when {
|
when {
|
||||||
branch "master"
|
branch "debian-kde"
|
||||||
environment name: 'CHANGE_ID', value: ''
|
environment name: 'CHANGE_ID', value: ''
|
||||||
expression {
|
expression {
|
||||||
env.CONTAINER_NAME != null
|
env.CONTAINER_NAME != null
|
||||||
@ -303,24 +302,24 @@ pipeline {
|
|||||||
TEMPDIR=$(mktemp -d)
|
TEMPDIR=$(mktemp -d)
|
||||||
docker pull ghcr.io/linuxserver/jenkins-builder:latest
|
docker pull ghcr.io/linuxserver/jenkins-builder:latest
|
||||||
# Cloned repo paths for templating:
|
# Cloned repo paths for templating:
|
||||||
# ${TEMPDIR}/docker-${CONTAINER_NAME}: Cloned branch master of ${LS_USER}/${LS_REPO} for running the jenkins builder on
|
# ${TEMPDIR}/docker-${CONTAINER_NAME}: Cloned branch debian-kde of ${LS_USER}/${LS_REPO} for running the jenkins builder on
|
||||||
# ${TEMPDIR}/repo/${LS_REPO}: Cloned branch master of ${LS_USER}/${LS_REPO} for commiting various templated file changes and pushing back to Github
|
# ${TEMPDIR}/repo/${LS_REPO}: Cloned branch debian-kde of ${LS_USER}/${LS_REPO} for commiting various templated file changes and pushing back to Github
|
||||||
# ${TEMPDIR}/docs/docker-documentation: Cloned docs repo for pushing docs updates to Github
|
# ${TEMPDIR}/docs/docker-documentation: Cloned docs repo for pushing docs updates to Github
|
||||||
# ${TEMPDIR}/unraid/docker-templates: Cloned docker-templates repo to check for logos
|
# ${TEMPDIR}/unraid/docker-templates: Cloned docker-templates repo to check for logos
|
||||||
# ${TEMPDIR}/unraid/templates: Cloned templates repo for commiting unraid template changes and pushing back to Github
|
# ${TEMPDIR}/unraid/templates: Cloned templates repo for commiting unraid template changes and pushing back to Github
|
||||||
git clone --branch master --depth 1 https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/docker-${CONTAINER_NAME}
|
git clone --branch debian-kde --depth 1 https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/docker-${CONTAINER_NAME}
|
||||||
docker run --rm -v ${TEMPDIR}/docker-${CONTAINER_NAME}:/tmp -e LOCAL=true -e PUID=$(id -u) -e PGID=$(id -g) ghcr.io/linuxserver/jenkins-builder:latest
|
docker run --rm -v ${TEMPDIR}/docker-${CONTAINER_NAME}:/tmp -e LOCAL=true -e PUID=$(id -u) -e PGID=$(id -g) ghcr.io/linuxserver/jenkins-builder:latest
|
||||||
echo "Starting Stage 1 - Jenkinsfile update"
|
echo "Starting Stage 1 - Jenkinsfile update"
|
||||||
if [[ "$(md5sum Jenkinsfile | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile | awk '{ print $1 }')" ]]; then
|
if [[ "$(md5sum Jenkinsfile | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile | awk '{ print $1 }')" ]]; then
|
||||||
mkdir -p ${TEMPDIR}/repo
|
mkdir -p ${TEMPDIR}/repo
|
||||||
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
|
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
|
||||||
cd ${TEMPDIR}/repo/${LS_REPO}
|
cd ${TEMPDIR}/repo/${LS_REPO}
|
||||||
git checkout -f master
|
git checkout -f debian-kde
|
||||||
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile ${TEMPDIR}/repo/${LS_REPO}/
|
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile ${TEMPDIR}/repo/${LS_REPO}/
|
||||||
git add Jenkinsfile
|
git add Jenkinsfile
|
||||||
git commit -m 'Bot Updating Templated Files'
|
git commit -m 'Bot Updating Templated Files'
|
||||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git debian-kde
|
||||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git debian-kde
|
||||||
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
|
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
|
||||||
echo "Updating Jenkinsfile and exiting build, new one will trigger based on commit"
|
echo "Updating Jenkinsfile and exiting build, new one will trigger based on commit"
|
||||||
rm -Rf ${TEMPDIR}
|
rm -Rf ${TEMPDIR}
|
||||||
@ -339,13 +338,13 @@ pipeline {
|
|||||||
mkdir -p ${TEMPDIR}/repo
|
mkdir -p ${TEMPDIR}/repo
|
||||||
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
|
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
|
||||||
cd ${TEMPDIR}/repo/${LS_REPO}
|
cd ${TEMPDIR}/repo/${LS_REPO}
|
||||||
git checkout -f master
|
git checkout -f debian-kde
|
||||||
for i in ${TEMPLATES_TO_DELETE}; do
|
for i in ${TEMPLATES_TO_DELETE}; do
|
||||||
git rm "${i}"
|
git rm "${i}"
|
||||||
done
|
done
|
||||||
git commit -m 'Bot Updating Templated Files'
|
git commit -m 'Bot Updating Templated Files'
|
||||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git debian-kde
|
||||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git debian-kde
|
||||||
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
|
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
|
||||||
echo "Deleting old/deprecated templates and exiting build, new one will trigger based on commit"
|
echo "Deleting old/deprecated templates and exiting build, new one will trigger based on commit"
|
||||||
rm -Rf ${TEMPDIR}
|
rm -Rf ${TEMPDIR}
|
||||||
@ -353,35 +352,6 @@ pipeline {
|
|||||||
else
|
else
|
||||||
echo "No templates to delete"
|
echo "No templates to delete"
|
||||||
fi
|
fi
|
||||||
echo "Starting Stage 2.5 - Update init diagram"
|
|
||||||
if ! grep -q 'init_diagram:' readme-vars.yml; then
|
|
||||||
echo "Adding the key 'init_diagram' to readme-vars.yml"
|
|
||||||
sed -i '\\|^#.*changelog.*$|d' readme-vars.yml
|
|
||||||
sed -i 's|^changelogs:|# init diagram\\ninit_diagram:\\n\\n# changelog\\nchangelogs:|' readme-vars.yml
|
|
||||||
fi
|
|
||||||
mkdir -p ${TEMPDIR}/d2
|
|
||||||
docker run --rm -v ${TEMPDIR}/d2:/output -e PUID=$(id -u) -e PGID=$(id -g) -e RAW="true" ghcr.io/linuxserver/d2-builder:latest ${CONTAINER_NAME}:latest
|
|
||||||
ls -al ${TEMPDIR}/d2
|
|
||||||
yq -ei ".init_diagram |= load_str(\\"${TEMPDIR}/d2/${CONTAINER_NAME}-latest.d2\\")" readme-vars.yml
|
|
||||||
if [[ $(md5sum readme-vars.yml | cut -c1-8) != $(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/readme-vars.yml | cut -c1-8) ]]; then
|
|
||||||
echo "'init_diagram' has been updated. Updating repo and exiting build, new one will trigger based on commit."
|
|
||||||
mkdir -p ${TEMPDIR}/repo
|
|
||||||
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
|
|
||||||
cd ${TEMPDIR}/repo/${LS_REPO}
|
|
||||||
git checkout -f master
|
|
||||||
cp ${WORKSPACE}/readme-vars.yml ${TEMPDIR}/repo/${LS_REPO}/readme-vars.yml
|
|
||||||
git add readme-vars.yml
|
|
||||||
git commit -m 'Bot Updating Templated Files'
|
|
||||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
|
||||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
|
||||||
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
|
|
||||||
echo "Updating templates and exiting build, new one will trigger based on commit"
|
|
||||||
rm -Rf ${TEMPDIR}
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "false" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
|
|
||||||
echo "Init diagram is unchanged"
|
|
||||||
fi
|
|
||||||
echo "Starting Stage 3 - Update templates"
|
echo "Starting Stage 3 - Update templates"
|
||||||
CURRENTHASH=$(grep -hs ^ ${TEMPLATED_FILES} | md5sum | cut -c1-8)
|
CURRENTHASH=$(grep -hs ^ ${TEMPLATED_FILES} | md5sum | cut -c1-8)
|
||||||
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
|
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
|
||||||
@ -390,7 +360,7 @@ pipeline {
|
|||||||
mkdir -p ${TEMPDIR}/repo
|
mkdir -p ${TEMPDIR}/repo
|
||||||
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
|
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
|
||||||
cd ${TEMPDIR}/repo/${LS_REPO}
|
cd ${TEMPDIR}/repo/${LS_REPO}
|
||||||
git checkout -f master
|
git checkout -f debian-kde
|
||||||
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
|
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
|
||||||
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
|
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
|
||||||
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
|
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
|
||||||
@ -403,8 +373,8 @@ pipeline {
|
|||||||
fi
|
fi
|
||||||
git add readme-vars.yml ${TEMPLATED_FILES}
|
git add readme-vars.yml ${TEMPLATED_FILES}
|
||||||
git commit -m 'Bot Updating Templated Files'
|
git commit -m 'Bot Updating Templated Files'
|
||||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git debian-kde
|
||||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git debian-kde
|
||||||
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
|
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
|
||||||
echo "Updating templates and exiting build, new one will trigger based on commit"
|
echo "Updating templates and exiting build, new one will trigger based on commit"
|
||||||
rm -Rf ${TEMPDIR}
|
rm -Rf ${TEMPDIR}
|
||||||
@ -432,40 +402,6 @@ pipeline {
|
|||||||
else
|
else
|
||||||
echo "Docs update not needed, skipping"
|
echo "Docs update not needed, skipping"
|
||||||
fi
|
fi
|
||||||
mkdir -p ${TEMPDIR}/unraid
|
|
||||||
git clone --depth=1 https://github.com/linuxserver/docker-templates.git ${TEMPDIR}/unraid/docker-templates
|
|
||||||
git clone --depth=1 https://github.com/linuxserver/templates.git ${TEMPDIR}/unraid/templates
|
|
||||||
if [[ -f ${TEMPDIR}/unraid/docker-templates/linuxserver.io/img/${CONTAINER_NAME}-logo.png ]]; then
|
|
||||||
sed -i "s|master/linuxserver.io/img/linuxserver-ls-logo.png|master/linuxserver.io/img/${CONTAINER_NAME}-logo.png|" ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml
|
|
||||||
elif [[ -f ${TEMPDIR}/unraid/docker-templates/linuxserver.io/img/${CONTAINER_NAME}-icon.png ]]; then
|
|
||||||
sed -i "s|master/linuxserver.io/img/linuxserver-ls-logo.png|master/linuxserver.io/img/${CONTAINER_NAME}-icon.png|" ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml
|
|
||||||
fi
|
|
||||||
if [[ "${BRANCH_NAME}" == "${GH_DEFAULT_BRANCH}" ]] && [[ (! -f ${TEMPDIR}/unraid/templates/unraid/${CONTAINER_NAME}.xml) || ("$(md5sum ${TEMPDIR}/unraid/templates/unraid/${CONTAINER_NAME}.xml | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml | awk '{ print $1 }')") ]]; then
|
|
||||||
echo "Updating Unraid template"
|
|
||||||
cd ${TEMPDIR}/unraid/templates/
|
|
||||||
GH_TEMPLATES_DEFAULT_BRANCH=$(git remote show origin | grep "HEAD branch:" | sed 's|.*HEAD branch: ||')
|
|
||||||
if grep -wq "^${CONTAINER_NAME}$" ${TEMPDIR}/unraid/templates/unraid/ignore.list && [[ -f ${TEMPDIR}/unraid/templates/unraid/deprecated/${CONTAINER_NAME}.xml ]]; then
|
|
||||||
echo "Image is on the ignore list, and already in the deprecation folder."
|
|
||||||
elif grep -wq "^${CONTAINER_NAME}$" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then
|
|
||||||
echo "Image is on the ignore list, marking Unraid template as deprecated"
|
|
||||||
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml ${TEMPDIR}/unraid/templates/unraid/
|
|
||||||
git add -u unraid/${CONTAINER_NAME}.xml
|
|
||||||
git mv unraid/${CONTAINER_NAME}.xml unraid/deprecated/${CONTAINER_NAME}.xml || :
|
|
||||||
git commit -m 'Bot Moving Deprecated Unraid Template' || :
|
|
||||||
else
|
|
||||||
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml ${TEMPDIR}/unraid/templates/unraid/
|
|
||||||
git add unraid/${CONTAINER_NAME}.xml
|
|
||||||
git commit -m 'Bot Updating Unraid Template'
|
|
||||||
fi
|
|
||||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/linuxserver/templates.git ${GH_TEMPLATES_DEFAULT_BRANCH} --rebase
|
|
||||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/linuxserver/templates.git ${GH_TEMPLATES_DEFAULT_BRANCH} || \
|
|
||||||
(MAXWAIT="10" && echo "Push to unraid templates failed, trying again in ${MAXWAIT} seconds" && \
|
|
||||||
sleep $((RANDOM % MAXWAIT)) && \
|
|
||||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/linuxserver/templates.git ${GH_TEMPLATES_DEFAULT_BRANCH} --rebase && \
|
|
||||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/linuxserver/templates.git ${GH_TEMPLATES_DEFAULT_BRANCH})
|
|
||||||
else
|
|
||||||
echo "No updates to Unraid template needed, skipping"
|
|
||||||
fi
|
|
||||||
if [[ "${BRANCH_NAME}" == "${GH_DEFAULT_BRANCH}" ]]; then
|
if [[ "${BRANCH_NAME}" == "${GH_DEFAULT_BRANCH}" ]]; then
|
||||||
if [[ $(cat ${TEMPDIR}/docker-${CONTAINER_NAME}/README.md | wc -m) -gt 25000 ]]; then
|
if [[ $(cat ${TEMPDIR}/docker-${CONTAINER_NAME}/README.md | wc -m) -gt 25000 ]]; then
|
||||||
echo "Readme is longer than 25,000 characters. Syncing the lite version to Docker Hub"
|
echo "Readme is longer than 25,000 characters. Syncing the lite version to Docker Hub"
|
||||||
@ -505,7 +441,7 @@ pipeline {
|
|||||||
// Exit the build if the Templated files were just updated
|
// Exit the build if the Templated files were just updated
|
||||||
stage('Template-exit') {
|
stage('Template-exit') {
|
||||||
when {
|
when {
|
||||||
branch "master"
|
branch "debian-kde"
|
||||||
environment name: 'CHANGE_ID', value: ''
|
environment name: 'CHANGE_ID', value: ''
|
||||||
environment name: 'FILES_UPDATED', value: 'true'
|
environment name: 'FILES_UPDATED', value: 'true'
|
||||||
expression {
|
expression {
|
||||||
@ -518,10 +454,10 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// If this is a master build check the S6 service file perms
|
// If this is a debian-kde build check the S6 service file perms
|
||||||
stage("Check S6 Service file Permissions"){
|
stage("Check S6 Service file Permissions"){
|
||||||
when {
|
when {
|
||||||
branch "master"
|
branch "debian-kde"
|
||||||
environment name: 'CHANGE_ID', value: ''
|
environment name: 'CHANGE_ID', value: ''
|
||||||
environment name: 'EXIT_STATUS', value: ''
|
environment name: 'EXIT_STATUS', value: ''
|
||||||
}
|
}
|
||||||
@ -588,7 +524,7 @@ pipeline {
|
|||||||
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
|
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
|
||||||
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
|
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
|
||||||
--label \"org.opencontainers.image.title=Webtop\" \
|
--label \"org.opencontainers.image.title=Webtop\" \
|
||||||
--label \"org.opencontainers.image.description=[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. \" \
|
--label \"org.opencontainers.image.description=webtop image by linuxserver.io\" \
|
||||||
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
|
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
|
||||||
--provenance=true --sbom=true --builder=container --load \
|
--provenance=true --sbom=true --builder=container --load \
|
||||||
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
|
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
|
||||||
@ -654,7 +590,7 @@ pipeline {
|
|||||||
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
|
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
|
||||||
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
|
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
|
||||||
--label \"org.opencontainers.image.title=Webtop\" \
|
--label \"org.opencontainers.image.title=Webtop\" \
|
||||||
--label \"org.opencontainers.image.description=[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. \" \
|
--label \"org.opencontainers.image.description=webtop image by linuxserver.io\" \
|
||||||
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
|
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
|
||||||
--provenance=true --sbom=true --builder=container --load \
|
--provenance=true --sbom=true --builder=container --load \
|
||||||
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
|
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
|
||||||
@ -713,7 +649,7 @@ pipeline {
|
|||||||
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
|
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
|
||||||
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
|
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
|
||||||
--label \"org.opencontainers.image.title=Webtop\" \
|
--label \"org.opencontainers.image.title=Webtop\" \
|
||||||
--label \"org.opencontainers.image.description=[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. \" \
|
--label \"org.opencontainers.image.description=webtop image by linuxserver.io\" \
|
||||||
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
|
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
|
||||||
--provenance=true --sbom=true --builder=container --load \
|
--provenance=true --sbom=true --builder=container --load \
|
||||||
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
|
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
|
||||||
@ -766,7 +702,7 @@ pipeline {
|
|||||||
// Take the image we just built and dump package versions for comparison
|
// Take the image we just built and dump package versions for comparison
|
||||||
stage('Update-packages') {
|
stage('Update-packages') {
|
||||||
when {
|
when {
|
||||||
branch "master"
|
branch "debian-kde"
|
||||||
environment name: 'CHANGE_ID', value: ''
|
environment name: 'CHANGE_ID', value: ''
|
||||||
environment name: 'EXIT_STATUS', value: ''
|
environment name: 'EXIT_STATUS', value: ''
|
||||||
}
|
}
|
||||||
@ -789,14 +725,14 @@ pipeline {
|
|||||||
echo "Package tag sha from current packages in buit container is ${NEW_PACKAGE_TAG} comparing to old ${PACKAGE_TAG} from github"
|
echo "Package tag sha from current packages in buit container is ${NEW_PACKAGE_TAG} comparing to old ${PACKAGE_TAG} from github"
|
||||||
if [ "${NEW_PACKAGE_TAG}" != "${PACKAGE_TAG}" ]; then
|
if [ "${NEW_PACKAGE_TAG}" != "${PACKAGE_TAG}" ]; then
|
||||||
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/${LS_REPO}
|
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/${LS_REPO}
|
||||||
git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f master
|
git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f debian-kde
|
||||||
cp ${TEMPDIR}/package_versions.txt ${TEMPDIR}/${LS_REPO}/
|
cp ${TEMPDIR}/package_versions.txt ${TEMPDIR}/${LS_REPO}/
|
||||||
cd ${TEMPDIR}/${LS_REPO}/
|
cd ${TEMPDIR}/${LS_REPO}/
|
||||||
wait
|
wait
|
||||||
git add package_versions.txt
|
git add package_versions.txt
|
||||||
git commit -m 'Bot Updating Package Versions'
|
git commit -m 'Bot Updating Package Versions'
|
||||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git debian-kde
|
||||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git debian-kde
|
||||||
echo "true" > /tmp/packages-${COMMIT_SHA}-${BUILD_NUMBER}
|
echo "true" > /tmp/packages-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||||
echo "Package tag updated, stopping build process"
|
echo "Package tag updated, stopping build process"
|
||||||
else
|
else
|
||||||
@ -814,7 +750,7 @@ pipeline {
|
|||||||
// Exit the build if the package file was just updated
|
// Exit the build if the package file was just updated
|
||||||
stage('PACKAGE-exit') {
|
stage('PACKAGE-exit') {
|
||||||
when {
|
when {
|
||||||
branch "master"
|
branch "debian-kde"
|
||||||
environment name: 'CHANGE_ID', value: ''
|
environment name: 'CHANGE_ID', value: ''
|
||||||
environment name: 'PACKAGE_UPDATED', value: 'true'
|
environment name: 'PACKAGE_UPDATED', value: 'true'
|
||||||
environment name: 'EXIT_STATUS', value: ''
|
environment name: 'EXIT_STATUS', value: ''
|
||||||
@ -828,7 +764,7 @@ pipeline {
|
|||||||
// Exit the build if this is just a package check and there are no changes to push
|
// Exit the build if this is just a package check and there are no changes to push
|
||||||
stage('PACKAGECHECK-exit') {
|
stage('PACKAGECHECK-exit') {
|
||||||
when {
|
when {
|
||||||
branch "master"
|
branch "debian-kde"
|
||||||
environment name: 'CHANGE_ID', value: ''
|
environment name: 'CHANGE_ID', value: ''
|
||||||
environment name: 'PACKAGE_UPDATED', value: 'false'
|
environment name: 'PACKAGE_UPDATED', value: 'false'
|
||||||
environment name: 'EXIT_STATUS', value: ''
|
environment name: 'EXIT_STATUS', value: ''
|
||||||
@ -879,11 +815,10 @@ pipeline {
|
|||||||
--shm-size=1gb \
|
--shm-size=1gb \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
-e IMAGE=\"${IMAGE}\" \
|
-e IMAGE=\"${IMAGE}\" \
|
||||||
-e WEB_SCREENSHOT_DELAY=\"${CI_WEB_SCREENSHOT_DELAY}\" \
|
|
||||||
-e DOCKER_LOGS_TIMEOUT=\"${CI_DELAY}\" \
|
-e DOCKER_LOGS_TIMEOUT=\"${CI_DELAY}\" \
|
||||||
-e TAGS=\"${CI_TAGS}\" \
|
-e TAGS=\"${CI_TAGS}\" \
|
||||||
-e META_TAG=\"${META_TAG}\" \
|
-e META_TAG=\"${META_TAG}\" \
|
||||||
-e RELEASE_TAG=\"latest\" \
|
-e RELEASE_TAG=\"debian-kde\" \
|
||||||
-e PORT=\"${CI_PORT}\" \
|
-e PORT=\"${CI_PORT}\" \
|
||||||
-e SSL=\"${CI_SSL}\" \
|
-e SSL=\"${CI_SSL}\" \
|
||||||
-e BASE=\"${DIST_IMAGE}\" \
|
-e BASE=\"${DIST_IMAGE}\" \
|
||||||
@ -921,7 +856,7 @@ pipeline {
|
|||||||
CACHEIMAGE=${i}
|
CACHEIMAGE=${i}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${META_TAG} -t ${PUSHIMAGE}:latest -t ${PUSHIMAGE}:${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${META_TAG} -t ${PUSHIMAGE}:debian-kde -t ${PUSHIMAGE}:${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||||
if [ -n "${SEMVER}" ]; then
|
if [ -n "${SEMVER}" ]; then
|
||||||
docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${SEMVER} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${SEMVER} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||||
fi
|
fi
|
||||||
@ -948,15 +883,15 @@ pipeline {
|
|||||||
CACHEIMAGE=${i}
|
CACHEIMAGE=${i}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:amd64-${META_TAG} -t ${MANIFESTIMAGE}:amd64-latest -t ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:amd64-${META_TAG} -t ${MANIFESTIMAGE}:amd64-debian-kde -t ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||||
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:arm64v8-${META_TAG} -t ${MANIFESTIMAGE}:arm64v8-latest -t ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG} ${CACHEIMAGE}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
|
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:arm64v8-${META_TAG} -t ${MANIFESTIMAGE}:arm64v8-debian-kde -t ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG} ${CACHEIMAGE}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||||
if [ -n "${SEMVER}" ]; then
|
if [ -n "${SEMVER}" ]; then
|
||||||
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:amd64-${SEMVER} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:amd64-${SEMVER} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||||
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:arm64v8-${SEMVER} ${CACHEIMAGE}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
|
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:arm64v8-${SEMVER} ${CACHEIMAGE}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}" "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
|
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}" "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
|
||||||
docker buildx imagetools create -t ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:amd64-latest ${MANIFESTIMAGE}:arm64v8-latest
|
docker buildx imagetools create -t ${MANIFESTIMAGE}:debian-kde ${MANIFESTIMAGE}:amd64-debian-kde ${MANIFESTIMAGE}:arm64v8-debian-kde
|
||||||
docker buildx imagetools create -t ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
docker buildx imagetools create -t ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
||||||
|
|
||||||
docker buildx imagetools create -t ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
docker buildx imagetools create -t ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
||||||
@ -971,7 +906,7 @@ pipeline {
|
|||||||
// If this is a public release tag it in the LS Github
|
// If this is a public release tag it in the LS Github
|
||||||
stage('Github-Tag-Push-Release') {
|
stage('Github-Tag-Push-Release') {
|
||||||
when {
|
when {
|
||||||
branch "master"
|
branch "debian-kde"
|
||||||
expression {
|
expression {
|
||||||
env.LS_RELEASE != env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
env.LS_RELEASE != env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||||
}
|
}
|
||||||
@ -983,17 +918,17 @@ pipeline {
|
|||||||
sh '''curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/git/tags \
|
sh '''curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/git/tags \
|
||||||
-d '{"tag":"'${META_TAG}'",\
|
-d '{"tag":"'${META_TAG}'",\
|
||||||
"object": "'${COMMIT_SHA}'",\
|
"object": "'${COMMIT_SHA}'",\
|
||||||
"message": "Tagging Release '${EXT_RELEASE_CLEAN}'-ls'${LS_TAG_NUMBER}' to master",\
|
"message": "Tagging Release '${EXT_RELEASE_CLEAN}'-ls'${LS_TAG_NUMBER}' to debian-kde",\
|
||||||
"type": "commit",\
|
"type": "commit",\
|
||||||
"tagger": {"name": "LinuxServer-CI","email": "ci@linuxserver.io","date": "'${GITHUB_DATE}'"}}' '''
|
"tagger": {"name": "LinuxServer-CI","email": "ci@linuxserver.io","date": "'${GITHUB_DATE}'"}}' '''
|
||||||
echo "Pushing New release for Tag"
|
echo "Pushing New release for Tag"
|
||||||
sh '''#! /bin/bash
|
sh '''#! /bin/bash
|
||||||
echo "Updating base packages to ${PACKAGE_TAG}" > releasebody.json
|
echo "Updating base packages to ${PACKAGE_TAG}" > releasebody.json
|
||||||
echo '{"tag_name":"'${META_TAG}'",\
|
echo '{"tag_name":"'${META_TAG}'",\
|
||||||
"target_commitish": "master",\
|
"target_commitish": "debian-kde",\
|
||||||
"name": "'${META_TAG}'",\
|
"name": "'${META_TAG}'",\
|
||||||
"body": "**CI Report:**\\n\\n'${CI_URL:-N/A}'\\n\\n**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**Remote Changes:**\\n\\n' > start
|
"body": "**CI Report:**\\n\\n'${CI_URL:-N/A}'\\n\\n**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**Remote Changes:**\\n\\n' > start
|
||||||
printf '","draft": false,"prerelease": false}' >> releasebody.json
|
printf '","draft": false,"prerelease": true}' >> releasebody.json
|
||||||
paste -d'\\0' start releasebody.json > releasebody.json.done
|
paste -d'\\0' start releasebody.json > releasebody.json.done
|
||||||
curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/releases -d @releasebody.json.done'''
|
curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/releases -d @releasebody.json.done'''
|
||||||
}
|
}
|
||||||
@ -1001,14 +936,14 @@ pipeline {
|
|||||||
// Add protection to the release branch
|
// Add protection to the release branch
|
||||||
stage('Github-Release-Branch-Protection') {
|
stage('Github-Release-Branch-Protection') {
|
||||||
when {
|
when {
|
||||||
branch "master"
|
branch "debian-kde"
|
||||||
environment name: 'CHANGE_ID', value: ''
|
environment name: 'CHANGE_ID', value: ''
|
||||||
environment name: 'EXIT_STATUS', value: ''
|
environment name: 'EXIT_STATUS', value: ''
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
echo "Setting up protection for release branch master"
|
echo "Setting up protection for release branch debian-kde"
|
||||||
sh '''#! /bin/bash
|
sh '''#! /bin/bash
|
||||||
curl -H "Authorization: token ${GITHUB_TOKEN}" -X PUT https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/master/protection \
|
curl -H "Authorization: token ${GITHUB_TOKEN}" -X PUT https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/debian-kde/protection \
|
||||||
-d $(jq -c . << EOF
|
-d $(jq -c . << EOF
|
||||||
{
|
{
|
||||||
"required_status_checks": null,
|
"required_status_checks": null,
|
||||||
|
492
README.md
492
README.md
@ -1,491 +1,3 @@
|
|||||||
<!-- DO NOT EDIT THIS FILE MANUALLY -->
|
<!-- DO NOT EDIT THIS FILE MANUALLY -->
|
||||||
<!-- Please read https://github.com/linuxserver/docker-webtop/blob/master/.github/CONTRIBUTING.md -->
|
<!-- Please read https://github.com/linuxserver/docker-webtop/blob/debian-kde/.github/CONTRIBUTING.md -->
|
||||||
[](https://linuxserver.io)
|
Up to date documentation is available [here](https://github.com/linuxserver/docker-webtop/blob/master/README.md).
|
||||||
|
|
||||||
[](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!")
|
|
||||||
[](https://linuxserver.io/discord "realtime support / chat with the community and the team.")
|
|
||||||
[](https://discourse.linuxserver.io "post on our community forum.")
|
|
||||||
[](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")
|
|
||||||
|
|
||||||
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:
|
|
||||||
|
|
||||||
* regular and timely application updates
|
|
||||||
* easy user mappings (PGID, PUID)
|
|
||||||
* custom base image with s6 overlay
|
|
||||||
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
|
|
||||||
* regular security updates
|
|
||||||
|
|
||||||
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://linuxserver.io/discord) - realtime support / chat with the community and the team.
|
|
||||||
* [Discourse](https://discourse.linuxserver.io) - post on our community forum.
|
|
||||||
* [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/master/)
|
|
||||||
[](https://ci-tests.linuxserver.io/linuxserver/webtop/latest/index.html)
|
|
||||||
|
|
||||||
[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
|
|
||||||
|
|
||||||
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 `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 | Available | Tag |
|
|
||||||
| :----: | :----: | ---- |
|
|
||||||
| x86-64 | ✅ | amd64-\<version tag\> |
|
|
||||||
| arm64 | ✅ | arm64v8-\<version tag\> |
|
|
||||||
|
|
||||||
## Version Tags
|
|
||||||
|
|
||||||
This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.
|
|
||||||
|
|
||||||
| Tag | Available | Description |
|
|
||||||
| :----: | :----: |--- |
|
|
||||||
| latest | ✅ | XFCE Alpine |
|
|
||||||
| alpine-i3 | ✅ | i3 Alpine |
|
|
||||||
| 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 application can be accessed at:
|
|
||||||
|
|
||||||
* https://yourhost:3001/
|
|
||||||
|
|
||||||
### Strict reverse proxies
|
|
||||||
|
|
||||||
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).
|
|
||||||
|
|
||||||
**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.**
|
|
||||||
|
|
||||||
### Security
|
|
||||||
|
|
||||||
>[!WARNING]
|
|
||||||
>This container provides privileged access to the host system. Do not expose it to the Internet unless you have secured it properly.
|
|
||||||
|
|
||||||
**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.
|
|
||||||
|
|
||||||
### Options in all Selkies-based GUI containers
|
|
||||||
|
|
||||||
This container is based on [Docker Baseimage Selkies](https://github.com/linuxserver/docker-baseimage-selkies), which provides the following environment variables and run configurations to customize its functionality.
|
|
||||||
|
|
||||||
#### Optional Environment Variables
|
|
||||||
|
|
||||||
| Variable | Description |
|
|
||||||
| :----: | --- |
|
|
||||||
| `CUSTOM_PORT` | Internal HTTP port. Defaults to `3000`. |
|
|
||||||
| `CUSTOM_HTTPS_PORT` | Internal HTTPS port. Defaults to `3001`. |
|
|
||||||
| `CUSTOM_WS_PORT` | Internal port the container listens on for websockets if it needs to be swapped from the default 8082. |
|
|
||||||
| `CUSTOM_USER` | Username for HTTP Basic Auth. Defaults to `abc`. |
|
|
||||||
| `PASSWORD` | Password for HTTP Basic Auth. If unset, authentication is disabled. |
|
|
||||||
| `SUBFOLDER` | Application subfolder for reverse proxy configurations. Must include leading and trailing slashes, e.g., `/subfolder/`. |
|
|
||||||
| `TITLE` | Page title displayed in the web browser. Defaults to "Selkies". |
|
|
||||||
| `START_DOCKER` | If set to `false`, the privileged Docker-in-Docker setup will not start automatically. |
|
|
||||||
| `DISABLE_IPV6` | Set to `true` to disable IPv6 support in the container. |
|
|
||||||
| `LC_ALL` | Sets the container's locale, e.g., `fr_FR.UTF-8`. |
|
|
||||||
| `DRINODE` | If mounting in /dev/dri for DRI3 GPU Acceleration allows you to specify the device to use IE `/dev/dri/renderD128` |
|
|
||||||
| `NO_DECOR` | If set, applications will run without window borders, suitable for PWA usage. |
|
|
||||||
| `NO_FULL` | If set, applications will not be automatically fullscreened. |
|
|
||||||
| `DISABLE_ZINK` | If set, Zink-related environment variables will not be configured when a video card is detected. |
|
|
||||||
| `WATERMARK_PNG` | Full path to a watermark PNG file inside the container, e.g., `/usr/share/selkies/www/icon.png`. |
|
|
||||||
| `WATERMARK_LOCATION` | Integer specifying the watermark location: `1` (Top Left), `2` (Top Right), `3` (Bottom Left), `4` (Bottom Right), `5` (Centered), `6` (Animated). |
|
|
||||||
|
|
||||||
#### Optional Run Configurations
|
|
||||||
|
|
||||||
| 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. Only **Open Source** drivers are supported IE (Intel,AMDGPU,Radeon,ATI,Nouveau) |
|
|
||||||
|
|
||||||
### 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
|
|
||||||
|
|
||||||
### DRI3 GPU Acceleration
|
|
||||||
|
|
||||||
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
|
|
||||||
|
|
||||||
`--device /dev/dri:/dev/dri`
|
|
||||||
|
|
||||||
This feature only supports **Open Source** GPU drivers:
|
|
||||||
|
|
||||||
| Driver | Description |
|
|
||||||
| :----: | --- |
|
|
||||||
| Intel | i965 and i915 drivers for Intel iGPU chipsets |
|
|
||||||
| AMD | AMDGPU, Radeon, and ATI drivers for AMD dedicated or APU chipsets |
|
|
||||||
| NVIDIA | nouveau2 drivers only, closed source NVIDIA drivers lack DRI3 support |
|
|
||||||
|
|
||||||
The `DRINODE` environment variable can be used to point to a specific GPU.
|
|
||||||
|
|
||||||
DRI3 will work on aarch64 given the correct drivers are installed inside the container for your chipset.
|
|
||||||
|
|
||||||
### Nvidia GPU Support
|
|
||||||
|
|
||||||
**Note: Nvidia support is not available for Alpine-based images.**
|
|
||||||
|
|
||||||
Nvidia GPU support is available by leveraging Zink for OpenGL. When a compatible Nvidia GPU is passed through, it will also be **automatically utilized for hardware-accelerated video stream encoding** (using the `x264enc` full-frame profile), significantly reducing CPU load.
|
|
||||||
|
|
||||||
Enable Nvidia support with the following runtime flags:
|
|
||||||
|
|
||||||
| Flag | Description |
|
|
||||||
| :----: | --- |
|
|
||||||
| `--gpus all` | Passes all available host GPUs to the container. This can be filtered to specific GPUs. |
|
|
||||||
| `--runtime nvidia` | Specifies the Nvidia runtime, which provides the necessary drivers and tools from the host. |
|
|
||||||
|
|
||||||
For Docker Compose, you must first configure the Nvidia runtime as the default on the host:
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo nvidia-ctk runtime configure --runtime=docker --set-as-default
|
|
||||||
sudo systemctl restart docker
|
|
||||||
```
|
|
||||||
|
|
||||||
Then, assign the GPU to the service in your `compose.yaml`:
|
|
||||||
|
|
||||||
```
|
|
||||||
services:
|
|
||||||
webtop:
|
|
||||||
image: lscr.io/linuxserver/webtop:latest
|
|
||||||
deploy:
|
|
||||||
resources:
|
|
||||||
reservations:
|
|
||||||
devices:
|
|
||||||
- driver: nvidia
|
|
||||||
count: 1
|
|
||||||
capabilities: [compute,video,graphics,utility]
|
|
||||||
```
|
|
||||||
|
|
||||||
### 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:
|
|
||||||
|
|
||||||
```
|
|
||||||
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
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
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 flaged 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
|
|
||||||
---
|
|
||||||
services:
|
|
||||||
webtop:
|
|
||||||
image: lscr.io/linuxserver/webtop:latest
|
|
||||||
container_name: webtop
|
|
||||||
security_opt:
|
|
||||||
- seccomp:unconfined #optional
|
|
||||||
environment:
|
|
||||||
- PUID=1000
|
|
||||||
- PGID=1000
|
|
||||||
- TZ=Etc/UTC
|
|
||||||
- SUBFOLDER=/ #optional
|
|
||||||
- TITLE=Webtop #optional
|
|
||||||
volumes:
|
|
||||||
- /path/to/data:/config
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock #optional
|
|
||||||
ports:
|
|
||||||
- 3000:3000
|
|
||||||
- 3001:3001
|
|
||||||
shm_size: "1gb" #optional
|
|
||||||
restart: unless-stopped
|
|
||||||
```
|
|
||||||
|
|
||||||
### docker cli ([click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker run -d \
|
|
||||||
--name=webtop \
|
|
||||||
--security-opt seccomp=unconfined `#optional` \
|
|
||||||
-e PUID=1000 \
|
|
||||||
-e PGID=1000 \
|
|
||||||
-e TZ=Etc/UTC \
|
|
||||||
-e SUBFOLDER=/ `#optional` \
|
|
||||||
-e TITLE=Webtop `#optional` \
|
|
||||||
-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` \
|
|
||||||
--restart unless-stopped \
|
|
||||||
lscr.io/linuxserver/webtop:latest
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
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: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=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
|
|
||||||
| `-e SUBFOLDER=/` | Specify a subfolder to use with reverse proxies, IE `/subfolder/` |
|
|
||||||
| `-e TITLE=Webtop` | String which will be used as page/tab title in the web browser. |
|
|
||||||
| `-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 |
|
|
||||||
| `--security-opt seccomp=unconfined` | For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker. |
|
|
||||||
|
|
||||||
## Environment variables from files (Docker secrets)
|
|
||||||
|
|
||||||
You can set any environment variable from a file by using a special prepend `FILE__`.
|
|
||||||
|
|
||||||
As an example:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
-e FILE__MYVAR=/run/secrets/mysecretvariable
|
|
||||||
```
|
|
||||||
|
|
||||||
Will set the environment variable `MYVAR` based on the contents of the `/run/secrets/mysecretvariable` file.
|
|
||||||
|
|
||||||
## Umask for running applications
|
|
||||||
|
|
||||||
For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional `-e UMASK=022` setting.
|
|
||||||
Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up [here](https://en.wikipedia.org/wiki/Umask) before asking for support.
|
|
||||||
|
|
||||||
## 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`.
|
|
||||||
|
|
||||||
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 your_user` as below:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
id your_user
|
|
||||||
```
|
|
||||||
|
|
||||||
Example output:
|
|
||||||
|
|
||||||
```text
|
|
||||||
uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)
|
|
||||||
```
|
|
||||||
|
|
||||||
## Docker Mods
|
|
||||||
|
|
||||||
[](https://mods.linuxserver.io/?mod=webtop "view available mods for this container.") [](https://mods.linuxserver.io/?mod=universal "view available universal mods.")
|
|
||||||
|
|
||||||
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
|
|
||||||
|
|
||||||
## Support Info
|
|
||||||
|
|
||||||
* 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 (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 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:
|
|
||||||
|
|
||||||
```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:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker image prune
|
|
||||||
```
|
|
||||||
|
|
||||||
### Image Update Notifications - Diun (Docker Image Update Notifier)
|
|
||||||
|
|
||||||
>[!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
|
|
||||||
|
|
||||||
If you want to make local modifications to these images for development purposes or just to customize the logic:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/linuxserver/docker-webtop.git
|
|
||||||
cd docker-webtop
|
|
||||||
docker build \
|
|
||||||
--no-cache \
|
|
||||||
--pull \
|
|
||||||
-t lscr.io/linuxserver/webtop:latest .
|
|
||||||
```
|
|
||||||
|
|
||||||
The ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset
|
|
||||||
```
|
|
||||||
|
|
||||||
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
|
|
||||||
|
|
||||||
## Versions
|
|
||||||
|
|
||||||
* **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,26 +3,25 @@
|
|||||||
# jenkins variables
|
# jenkins variables
|
||||||
project_name: docker-webtop
|
project_name: docker-webtop
|
||||||
external_type: os
|
external_type: os
|
||||||
release_type: stable
|
release_type: prerelease
|
||||||
release_tag: latest
|
release_tag: debian-kde
|
||||||
ls_branch: master
|
ls_branch: debian-kde
|
||||||
build_armhf: false
|
build_armhf: false
|
||||||
repo_vars:
|
repo_vars:
|
||||||
- BUILD_VERSION_ARG = 'XFCE_VERSION'
|
- BUILD_VERSION_ARG = 'OS_VERSION'
|
||||||
- LS_USER = 'linuxserver'
|
- LS_USER = 'linuxserver'
|
||||||
- LS_REPO = 'docker-webtop'
|
- LS_REPO = 'docker-webtop'
|
||||||
- CONTAINER_NAME = 'webtop'
|
- CONTAINER_NAME = 'webtop'
|
||||||
- DOCKERHUB_IMAGE = 'linuxserver/webtop'
|
- DOCKERHUB_IMAGE = 'linuxserver/webtop'
|
||||||
- DEV_DOCKERHUB_IMAGE = 'lsiodev/webtop'
|
- DEV_DOCKERHUB_IMAGE = 'lsiodev/webtop'
|
||||||
- PR_DOCKERHUB_IMAGE = 'lspipepr/webtop'
|
- PR_DOCKERHUB_IMAGE = 'lspipepr/webtop'
|
||||||
- DIST_IMAGE = 'alpine'
|
- DIST_IMAGE = 'ubuntu'
|
||||||
- MULTIARCH = 'true'
|
- MULTIARCH='true'
|
||||||
- CI = 'true'
|
- CI='true'
|
||||||
- CI_WEB = 'true'
|
- CI_WEB='true'
|
||||||
- CI_PORT = '3001'
|
- CI_PORT='3001'
|
||||||
- CI_SSL = 'true'
|
- CI_SSL='true'
|
||||||
- CI_DELAY = '60'
|
- CI_DELAY='120'
|
||||||
- CI_WEB_SCREENSHOT_DELAY = '10'
|
- CI_DOCKERENV='TZ=US/Pacific'
|
||||||
- CI_DOCKERENV = 'TZ=US/Pacific'
|
- CI_AUTH='user:password'
|
||||||
- CI_AUTH = 'user:password'
|
- CI_WEBPATH=''
|
||||||
- CI_WEBPATH = ''
|
|
||||||
|
2819
package_versions.txt
2819
package_versions.txt
File diff suppressed because it is too large
Load Diff
161
readme-vars.yml
161
readme-vars.yml
@ -2,160 +2,7 @@
|
|||||||
|
|
||||||
# project information
|
# project information
|
||||||
project_name: webtop
|
project_name: webtop
|
||||||
project_url: "https://github.com/linuxserver/docker-webtop"
|
full_custom_readme: |
|
||||||
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png"
|
{% raw -%}
|
||||||
project_blurb: |
|
Up to date documentation is available [here](https://github.com/linuxserver/docker-webtop/blob/master/README.md).
|
||||||
[{{ 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.
|
{%- endraw %}
|
||||||
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"}
|
|
||||||
# development version
|
|
||||||
development_versions: true
|
|
||||||
development_versions_items:
|
|
||||||
- {tag: "latest", desc: "XFCE Alpine"}
|
|
||||||
- {tag: "alpine-i3", desc: "i3 Alpine"}
|
|
||||||
- {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
|
|
||||||
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"}
|
|
||||||
param_usage_include_ports: true
|
|
||||||
param_ports:
|
|
||||||
- {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"}
|
|
||||||
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_env: true
|
|
||||||
opt_param_env_vars:
|
|
||||||
- {env_var: "SUBFOLDER", env_value: "/", desc: "Specify a subfolder to use with reverse proxies, IE `/subfolder/`"}
|
|
||||||
- {env_var: "TITLE", env_value: "Webtop", desc: "String which will be used as page/tab title in the web browser."}
|
|
||||||
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"}
|
|
||||||
opt_security_opt_param: true
|
|
||||||
opt_security_opt_param_vars:
|
|
||||||
- {run_var: "seccomp=unconfined", compose_var: "seccomp:unconfined", desc: "For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker."}
|
|
||||||
# Selkies blurb settings
|
|
||||||
selkies_blurb: true
|
|
||||||
show_nvidia: true
|
|
||||||
# application setup block
|
|
||||||
app_setup_block_enabled: true
|
|
||||||
app_setup_block: |
|
|
||||||
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-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:alpine322" <- "baseimage-alpine:3.22"
|
|
||||||
}
|
|
||||||
"webtop:latest" <- Base Images
|
|
||||||
# changelog
|
|
||||||
changelogs:
|
|
||||||
- {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
root/defaults/autostart
Normal file
1
root/defaults/autostart
Normal file
@ -0,0 +1 @@
|
|||||||
|
exit 0
|
@ -1,10 +1,53 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Default settings
|
# Disable compositing and screen locking
|
||||||
if [ ! -d "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml ]; then
|
if [ ! -f $HOME/.config/kwinrc ]; then
|
||||||
mkdir -p "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml
|
kwriteconfig6 --file $HOME/.config/kwinrc --group Compositing --key Enabled false
|
||||||
cp /defaults/xfce/* "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/
|
fi
|
||||||
|
if [ ! -f $HOME/.config/kscreenlockerrc ]; then
|
||||||
|
kwriteconfig6 --file $HOME/.config/kscreenlockerrc --group Daemon --key Autolock false
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Power related
|
||||||
|
setterm blank 0
|
||||||
|
setterm powerdown 0
|
||||||
|
|
||||||
|
# Direcotries
|
||||||
|
sudo rm -f /usr/share/dbus-1/system-services/org.freedesktop.UDisks2.service
|
||||||
|
mkdir -p "${HOME}/.config/autostart" "${HOME}/.XDG" "${HOME}/.local/share/"
|
||||||
|
chmod 700 "${HOME}/.XDG"
|
||||||
|
touch "${HOME}/.local/share/user-places.xbel"
|
||||||
|
|
||||||
|
# Background perm loop
|
||||||
|
if [ ! -d $HOME/.config/kde.org ]; then
|
||||||
|
(
|
||||||
|
loop_end_time=$((SECONDS + 30))
|
||||||
|
while [ $SECONDS -lt $loop_end_time ]; do
|
||||||
|
find "$HOME/.cache" "$HOME/.config" "$HOME/.local" -type f -perm 000 -exec chmod 644 {} + 2>/dev/null
|
||||||
|
sleep .1
|
||||||
|
done
|
||||||
|
) &
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Create startup script if it does not exist (keep in sync with openbox)
|
||||||
|
STARTUP_FILE="${HOME}/.config/autostart/autostart.desktop"
|
||||||
|
if [ ! -f "${STARTUP_FILE}" ]; then
|
||||||
|
echo "[Desktop Entry]" > $STARTUP_FILE
|
||||||
|
echo "Exec=bash /config/.config/openbox/autostart" >> $STARTUP_FILE
|
||||||
|
echo "Icon=dialog-scripts" >> $STARTUP_FILE
|
||||||
|
echo "Name=autostart" >> $STARTUP_FILE
|
||||||
|
echo "Path=" >> $STARTUP_FILE
|
||||||
|
echo "Type=Application" >> $STARTUP_FILE
|
||||||
|
echo "X-KDE-AutostartScript=true" >> $STARTUP_FILE
|
||||||
|
chmod +x $STARTUP_FILE
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Enable Nvidia GPU support if detected
|
||||||
|
if which nvidia-smi > /dev/null 2>&1 && ls -A /dev/dri 2>/dev/null && [ "${DISABLE_ZINK}" == "false" ]; then
|
||||||
|
export LIBGL_KOPPER_DRI2=1
|
||||||
|
export MESA_LOADER_DRIVER_OVERRIDE=zink
|
||||||
|
export GALLIUM_DRIVER=zink
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Start DE
|
# Start DE
|
||||||
exec dbus-launch --exit-with-session /usr/bin/xfce4-session > /dev/null 2>&1
|
exec dbus-launch --exit-with-session /usr/bin/startplasma-x11 > /dev/null 2>&1
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
<?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>
|
|
@ -1,53 +0,0 @@
|
|||||||
<?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>
|
|
@ -1,91 +0,0 @@
|
|||||||
<?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>
|
|
@ -1,42 +0,0 @@
|
|||||||
<?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,18 +0,0 @@
|
|||||||
#! /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
|
|
@ -1,18 +0,0 @@
|
|||||||
#! /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
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
unset LD_PRELOAD
|
|
||||||
thunar-real "$@"
|
|
15
root/usr/local/bin/wrapped-chromium
Executable file
15
root/usr/local/bin/wrapped-chromium
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
BIN=/usr/bin/chromium
|
||||||
|
|
||||||
|
# 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} --password-store=basic "$@"
|
||||||
|
else
|
||||||
|
${BIN} --password-store=basic --no-sandbox --test-type "$@"
|
||||||
|
fi
|
Loading…
x
Reference in New Issue
Block a user