Compare commits

...

101 Commits

Author SHA1 Message Date
LinuxServer-CI
a158236ef6 Bot Updating Package Versions 2021-09-11 17:26:46 +02:00
LinuxServer-CI
7f4dfda68a Bot Updating Package Versions 2021-09-04 17:27:34 +02:00
LinuxServer-CI
20d701e1af Bot Updating Package Versions 2021-08-28 15:31:10 +00:00
LinuxServer-CI
9afccd1afe Bot Updating Templated Files 2021-08-28 17:24:31 +02:00
LinuxServer-CI
51a0b81502 Bot Updating Package Versions 2021-08-21 15:31:29 +00:00
LinuxServer-CI
8dcd9e590c Bot Updating Package Versions 2021-08-14 17:28:59 +02:00
LinuxServer-CI
4ca81146f9 Bot Updating Package Versions 2021-08-07 15:34:01 +00:00
LinuxServer-CI
a13cccf2d7 Bot Updating Package Versions 2021-07-31 17:31:34 +02:00
LinuxServer-CI
7f31f2718f Bot Updating Package Versions 2021-07-24 15:33:18 +00:00
LinuxServer-CI
b2c49b69c7 Bot Updating Package Versions 2021-07-17 15:34:00 +00:00
LinuxServer-CI
be85bc3780 Bot Updating Package Versions 2021-07-10 15:32:29 +00:00
LinuxServer-CI
314b49500c Bot Updating Package Versions 2021-07-03 15:37:03 +00:00
LinuxServer-CI
874b951795 Bot Updating Templated Files 2021-07-03 15:29:31 +00:00
LinuxServer-CI
b6bb5789e1 Bot Updating Templated Files 2021-07-03 15:26:12 +00:00
LinuxServer-CI
f6590a10e9 Bot Updating Package Versions 2021-06-26 15:28:55 +00:00
LinuxServer-CI
93cbdadc61 Bot Updating Package Versions 2021-06-19 15:40:17 +00:00
LinuxServer-CI
826b3c8b86 Bot Updating Package Versions 2021-06-12 15:35:55 +00:00
LinuxServer-CI
facc3a0d6f Bot Updating Package Versions 2021-06-05 15:45:51 +00:00
LinuxServer-CI
3a6d74183f Bot Updating Package Versions 2021-05-29 15:45:59 +00:00
LinuxServer-CI
74bca3f080 Bot Updating Package Versions 2021-05-22 15:36:15 +00:00
LinuxServer-CI
541c668bda Bot Updating Package Versions 2021-05-15 15:36:19 +00:00
LinuxServer-CI
30696a8e78 Bot Updating Package Versions 2021-05-07 20:49:26 +00:00
thelamer
6f0f5d34b5 modify the base packages to line up with flavor defaults 2021-05-07 13:43:08 -07:00
LinuxServer-CI
751152e8bc Bot Updating Package Versions 2021-05-01 11:36:50 -04:00
LinuxServer-CI
0489c640fa Bot Updating Package Versions 2021-04-24 15:37:00 +00:00
LinuxServer-CI
ba128d3c22 Bot Updating Package Versions 2021-04-17 11:38:10 -04:00
LinuxServer-CI
6a79a18a9d Bot Updating Templated Files 2021-04-17 11:30:35 -04:00
LinuxServer-CI
1778710f29 Bot Updating Templated Files 2021-04-17 11:29:18 -04:00
LinuxServer-CI
b7992e54d5 Bot Updating Package Versions 2021-04-10 11:35:31 -04:00
LinuxServer-CI
bafb6a1fcd Bot Updating Package Versions 2021-04-03 15:36:08 +00:00
LinuxServer-CI
71ac6ff03d Bot Updating Package Versions 2021-03-27 15:38:24 +00:00
LinuxServer-CI
d27ac12406 Bot Updating Package Versions 2021-03-20 11:38:11 -04:00
LinuxServer-CI
035e0c76f9 Bot Updating Package Versions 2021-03-13 15:35:04 +00:00
LinuxServer-CI
aadbaf70a5 Bot Updating Package Versions 2021-03-06 15:31:29 +00:00
LinuxServer-CI
b8add4a510 Bot Updating Package Versions 2021-02-27 15:31:21 +00:00
LinuxServer-CI
09f7c5a939 Bot Updating Package Versions 2021-02-13 15:32:38 +00:00
LinuxServer-CI
f3eab72cb1 Bot Updating Templated Files 2021-02-13 15:25:06 +00:00
LinuxServer-CI
192b1700c9 Bot Updating Templated Files 2021-02-13 15:23:31 +00:00
LinuxServer-CI
8bb5f04457 Bot Updating Package Versions 2021-02-06 15:30:41 +00:00
LinuxServer-CI
3c2cbc7911 Bot Updating Package Versions 2021-01-30 15:33:18 +00:00
LinuxServer-CI
b4982faacf Bot Updating Package Versions 2021-01-23 15:47:20 +00:00
LinuxServer-CI
493beba1ac Bot Updating Package Versions 2021-01-16 15:51:15 +00:00
LinuxServer-CI
0f572c9724 Bot Updating Package Versions 2021-01-15 06:36:26 +00:00
LinuxServer-CI
db157e527e Bot Updating Templated Files 2021-01-15 06:32:05 +00:00
LinuxServer-CI
bd3da2077d Bot Updating Package Versions 2021-01-08 06:21:23 +00:00
LinuxServer-CI
8e8bb04687 Bot Updating Package Versions 2020-12-25 06:15:09 +00:00
LinuxServer-CI
bfe9d3ee76 Bot Updating Package Versions 2020-12-16 22:19:51 +00:00
LinuxServer-CI
958f25554a Bot Updating Templated Files 2020-12-16 22:16:04 +00:00
LinuxServer-CI
fc75f6f1f5 Bot Updating Templated Files 2020-12-16 22:14:01 +00:00
LinuxServer-CI
e0be536350 Bot Updating Package Versions 2020-12-03 05:29:17 +00:00
LinuxServer-CI
098bf28575 Bot Updating Package Versions 2020-11-26 00:27:21 -05:00
LinuxServer-CI
20da07e470 Bot Updating Package Versions 2020-11-19 05:28:10 +00:00
LinuxServer-CI
8975813196 Bot Updating Package Versions 2020-11-12 00:28:39 -05:00
LinuxServer-CI
17fe61c762 Bot Updating Package Versions 2020-11-02 15:46:44 +00:00
LinuxServer-CI
cbfc6b583f Bot Updating Templated Files 2020-11-02 15:31:47 +00:00
thelamer
20274e76f7 update baseimages 2020-11-02 07:23:32 -08:00
LinuxServer-CI
74f4814f4c Bot Updating Package Versions 2020-10-29 01:28:44 -04:00
LinuxServer-CI
942cc9932d Bot Updating Package Versions 2020-10-22 00:27:39 -04:00
LinuxServer-CI
2b97ac26cc Bot Updating Package Versions 2020-10-15 00:28:42 -04:00
LinuxServer-CI
cfc8826e1f Bot Updating Templated Files 2020-10-08 00:22:53 -04:00
LinuxServer-CI
44a167d792 Bot Updating Templated Files 2020-10-08 00:21:48 -04:00
LinuxServer-CI
a7d39ace64 Bot Updating Package Versions 2020-10-01 05:28:54 +01:00
LinuxServer-CI
ba0bae97f5 Bot Updating Package Versions 2020-09-24 04:28:33 +00:00
LinuxServer-CI
1aa587a52b Bot Updating Package Versions 2020-09-17 00:28:27 -04:00
LinuxServer-CI
29df893ce4 Bot Updating Package Versions 2020-09-10 04:29:59 +00:00
LinuxServer-CI
b4dd9976f8 Bot Updating Package Versions 2020-08-27 00:29:19 -04:00
LinuxServer-CI
cdbe27aef8 Bot Updating Package Versions 2020-08-20 04:28:43 +00:00
LinuxServer-CI
246c8288b9 Bot Updating Templated Files 2020-08-20 04:22:05 +00:00
LinuxServer-CI
15590595d0 Bot Updating Package Versions 2020-08-13 06:27:09 +02:00
LinuxServer-CI
c5fa730eaf Bot Updating Package Versions 2020-08-06 00:29:52 -04:00
LinuxServer-CI
45582875e6 Bot Updating Templated Files 2020-08-06 00:22:49 -04:00
LinuxServer-CI
61590808e2 Bot Updating Templated Files 2020-08-06 00:21:51 -04:00
LinuxServer-CI
58e8b67e28 Bot Updating Package Versions 2020-07-30 00:29:29 -04:00
LinuxServer-CI
1c04f362cc Bot Updating Package Versions 2020-07-23 04:26:28 +00:00
LinuxServer-CI
6792d05ae1 Bot Updating Package Versions 2020-07-16 04:26:21 +00:00
LinuxServer-CI
3a1538d6cf Bot Updating Package Versions 2020-07-09 04:28:13 +00:00
LinuxServer-CI
4771aad065 Bot Updating Package Versions 2020-07-02 04:36:49 +00:00
LinuxServer-CI
a1eed64c9f Bot Updating Package Versions 2020-06-25 00:26:37 -04:00
LinuxServer-CI
441afaee2f Bot Updating Package Versions 2020-06-18 04:27:36 +00:00
LinuxServer-CI
630e201184 Bot Updating Package Versions 2020-06-11 06:27:34 +02:00
LinuxServer-CI
92bb2a953e Bot Updating Package Versions 2020-06-04 00:28:54 -04:00
LinuxServer-CI
8d5c4dea79 Bot Updating Templated Files 2020-06-04 04:21:59 +00:00
LinuxServer-CI
50f374b9d7 Bot Updating Package Versions 2020-05-28 00:26:17 -04:00
LinuxServer-CI
fc19eee414 Bot Updating Package Versions 2020-05-21 04:27:41 +00:00
LinuxServer-CI
36567bf119 Bot Updating Package Versions 2020-05-14 04:33:57 +00:00
LinuxServer-CI
377535700a Bot Updating Package Versions 2020-05-07 00:48:34 -04:00
LinuxServer-CI
d80e6f1c57 Bot Updating Package Versions 2020-04-30 04:28:55 +00:00
LinuxServer-CI
ef454a2cb5 Bot Updating Templated Files 2020-04-30 06:22:02 +02:00
LinuxServer-CI
2b3459106f Bot Updating Package Versions 2020-04-23 00:27:42 -04:00
LinuxServer-CI
203a7e92ce Bot Updating Package Versions 2020-04-16 05:33:01 +01:00
LinuxServer-CI
061657b9c2 Bot Updating Package Versions 2020-04-09 06:36:35 +02:00
LinuxServer-CI
36ccb035c1 Bot Updating Templated Files 2020-04-09 04:21:40 +00:00
LinuxServer-CI
7093f7061a Bot Updating Package Versions 2020-04-07 00:35:08 +00:00
thelamer
e7faa3de54 need to start pulseaudio for sound support from users session 2020-04-06 17:24:05 -07:00
LinuxServer-CI
309fa53470 Bot Updating Package Versions 2020-04-02 00:45:21 -04:00
LinuxServer-CI
8c6516b80e Bot Updating Package Versions 2020-03-26 01:45:40 -04:00
LinuxServer-CI
490d8d5be3 Bot Updating Package Versions 2020-03-17 19:39:48 +00:00
thelamer
fc92f216c2 adding openbox bionic flavor 2020-03-17 12:30:31 -07:00
thelamer
a8a310b1eb adding openbox focal flavor 2020-03-17 12:22:37 -07:00
thelamer
9311d18c7f use qemu for focal 2020-03-16 22:15:53 -07:00
thelamer
5a1a422690 adding i3 focal flavor 2020-03-16 17:47:34 -07:00
25 changed files with 1241 additions and 857 deletions

20
.editorconfig Executable file
View File

@ -0,0 +1,20 @@
# This file is globally distributed to all container image projects from
# https://github.com/linuxserver/docker-jenkins-builder/blob/master/.editorconfig
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# trim_trailing_whitespace may cause unintended issues and should not be globally set true
trim_trailing_whitespace = false
[{Dockerfile*,**.yml}]
indent_style = space
indent_size = 2
[{**.sh,root/etc/cont-init.d/**,root/etc/services.d/**}]
indent_style = space
indent_size = 4

123
.github/CONTRIBUTING.md vendored Executable file
View File

@ -0,0 +1,123 @@
# Contributing to rdesktop
## Gotchas
* While contributing make sure to make all your changes before creating a Pull Request, as our pipeline builds each commit after the PR is open.
* Read, and fill the Pull Request template
* If this is a fix for a typo (in code, documentation, or the README) please file an issue and let us sort it out. We do not need a PR
* If the PR is addressing an existing issue include, closes #\<issue number>, in the body of the PR commit message
* If you want to discuss changes, you can also bring it up in [#dev-talk](https://discordapp.com/channels/354974912613449730/757585807061155840) in our [Discord server](https://discord.gg/YWrKVTn)
## Common files
| File | Use case |
| :----: | --- |
| `Dockerfile` | Dockerfile used to build amd64 images |
| `Dockerfile.aarch64` | Dockerfile used to build 64bit ARM architectures |
| `Dockerfile.armhf` | Dockerfile used to build 32bit ARM architectures |
| `Jenkinsfile` | This file is a product of our builder and should not be edited directly. This is used to build the image |
| `jenkins-vars.yml` | This file is used to generate the `Jenkinsfile` mentioned above, it only affects the build-process |
| `package_versions.txt` | This file is generated as a part of the build-process and should not be edited directly. It lists all the installed packages and their versions |
| `README.md` | This file is a product of our builder and should not be edited directly. This displays the readme for the repository and image registries |
| `readme-vars.yml` | This file is used to generate the `README.md` |
## Readme
If you would like to change our readme, please __**do not**__ directly edit the readme, as it is auto-generated on each commit.
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-rdesktop/edit/openbox-bionic/readme-vars.yml).
These variables are used in a template for our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) as part of an ansible play.
Most of these variables are also carried over to [docs.linuxserver.io](https://docs.linuxserver.io/images/docker-rdesktop)
### Fixing typos or clarify the text in the readme
There are variables for multiple parts of the readme, the most common ones are:
| Variable | Description |
| :----: | --- |
| `project_blurb` | This is the short excerpt shown above the project logo. |
| `app_setup_block` | This is the text that shows up under "Application Setup" if enabled |
### Parameters
The compose and run examples are also generated from these variables.
We have a [reference file](https://github.com/linuxserver/docker-jenkins-builder/blob/master/vars/_container-vars-blank) in our Jenkins Builder.
These are prefixed with `param_` for required parameters, or `opt_param` for optional parameters, except for `cap_add`.
Remember to enable param, if currently disabled. This differs between parameters, and can be seen in the reference file.
Devices, environment variables, ports and volumes expects its variables in a certain way.
### Devices
```yml
param_devices:
- { device_path: "/dev/dri", device_host_path: "/dev/dri", desc: "For hardware transcoding" }
opt_param_devices:
- { device_path: "/dev/dri", device_host_path: "/dev/dri", desc: "For hardware transcoding" }
```
### Environment variables
```yml
param_env_vars:
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
opt_param_env_vars:
- { env_var: "VERSION", env_value: "latest", desc: "Supported values are LATEST, PLEXPASS or a specific version number." }
```
### Ports
```yml
param_ports:
- { external_port: "80", internal_port: "80", port_desc: "Application WebUI" }
opt_param_ports:
- { external_port: "80", internal_port: "80", port_desc: "Application WebUI" }
```
### Volumes
```yml
param_volumes:
- { vol_path: "/config", vol_host_path: "</path/to/appdata/config>", desc: "Configuration files." }
opt_param_volumes:
- { vol_path: "/config", vol_host_path: "</path/to/appdata/config>", desc: "Configuration files." }
```
### Testing template changes
After you make any changes to the templates, you can use our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) to have the files updated from the modified templates. Please use the command found under `Running Locally` [on this page](https://github.com/linuxserver/docker-jenkins-builder/blob/master/README.md) to generate them prior to submitting a PR.
## Dockerfiles
We use multiple Dockerfiles in our repos, this is because sometimes some CPU architectures needs different packages to work.
If you are proposing additional packages to be added, ensure that you added the packages to all the Dockerfiles in alphabetical order.
### Testing your changes
```bash
git clone https://github.com/linuxserver/docker-rdesktop.git
cd docker-rdesktop
docker build \
--no-cache \
--pull \
-t linuxserver/rdesktop:latest .
```
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
```bash
docker run --rm --privileged multiarch/qemu-user-static:register --reset
```
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
## Update the changelog
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-rdesktop/tree/openbox-bionic/root), add an entry to the changelog
```yml
changelogs:
- { date: "DD.MM.YY:", desc: "Added some love to templates" }
```

1
.github/FUNDING.yml vendored
View File

@ -1 +1,2 @@
github: linuxserver
open_collective: linuxserver open_collective: linuxserver

13
.github/ISSUE_TEMPLATE/config.yml vendored Executable file
View File

@ -0,0 +1,13 @@
blank_issues_enabled: false
contact_links:
- name: Discord chat support
url: https://discord.gg/YWrKVTn
about: Realtime support / chat with the community and the team.
- name: Discourse discussion forum
url: https://discourse.linuxserver.io
about: Post on our community forum.
- name: Documentation
url: https://docs.linuxserver.io/images/docker-rdesktop
about: Documentation - information about all of our containers.

16
.github/ISSUE_TEMPLATE.md → .github/ISSUE_TEMPLATE/issue.bug.md vendored Normal file → Executable file
View File

@ -1,9 +1,14 @@
---
name: Bug report
about: Create a report to help us improve
---
[linuxserverurl]: https://linuxserver.io [linuxserverurl]: https://linuxserver.io
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl] [![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support. <!--- If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support. --->
<!--- Provide a general summary of the issue in the Title above --> <!--- Provide a general summary of the bug in the Title above -->
------------------------------ ------------------------------
@ -22,9 +27,10 @@ If you are new to Docker or this application our issue tracker is **ONLY** used
4. 4.
## Environment ## Environment
**OS:** **OS:**
**CPU architecture:** x86_64/arm32/arm64 **CPU architecture:** x86_64/arm32/arm64
**How docker service was installed:** **How docker service was installed:**
<!--- ie. from the official docker repo, from the distro repo, nas OS provided, etc. -->
<!--- Providing context helps us come up with a solution that is most useful in the real world --> <!--- Providing context helps us come up with a solution that is most useful in the real world -->
## Command used to create docker container (run/create/compose/screenshot) ## Command used to create docker container (run/create/compose/screenshot)

25
.github/ISSUE_TEMPLATE/issue.feature.md vendored Executable file
View File

@ -0,0 +1,25 @@
---
name: Feature request
about: Suggest an idea for this project
---
[linuxserverurl]: https://linuxserver.io
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
<!--- If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support. --->
<!--- If this acts as a feature request please ask yourself if this modification is something the whole userbase will benefit from --->
<!--- If this is a specific change for corner case functionality or plugins please look at making a Docker Mod or local script https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ -->
<!--- Provide a general summary of the request in the Title above -->
------------------------------
## Desired Behavior
<!--- Tell us what should happen -->
## Current Behavior
<!--- Tell us what happens instead of the expected behavior -->
## Alternatives Considered
<!--- Tell us what other options you have tried or considered -->

View File

@ -2,11 +2,11 @@
[linuxserverurl]: https://linuxserver.io [linuxserverurl]: https://linuxserver.io
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl] [![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
<!--- Before submitting a pull request please check the following --> <!--- Before submitting a pull request please check the following -->
<!--- If this is a fix for a typo in code or documentation in the README please file an issue and let us sort it out we do not need a PR --> <!--- If this is a fix for a typo (in code, documentation, or the README) please file an issue and let us sort it out. We do not need a PR -->
<!--- Ask yourself if this modification is something the whole userbase will benefit from, if this is a specific change for corner case functionality or plugins please look at making a Docker Mod or local script https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ --> <!--- Ask yourself if this modification is something the whole userbase will benefit from, if this is a specific change for corner case functionality or plugins please look at making a Docker Mod or local script https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ -->
<!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message --> <!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message -->
<!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message --> <!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message -->
@ -21,7 +21,11 @@
------------------------------ ------------------------------
We welcome all PR’s though this doesn’t guarantee it will be accepted. - [ ] I have read the [contributing](https://github.com/linuxserver/docker-rdesktop/blob/openbox-bionic/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
------------------------------
<!--- We welcome all PR’s though this doesn’t guarantee it will be accepted. -->
## Description: ## Description:
<!--- Describe your changes in detail --> <!--- Describe your changes in detail -->

16
.github/workflows/external_trigger.yml vendored Executable file
View File

@ -0,0 +1,16 @@
name: External Trigger Main
on:
workflow_dispatch:
jobs:
external-trigger-openbox-bionic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: External Trigger
if: github.ref == 'refs/heads/openbox-bionic'
run: |
echo "**** No external release, exiting ****"
exit 0

View File

@ -0,0 +1,43 @@
name: External Trigger Scheduler
on:
schedule:
- cron: '04 * * * *'
workflow_dispatch:
jobs:
external-trigger-scheduler:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
with:
fetch-depth: '0'
- name: External Trigger Scheduler
run: |
echo "**** Branches found: ****"
git for-each-ref --format='%(refname:short)' refs/remotes
echo "**** Pulling the yq docker image ****"
docker pull ghcr.io/linuxserver/yq
for br in $(git for-each-ref --format='%(refname:short)' refs/remotes)
do
br=$(echo "$br" | sed 's|origin/||g')
echo "**** Evaluating branch ${br} ****"
ls_branch=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-rdesktop/${br}/jenkins-vars.yml \
| docker run --rm -i --entrypoint yq ghcr.io/linuxserver/yq -r .ls_branch)
if [ "$br" == "$ls_branch" ]; then
echo "**** Branch ${br} appears to be live; checking workflow. ****"
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-rdesktop/${br}/.github/workflows/external_trigger.yml > /dev/null 2>&1; then
echo "**** Workflow exists. Triggering external trigger workflow for branch ${br} ****."
curl -iX POST \
-H "Authorization: token ${{ secrets.CR_PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
-d "{\"ref\":\"refs/heads/${br}\"}" \
https://api.github.com/repos/linuxserver/docker-rdesktop/actions/workflows/external_trigger.yml/dispatches
else
echo "**** Workflow doesn't exist; skipping trigger. ****"
fi
else
echo "**** ${br} appears to be a dev branch; skipping trigger. ****"
fi
done

13
.github/workflows/greetings.yml vendored Executable file
View File

@ -0,0 +1,13 @@
name: Greetings
on: [pull_request_target, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver/docker-rdesktop/blob/openbox-bionic/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-rdesktop/blob/openbox-bionic/.github/ISSUE_TEMPLATE/issue.feature.md) issue templates!'
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-rdesktop/blob/openbox-bionic/.github/PULL_REQUEST_TEMPLATE.md)!'
repo-token: ${{ secrets.GITHUB_TOKEN }}

38
.github/workflows/package_trigger.yml vendored Executable file
View File

@ -0,0 +1,38 @@
name: Package Trigger Main
on:
workflow_dispatch:
jobs:
package-trigger-openbox-bionic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
- name: Package Trigger
if: github.ref == 'refs/heads/openbox-bionic'
run: |
if [ -n "${{ secrets.PAUSE_PACKAGE_TRIGGER_RDESKTOP_OPENBOX_BIONIC }}" ]; then
echo "**** Github secret PAUSE_PACKAGE_TRIGGER_RDESKTOP_OPENBOX_BIONIC is set; skipping trigger. ****"
exit 0
fi
if [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-rdesktop/job/openbox-bionic/lastBuild/api/json | jq -r '.building') == "true" ]; then
echo "**** There already seems to be an active build on Jenkins; skipping package trigger ****"
exit 0
fi
echo "**** Package trigger running off of openbox-bionic branch. To disable, set a Github secret named \"PAUSE_PACKAGE_TRIGGER_RDESKTOP_OPENBOX_BIONIC\". ****"
response=$(curl -iX POST \
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-rdesktop/job/openbox-bionic/buildWithParameters?PACKAGE_CHECK=true \
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
echo "**** Jenkins job queue url: ${response%$'\r'} ****"
echo "**** Sleeping 10 seconds until job starts ****"
sleep 10
buildurl=$(curl -s "${response%$'\r'}api/json" | jq -r '.executable.url')
buildurl="${buildurl%$'\r'}"
echo "**** Jenkins job build url: ${buildurl} ****"
echo "**** Attempting to change the Jenkins job description ****"
curl -iX POST \
"${buildurl}submitDescription" \
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} \
--data-urlencode "description=GHA package trigger https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
--data-urlencode "Submit=Submit"

View File

@ -0,0 +1,50 @@
name: Package Trigger Scheduler
on:
schedule:
- cron: '01 15 * * 6'
workflow_dispatch:
jobs:
package-trigger-scheduler:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.3
with:
fetch-depth: '0'
- name: Package Trigger Scheduler
run: |
echo "**** Branches found: ****"
git for-each-ref --format='%(refname:short)' refs/remotes
echo "**** Pulling the yq docker image ****"
docker pull ghcr.io/linuxserver/yq
for br in $(git for-each-ref --format='%(refname:short)' refs/remotes)
do
br=$(echo "$br" | sed 's|origin/||g')
echo "**** Evaluating branch ${br} ****"
ls_branch=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-rdesktop/${br}/jenkins-vars.yml \
| docker run --rm -i --entrypoint yq ghcr.io/linuxserver/yq -r .ls_branch)
if [ "${br}" == "${ls_branch}" ]; then
echo "**** Branch ${br} appears to be live; checking workflow. ****"
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-rdesktop/${br}/.github/workflows/package_trigger.yml > /dev/null 2>&1; then
echo "**** Workflow exists. Triggering package trigger workflow for branch ${br}. ****"
triggered_branches="${triggered_branches}${br} "
curl -iX POST \
-H "Authorization: token ${{ secrets.CR_PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
-d "{\"ref\":\"refs/heads/${br}\"}" \
https://api.github.com/repos/linuxserver/docker-rdesktop/actions/workflows/package_trigger.yml/dispatches
sleep 30
else
echo "**** Workflow doesn't exist; skipping trigger. ****"
fi
else
echo "**** ${br} appears to be a dev branch; skipping trigger. ****"
fi
done
echo "**** Package check build(s) triggered for branch(es): ${triggered_branches} ****"
echo "**** Notifying Discord ****"
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
"description": "**Package Check Build(s) Triggered for rdesktop** \n**Branch(es):** '"${triggered_branches}"' \n**Build URL:** '"https://ci.linuxserver.io/blue/organizations/jenkins/Docker-Pipeline-Builders%2Fdocker-rdesktop/activity/"' \n"}],
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}

23
.github/workflows/stale.yml vendored Executable file
View File

@ -0,0 +1,23 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: "30 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
days-before-stale: 30
days-before-close: 365
exempt-issue-labels: 'awaiting-approval,work-in-progress'
exempt-pr-labels: 'awaiting-approval,work-in-progress'
repo-token: ${{ secrets.GITHUB_TOKEN }}

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.jenkins-external

View File

@ -1,4 +1,4 @@
FROM lsiobase/rdesktop:focal FROM ghcr.io/linuxserver/baseimage-rdesktop:bionic
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@ -11,12 +11,12 @@ RUN \
apt-get update && \ apt-get update && \
DEBIAN_FRONTEND=noninteractive \ DEBIAN_FRONTEND=noninteractive \
apt-get install --no-install-recommends -y \ apt-get install --no-install-recommends -y \
featherpad \
firefox \ firefox \
terminator \ obconf \
xfce4 \ openbox \
xfce4-goodies \ python \
xubuntu-default-settings \ xterm && \
xubuntu-icon-theme && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apt-get autoclean && \ apt-get autoclean && \
rm -rf \ rm -rf \

View File

@ -1,4 +1,4 @@
FROM lsiobase/rdesktop:arm64v8-focal FROM ghcr.io/linuxserver/baseimage-rdesktop:arm64v8-bionic
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@ -11,12 +11,12 @@ RUN \
apt-get update && \ apt-get update && \
DEBIAN_FRONTEND=noninteractive \ DEBIAN_FRONTEND=noninteractive \
apt-get install --no-install-recommends -y \ apt-get install --no-install-recommends -y \
featherpad \
firefox \ firefox \
terminator \ obconf \
xfce4 \ openbox \
xfce4-goodies \ python \
xubuntu-default-settings \ xterm && \
xubuntu-icon-theme && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apt-get autoclean && \ apt-get autoclean && \
rm -rf \ rm -rf \

View File

@ -1,4 +1,4 @@
FROM lsiobase/rdesktop:arm32v7-focal FROM ghcr.io/linuxserver/baseimage-rdesktop:arm32v7-bionic
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@ -11,12 +11,12 @@ RUN \
apt-get update && \ apt-get update && \
DEBIAN_FRONTEND=noninteractive \ DEBIAN_FRONTEND=noninteractive \
apt-get install --no-install-recommends -y \ apt-get install --no-install-recommends -y \
featherpad \
firefox \ firefox \
terminator \ obconf \
xfce4 \ openbox \
xfce4-goodies \ python \
xubuntu-default-settings \ xterm && \
xubuntu-icon-theme && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apt-get autoclean && \ apt-get autoclean && \
rm -rf \ rm -rf \

528
Jenkinsfile vendored
View File

@ -41,7 +41,7 @@ pipeline {
script{ script{
env.EXIT_STATUS = '' env.EXIT_STATUS = ''
env.LS_RELEASE = sh( env.LS_RELEASE = sh(
script: '''docker run --rm alexeiled/skopeo sh -c 'skopeo inspect docker://docker.io/'${DOCKERHUB_IMAGE}':latest 2>/dev/null' | jq -r '.Labels.build_version' | awk '{print $3}' | grep '\\-ls' || : ''', script: '''docker run --rm ghcr.io/linuxserver/alexeiled-skopeo sh -c 'skopeo inspect docker://docker.io/'${DOCKERHUB_IMAGE}':openbox-bionic 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' ''',
@ -55,7 +55,7 @@ pipeline {
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/' env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/'
env.PULL_REQUEST = env.CHANGE_ID env.PULL_REQUEST = env.CHANGE_ID
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE.md ./.github/PULL_REQUEST_TEMPLATE.md' env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.md ./.github/ISSUE_TEMPLATE/issue.feature.md ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/stale.yml ./.github/workflows/external_trigger.yml ./.github/workflows/package_trigger.yml'
} }
script{ script{
env.LS_RELEASE_NUMBER = sh( env.LS_RELEASE_NUMBER = sh(
@ -117,45 +117,47 @@ pipeline {
} }
} }
} }
// If this is a master build use live docker endpoints // If this is a openbox-bionic build use live docker endpoints
stage("Set ENV live build"){ stage("Set ENV live build"){
when { when {
branch "master" branch "openbox-bionic"
environment name: 'CHANGE_ID', value: '' environment name: 'CHANGE_ID', value: ''
} }
steps { steps {
script{ script{
env.IMAGE = env.DOCKERHUB_IMAGE env.IMAGE = env.DOCKERHUB_IMAGE
env.QUAYIMAGE = 'quay.io/linuxserver.io/' + env.CONTAINER_NAME env.GITHUBIMAGE = 'ghcr.io/' + env.LS_USER + '/' + env.CONTAINER_NAME
env.GITHUBIMAGE = 'docker.pkg.github.com/' + env.LS_USER + '/' + env.LS_REPO + '/' + env.CONTAINER_NAME
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
if (env.MULTIARCH == 'true') { if (env.MULTIARCH == 'true') {
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm32v7-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER env.CI_TAGS = 'amd64-openbox-bionic-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm32v7-openbox-bionic-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm64v8-openbox-bionic-' + 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 = 'openbox-bionic-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
} }
env.META_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 = 'openbox-bionic-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
env.EXT_RELEASE_TAG = 'openbox-bionic-version-' + env.EXT_RELEASE_CLEAN
} }
} }
} }
// 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 "openbox-bionic"}
environment name: 'CHANGE_ID', value: '' environment name: 'CHANGE_ID', value: ''
} }
steps { steps {
script{ script{
env.IMAGE = env.DEV_DOCKERHUB_IMAGE env.IMAGE = env.DEV_DOCKERHUB_IMAGE
env.QUAYIMAGE = 'quay.io/linuxserver.io/lsiodev-' + env.CONTAINER_NAME env.GITHUBIMAGE = 'ghcr.io/' + env.LS_USER + '/lsiodev-' + env.CONTAINER_NAME
env.GITHUBIMAGE = 'docker.pkg.github.com/' + env.LS_USER + '/' + env.LS_REPO + '/lsiodev-' + env.CONTAINER_NAME
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
if (env.MULTIARCH == 'true') { if (env.MULTIARCH == 'true') {
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm32v7-' + 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-openbox-bionic-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm32v7-openbox-bionic-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm64v8-openbox-bionic-' + 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 = 'openbox-bionic-' + 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.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
env.META_TAG = 'openbox-bionic-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
env.EXT_RELEASE_TAG = 'openbox-bionic-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/'
} }
} }
@ -168,15 +170,16 @@ pipeline {
steps { steps {
script{ script{
env.IMAGE = env.PR_DOCKERHUB_IMAGE env.IMAGE = env.PR_DOCKERHUB_IMAGE
env.QUAYIMAGE = 'quay.io/linuxserver.io/lspipepr-' + env.CONTAINER_NAME env.GITHUBIMAGE = 'ghcr.io/' + env.LS_USER + '/lspipepr-' + env.CONTAINER_NAME
env.GITHUBIMAGE = 'docker.pkg.github.com/' + env.LS_USER + '/' + env.LS_REPO + '/lspipepr-' + env.CONTAINER_NAME
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
if (env.MULTIARCH == 'true') { if (env.MULTIARCH == 'true') {
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST + '|arm32v7-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST env.CI_TAGS = 'amd64-openbox-bionic-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST + '|arm32v7-openbox-bionic-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST + '|arm64v8-openbox-bionic-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST
} else { } else {
env.CI_TAGS = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST env.CI_TAGS = 'openbox-bionic-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST
} }
env.META_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST
env.META_TAG = 'openbox-bionic-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST
env.EXT_RELEASE_TAG = 'openbox-bionic-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/'
} }
@ -189,24 +192,24 @@ pipeline {
} }
steps { steps {
withCredentials([ withCredentials([
string(credentialsId: 'spaces-key', variable: 'DO_KEY'), string(credentialsId: 'ci-tests-s3-key-id', variable: 'S3_KEY'),
string(credentialsId: 'spaces-secret', variable: 'DO_SECRET') string(credentialsId: 'ci-tests-s3-secret-access-key', variable: 'S3_SECRET')
]) { ]) {
script{ script{
env.SHELLCHECK_URL = 'https://lsio-ci.ams3.digitaloceanspaces.com/' + env.IMAGE + '/' + env.META_TAG + '/shellcheck-result.xml' env.SHELLCHECK_URL = 'https://ci-tests.linuxserver.io/' + env.IMAGE + '/' + env.META_TAG + '/shellcheck-result.xml'
} }
sh '''curl -sL https://raw.githubusercontent.com/linuxserver/docker-shellcheck/master/checkrun.sh | /bin/bash''' sh '''curl -sL https://raw.githubusercontent.com/linuxserver/docker-shellcheck/master/checkrun.sh | /bin/bash'''
sh '''#! /bin/bash sh '''#! /bin/bash
set -e set -e
docker pull lsiodev/spaces-file-upload:latest docker pull ghcr.io/linuxserver/lsiodev-spaces-file-upload:latest
docker run --rm \ docker run --rm \
-e DESTINATION=\"${IMAGE}/${META_TAG}/shellcheck-result.xml\" \ -e DESTINATION=\"${IMAGE}/${META_TAG}/shellcheck-result.xml\" \
-e FILE_NAME="shellcheck-result.xml" \ -e FILE_NAME="shellcheck-result.xml" \
-e MIMETYPE="text/xml" \ -e MIMETYPE="text/xml" \
-v ${WORKSPACE}:/mnt \ -v ${WORKSPACE}:/mnt \
-e SECRET_KEY=\"${DO_SECRET}\" \ -e SECRET_KEY=\"${S3_SECRET}\" \
-e ACCESS_KEY=\"${DO_KEY}\" \ -e ACCESS_KEY=\"${S3_KEY}\" \
-t lsiodev/spaces-file-upload:latest \ -t ghcr.io/linuxserver/lsiodev-spaces-file-upload:latest \
python /upload.py''' python /upload.py'''
} }
} }
@ -214,7 +217,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 "openbox-bionic"
environment name: 'CHANGE_ID', value: '' environment name: 'CHANGE_ID', value: ''
expression { expression {
env.CONTAINER_NAME != null env.CONTAINER_NAME != null
@ -224,20 +227,67 @@ pipeline {
sh '''#! /bin/bash sh '''#! /bin/bash
set -e set -e
TEMPDIR=$(mktemp -d) TEMPDIR=$(mktemp -d)
docker pull linuxserver/jenkins-builder:latest docker pull ghcr.io/linuxserver/jenkins-builder:latest
docker run --rm -e CONTAINER_NAME=${CONTAINER_NAME} -e GITHUB_BRANCH=master -v ${TEMPDIR}:/ansible/jenkins linuxserver/jenkins-builder:latest docker run --rm -e CONTAINER_NAME=${CONTAINER_NAME} -e GITHUB_BRANCH=openbox-bionic -v ${TEMPDIR}:/ansible/jenkins ghcr.io/linuxserver/jenkins-builder:latest
CURRENTHASH=$(grep -hs ^ ${TEMPLATED_FILES} | md5sum | cut -c1-8) # Stage 1 - Jenkinsfile update
cd ${TEMPDIR}/docker-${CONTAINER_NAME} if [[ "$(md5sum Jenkinsfile | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile | awk '{ print $1 }')" ]]; then
NEWHASH=$(grep -hs ^ ${TEMPLATED_FILES} | md5sum | cut -c1-8)
if [[ "${CURRENTHASH}" != "${NEWHASH}" ]]; 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 openbox-bionic
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile ${TEMPDIR}/repo/${LS_REPO}/
git add Jenkinsfile
git commit -m 'Bot Updating Templated Files'
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
echo "Updating Jenkinsfile"
rm -Rf ${TEMPDIR}
exit 0
else
echo "Jenkinsfile is up to date."
fi
# Stage 2 - Delete old templates
OLD_TEMPLATES=".github/ISSUE_TEMPLATE.md"
for i in ${OLD_TEMPLATES}; do
if [[ -f "${i}" ]]; then
TEMPLATES_TO_DELETE="${i} ${TEMPLATES_TO_DELETE}"
fi
done
if [[ -n "${TEMPLATES_TO_DELETE}" ]]; then
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 openbox-bionic
for i in ${TEMPLATES_TO_DELETE}; do
git rm "${i}"
done
git commit -m 'Bot Updating Templated Files'
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
echo "Deleting old templates"
rm -Rf ${TEMPDIR}
exit 0
else
echo "No templates to delete"
fi
# Stage 3 - Update templates
CURRENTHASH=$(grep -hs ^ ${TEMPLATED_FILES} | md5sum | cut -c1-8)
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
NEWHASH=$(grep -hs ^ ${TEMPLATED_FILES} | md5sum | cut -c1-8)
if [[ "${CURRENTHASH}" != "${NEWHASH}" ]] || ! grep -q '.jenkins-external' "${WORKSPACE}/.gitignore" 2>/dev/null; then
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 openbox-bionic
cd ${TEMPDIR}/docker-${CONTAINER_NAME} cd ${TEMPDIR}/docker-${CONTAINER_NAME}
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
cp --parents ${TEMPLATED_FILES} ${TEMPDIR}/repo/${LS_REPO}/ mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
cp --parents ${TEMPLATED_FILES} ${TEMPDIR}/repo/${LS_REPO}/ || :
cd ${TEMPDIR}/repo/${LS_REPO}/ cd ${TEMPDIR}/repo/${LS_REPO}/
if ! grep -q '.jenkins-external' .gitignore 2>/dev/null; then
echo ".jenkins-external" >> .gitignore
git add .gitignore
fi
git add ${TEMPLATED_FILES} git add ${TEMPLATED_FILES}
git commit -m 'Bot Updating Templated Files' git commit -m 'Bot Updating Templated Files'
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all
@ -247,13 +297,32 @@ pipeline {
fi fi
mkdir -p ${TEMPDIR}/gitbook mkdir -p ${TEMPDIR}/gitbook
git clone https://github.com/linuxserver/docker-documentation.git ${TEMPDIR}/gitbook/docker-documentation git clone https://github.com/linuxserver/docker-documentation.git ${TEMPDIR}/gitbook/docker-documentation
if [[ "${BRANCH_NAME}" == "master" ]] && [[ (! -f ${TEMPDIR}/gitbook/docker-documentation/images/docker-${CONTAINER_NAME}.md) || ("$(md5sum ${TEMPDIR}/gitbook/docker-documentation/images/docker-${CONTAINER_NAME}.md | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/docker-${CONTAINER_NAME}.md | awk '{ print $1 }')") ]]; then if [[ ("${BRANCH_NAME}" == "master") || ("${BRANCH_NAME}" == "main") ]] && [[ (! -f ${TEMPDIR}/gitbook/docker-documentation/images/docker-${CONTAINER_NAME}.md) || ("$(md5sum ${TEMPDIR}/gitbook/docker-documentation/images/docker-${CONTAINER_NAME}.md | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/docker-${CONTAINER_NAME}.md | awk '{ print $1 }')") ]]; then
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/docker-${CONTAINER_NAME}.md ${TEMPDIR}/gitbook/docker-documentation/images/ cp ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/docker-${CONTAINER_NAME}.md ${TEMPDIR}/gitbook/docker-documentation/images/
cd ${TEMPDIR}/gitbook/docker-documentation/ cd ${TEMPDIR}/gitbook/docker-documentation/
git add images/docker-${CONTAINER_NAME}.md git add images/docker-${CONTAINER_NAME}.md
git commit -m 'Bot Updating Documentation' git commit -m 'Bot Updating Documentation'
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/linuxserver/docker-documentation.git --all git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/linuxserver/docker-documentation.git --all
fi fi
mkdir -p ${TEMPDIR}/unraid
git clone https://github.com/linuxserver/docker-templates.git ${TEMPDIR}/unraid/docker-templates
git clone 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
fi
if [[ ("${BRANCH_NAME}" == "master") || ("${BRANCH_NAME}" == "main") ]] && [[ (! -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
cd ${TEMPDIR}/unraid/templates/
if grep -wq "${CONTAINER_NAME}" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then
echo "Image is on the ignore list, removing Unraid template"
git rm unraid/${CONTAINER_NAME}.xml || :
git commit -m 'Bot Removing 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 push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/linuxserver/templates.git --all
fi
rm -Rf ${TEMPDIR}''' rm -Rf ${TEMPDIR}'''
script{ script{
env.FILES_UPDATED = sh( env.FILES_UPDATED = sh(
@ -265,7 +334,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 "openbox-bionic"
environment name: 'CHANGE_ID', value: '' environment name: 'CHANGE_ID', value: ''
environment name: 'FILES_UPDATED', value: 'true' environment name: 'FILES_UPDATED', value: 'true'
expression { expression {
@ -304,25 +373,58 @@ pipeline {
// Build Docker container for push to LS Repo // Build Docker container for push to LS Repo
stage('Build-Single') { stage('Build-Single') {
when { when {
environment name: 'MULTIARCH', value: 'false' expression {
env.MULTIARCH == 'false' || params.PACKAGE_CHECK == 'true'
}
environment name: 'EXIT_STATUS', value: '' environment name: 'EXIT_STATUS', value: ''
} }
steps { steps {
sh "docker build --no-cache --pull -t ${IMAGE}:${META_TAG} \ echo "Running on node: ${NODE_NAME}"
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${META_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ." sh "docker build \
--label \"org.opencontainers.image.created=${GITHUB_DATE}\" \
--label \"org.opencontainers.image.authors=linuxserver.io\" \
--label \"org.opencontainers.image.url=https://github.com/linuxserver/docker-rdesktop/packages\" \
--label \"org.opencontainers.image.documentation=https://docs.linuxserver.io/images/docker-rdesktop\" \
--label \"org.opencontainers.image.source=https://github.com/linuxserver/docker-rdesktop\" \
--label \"org.opencontainers.image.version=${EXT_RELEASE_CLEAN}-ls${LS_TAG_NUMBER}\" \
--label \"org.opencontainers.image.revision=${COMMIT_SHA}\" \
--label \"org.opencontainers.image.vendor=linuxserver.io\" \
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
--label \"org.opencontainers.image.title=Rdesktop\" \
--label \"org.opencontainers.image.description=[Rdesktop](http://xrdp.org/) - Ubuntu based containers containing full desktop environments in officially supported flavors accessible via RDP. \" \
--no-cache --pull -t ${IMAGE}:${META_TAG} \
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
} }
} }
// Build MultiArch Docker containers for push to LS Repo // Build MultiArch Docker containers for push to LS Repo
stage('Build-Multi') { stage('Build-Multi') {
when { when {
environment name: 'MULTIARCH', value: 'true' allOf {
environment name: 'MULTIARCH', value: 'true'
expression { params.PACKAGE_CHECK == 'false' }
}
environment name: 'EXIT_STATUS', value: '' environment name: 'EXIT_STATUS', value: ''
} }
parallel { parallel {
stage('Build X86') { stage('Build X86') {
steps { steps {
sh "docker build --no-cache --pull -t ${IMAGE}:amd64-${META_TAG} \ echo "Running on node: ${NODE_NAME}"
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${META_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ." sh "docker build \
--label \"org.opencontainers.image.created=${GITHUB_DATE}\" \
--label \"org.opencontainers.image.authors=linuxserver.io\" \
--label \"org.opencontainers.image.url=https://github.com/linuxserver/docker-rdesktop/packages\" \
--label \"org.opencontainers.image.documentation=https://docs.linuxserver.io/images/docker-rdesktop\" \
--label \"org.opencontainers.image.source=https://github.com/linuxserver/docker-rdesktop\" \
--label \"org.opencontainers.image.version=${EXT_RELEASE_CLEAN}-ls${LS_TAG_NUMBER}\" \
--label \"org.opencontainers.image.revision=${COMMIT_SHA}\" \
--label \"org.opencontainers.image.vendor=linuxserver.io\" \
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
--label \"org.opencontainers.image.title=Rdesktop\" \
--label \"org.opencontainers.image.description=[Rdesktop](http://xrdp.org/) - Ubuntu based containers containing full desktop environments in officially supported flavors accessible via RDP. \" \
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} \
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
} }
} }
stage('Build ARMHF') { stage('Build ARMHF') {
@ -330,26 +432,33 @@ pipeline {
label 'ARMHF' label 'ARMHF'
} }
steps { steps {
withCredentials([ echo "Running on node: ${NODE_NAME}"
[ echo 'Logging into Github'
$class: 'UsernamePasswordMultiBinding', sh '''#! /bin/bash
credentialsId: '3f9ba4d5-100d-45b0-a3c4-633fd6061207', echo $GITHUB_TOKEN | docker login ghcr.io -u LinuxServer-CI --password-stdin
usernameVariable: 'DOCKERUSER', '''
passwordVariable: 'DOCKERPASS' sh "docker build \
] --label \"org.opencontainers.image.created=${GITHUB_DATE}\" \
]) { --label \"org.opencontainers.image.authors=linuxserver.io\" \
echo 'Logging into DockerHub' --label \"org.opencontainers.image.url=https://github.com/linuxserver/docker-rdesktop/packages\" \
sh '''#! /bin/bash --label \"org.opencontainers.image.documentation=https://docs.linuxserver.io/images/docker-rdesktop\" \
echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin --label \"org.opencontainers.image.source=https://github.com/linuxserver/docker-rdesktop\" \
''' --label \"org.opencontainers.image.version=${EXT_RELEASE_CLEAN}-ls${LS_TAG_NUMBER}\" \
sh "docker build --no-cache --pull -f Dockerfile.armhf -t ${IMAGE}:arm32v7-${META_TAG} \ --label \"org.opencontainers.image.revision=${COMMIT_SHA}\" \
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${META_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ." --label \"org.opencontainers.image.vendor=linuxserver.io\" \
sh "docker tag ${IMAGE}:arm32v7-${META_TAG} lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER}" --label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
sh "docker push lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER}" --label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
sh '''docker rmi \ --label \"org.opencontainers.image.title=Rdesktop\" \
${IMAGE}:arm32v7-${META_TAG} \ --label \"org.opencontainers.image.description=[Rdesktop](http://xrdp.org/) - Ubuntu based containers containing full desktop environments in officially supported flavors accessible via RDP. \" \
lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} || :''' --no-cache --pull -f Dockerfile.armhf -t ${IMAGE}:arm32v7-${META_TAG} \
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
sh "docker tag ${IMAGE}:arm32v7-${META_TAG} ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER}"
retry(5) {
sh "docker push ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER}"
} }
sh '''docker rmi \
${IMAGE}:arm32v7-${META_TAG} \
ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} || :'''
} }
} }
stage('Build ARM64') { stage('Build ARM64') {
@ -357,26 +466,33 @@ pipeline {
label 'ARM64' label 'ARM64'
} }
steps { steps {
withCredentials([ echo "Running on node: ${NODE_NAME}"
[ echo 'Logging into Github'
$class: 'UsernamePasswordMultiBinding', sh '''#! /bin/bash
credentialsId: '3f9ba4d5-100d-45b0-a3c4-633fd6061207', echo $GITHUB_TOKEN | docker login ghcr.io -u LinuxServer-CI --password-stdin
usernameVariable: 'DOCKERUSER', '''
passwordVariable: 'DOCKERPASS' sh "docker build \
] --label \"org.opencontainers.image.created=${GITHUB_DATE}\" \
]) { --label \"org.opencontainers.image.authors=linuxserver.io\" \
echo 'Logging into DockerHub' --label \"org.opencontainers.image.url=https://github.com/linuxserver/docker-rdesktop/packages\" \
sh '''#! /bin/bash --label \"org.opencontainers.image.documentation=https://docs.linuxserver.io/images/docker-rdesktop\" \
echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin --label \"org.opencontainers.image.source=https://github.com/linuxserver/docker-rdesktop\" \
''' --label \"org.opencontainers.image.version=${EXT_RELEASE_CLEAN}-ls${LS_TAG_NUMBER}\" \
sh "docker build --no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} \ --label \"org.opencontainers.image.revision=${COMMIT_SHA}\" \
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${META_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ." --label \"org.opencontainers.image.vendor=linuxserver.io\" \
sh "docker tag ${IMAGE}:arm64v8-${META_TAG} lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}" --label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
sh "docker push lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}" --label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
sh '''docker rmi \ --label \"org.opencontainers.image.title=Rdesktop\" \
${IMAGE}:arm64v8-${META_TAG} \ --label \"org.opencontainers.image.description=[Rdesktop](http://xrdp.org/) - Ubuntu based containers containing full desktop environments in officially supported flavors accessible via RDP. \" \
lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} || :''' --no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} \
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
sh "docker tag ${IMAGE}:arm64v8-${META_TAG} ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}"
retry(5) {
sh "docker push ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}"
} }
sh '''docker rmi \
${IMAGE}:arm64v8-${META_TAG} \
ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} || :'''
} }
} }
} }
@ -384,7 +500,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 "openbox-bionic"
environment name: 'CHANGE_ID', value: '' environment name: 'CHANGE_ID', value: ''
environment name: 'EXIT_STATUS', value: '' environment name: 'EXIT_STATUS', value: ''
} }
@ -392,7 +508,7 @@ pipeline {
sh '''#! /bin/bash sh '''#! /bin/bash
set -e set -e
TEMPDIR=$(mktemp -d) TEMPDIR=$(mktemp -d)
if [ "${MULTIARCH}" == "true" ]; then if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ]; then
LOCAL_CONTAINER=${IMAGE}:amd64-${META_TAG} LOCAL_CONTAINER=${IMAGE}:amd64-${META_TAG}
else else
LOCAL_CONTAINER=${IMAGE}:${META_TAG} LOCAL_CONTAINER=${IMAGE}:${META_TAG}
@ -407,12 +523,21 @@ pipeline {
apt list -qq --installed | sed "s#/.*now ##g" | cut -d" " -f1 > /tmp/package_versions.txt && \ apt list -qq --installed | sed "s#/.*now ##g" | cut -d" " -f1 > /tmp/package_versions.txt && \
sort -o /tmp/package_versions.txt /tmp/package_versions.txt && \ sort -o /tmp/package_versions.txt /tmp/package_versions.txt && \
chmod 777 /tmp/package_versions.txt' chmod 777 /tmp/package_versions.txt'
elif [ "${DIST_IMAGE}" == "fedora" ]; then
docker run --rm --entrypoint '/bin/sh' -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} -c '\
rpm -qa > /tmp/package_versions.txt && \
sort -o /tmp/package_versions.txt /tmp/package_versions.txt && \
chmod 777 /tmp/package_versions.txt'
elif [ "${DIST_IMAGE}" == "arch" ]; then
docker run --rm --entrypoint '/bin/sh' -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} -c '\
pacman -Q > /tmp/package_versions.txt && \
chmod 777 /tmp/package_versions.txt'
fi fi
NEW_PACKAGE_TAG=$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 ) NEW_PACKAGE_TAG=$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 )
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 openbox-bionic
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
@ -436,12 +561,19 @@ 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 "openbox-bionic"
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: ''
} }
steps { steps {
sh '''#! /bin/bash
echo "Packages were updated. Cleaning up the image and exiting."
if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ]; then
docker rmi ${IMAGE}:amd64-${META_TAG}
else
docker rmi ${IMAGE}:${META_TAG}
fi'''
script{ script{
env.EXIT_STATUS = 'ABORTED' env.EXIT_STATUS = 'ABORTED'
} }
@ -450,7 +582,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 "openbox-bionic"
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: ''
@ -459,6 +591,13 @@ pipeline {
} }
} }
steps { steps {
sh '''#! /bin/bash
echo "There are no package updates. Cleaning up the image and exiting."
if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ]; then
docker rmi ${IMAGE}:amd64-${META_TAG}
else
docker rmi ${IMAGE}:${META_TAG}
fi'''
script{ script{
env.EXIT_STATUS = 'ABORTED' env.EXIT_STATUS = 'ABORTED'
} }
@ -475,20 +614,20 @@ pipeline {
} }
steps { steps {
withCredentials([ withCredentials([
string(credentialsId: 'spaces-key', variable: 'DO_KEY'), string(credentialsId: 'ci-tests-s3-key-id', variable: 'S3_KEY'),
string(credentialsId: 'spaces-secret', variable: 'DO_SECRET') string(credentialsId: 'ci-tests-s3-secret-access-key ', variable: 'S3_SECRET')
]) { ]) {
script{ script{
env.CI_URL = 'https://lsio-ci.ams3.digitaloceanspaces.com/' + env.IMAGE + '/' + env.META_TAG + '/index.html' env.CI_URL = 'https://ci-tests.linuxserver.io/' + env.IMAGE + '/' + env.META_TAG + '/index.html'
} }
sh '''#! /bin/bash sh '''#! /bin/bash
set -e set -e
docker pull lsiodev/ci:latest docker pull ghcr.io/linuxserver/ci:latest
if [ "${MULTIARCH}" == "true" ]; then if [ "${MULTIARCH}" == "true" ]; then
docker pull lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} docker pull ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER}
docker pull lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} docker pull ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
docker tag lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm32v7-${META_TAG} docker tag ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm32v7-${META_TAG}
docker tag lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm64v8-${META_TAG} docker tag ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm64v8-${META_TAG}
fi fi
docker run --rm \ docker run --rm \
--shm-size=1gb \ --shm-size=1gb \
@ -500,15 +639,15 @@ pipeline {
-e PORT=\"${CI_PORT}\" \ -e PORT=\"${CI_PORT}\" \
-e SSL=\"${CI_SSL}\" \ -e SSL=\"${CI_SSL}\" \
-e BASE=\"${DIST_IMAGE}\" \ -e BASE=\"${DIST_IMAGE}\" \
-e SECRET_KEY=\"${DO_SECRET}\" \ -e SECRET_KEY=\"${S3_SECRET}\" \
-e ACCESS_KEY=\"${DO_KEY}\" \ -e ACCESS_KEY=\"${S3_KEY}\" \
-e DOCKER_ENV=\"${CI_DOCKERENV}\" \ -e DOCKER_ENV=\"${CI_DOCKERENV}\" \
-e WEB_SCREENSHOT=\"${CI_WEB}\" \ -e WEB_SCREENSHOT=\"${CI_WEB}\" \
-e WEB_AUTH=\"${CI_AUTH}\" \ -e WEB_AUTH=\"${CI_AUTH}\" \
-e WEB_PATH=\"${CI_WEBPATH}\" \ -e WEB_PATH=\"${CI_WEBPATH}\" \
-e DO_REGION="ams3" \ -e DO_REGION="ams3" \
-e DO_BUCKET="lsio-ci" \ -e DO_BUCKET="lsio-ci" \
-t lsiodev/ci:latest \ -t ghcr.io/linuxserver/ci:latest \
python /ci/ci.py''' python /ci/ci.py'''
} }
} }
@ -529,30 +668,30 @@ pipeline {
credentialsId: '3f9ba4d5-100d-45b0-a3c4-633fd6061207', credentialsId: '3f9ba4d5-100d-45b0-a3c4-633fd6061207',
usernameVariable: 'DOCKERUSER', usernameVariable: 'DOCKERUSER',
passwordVariable: 'DOCKERPASS' passwordVariable: 'DOCKERPASS'
],
[
$class: 'UsernamePasswordMultiBinding',
credentialsId: 'Quay.io-Robot',
usernameVariable: 'QUAYUSER',
passwordVariable: 'QUAYPASS'
] ]
]) { ]) {
retry(5) {
sh '''#! /bin/bash
set -e
echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
echo $GITHUB_TOKEN | docker login ghcr.io -u LinuxServer-CI --password-stdin
echo $GITLAB_TOKEN | docker login registry.gitlab.com -u LinuxServer.io --password-stdin
for PUSHIMAGE in "${GITHUBIMAGE}" "${GITLABIMAGE}" "${IMAGE}"; do
docker tag ${IMAGE}:${META_TAG} ${PUSHIMAGE}:${META_TAG}
docker tag ${PUSHIMAGE}:${META_TAG} ${PUSHIMAGE}:openbox-bionic
docker tag ${PUSHIMAGE}:${META_TAG} ${PUSHIMAGE}:${EXT_RELEASE_TAG}
docker push ${PUSHIMAGE}:openbox-bionic
docker push ${PUSHIMAGE}:${META_TAG}
docker push ${PUSHIMAGE}:${EXT_RELEASE_TAG}
done
'''
}
sh '''#! /bin/bash sh '''#! /bin/bash
set -e for DELETEIMAGE in "${GITHUBIMAGE}" "${GITLABIMAGE}" "${IMAGE}"; do
echo $QUAYPASS | docker login quay.io -u $QUAYUSER --password-stdin
echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
echo $GITHUB_TOKEN | docker login docker.pkg.github.com -u LinuxServer-CI --password-stdin
echo $GITLAB_TOKEN | docker login registry.gitlab.com -u LinuxServer.io --password-stdin
for PUSHIMAGE in "${QUAYIMAGE}" "${GITHUBIMAGE}" "${GITLABIMAGE}" "${IMAGE}"; do
docker tag ${IMAGE}:${META_TAG} ${PUSHIMAGE}:${META_TAG}
docker tag ${PUSHIMAGE}:${META_TAG} ${PUSHIMAGE}:latest
docker push ${PUSHIMAGE}:latest
docker push ${PUSHIMAGE}:${META_TAG}
done
for DELETEIMAGE in "${QUAYIMAGE}" "${GITHUBIMAGE}" "{GITLABIMAGE}" "${IMAGE}"; do
docker rmi \ docker rmi \
${DELETEIMAGE}:${META_TAG} \ ${DELETEIMAGE}:${META_TAG} \
${DELETEIMAGE}:latest || : ${DELETEIMAGE}:${EXT_RELEASE_TAG} \
${DELETEIMAGE}:openbox-bionic || :
done done
''' '''
} }
@ -571,80 +710,73 @@ pipeline {
credentialsId: '3f9ba4d5-100d-45b0-a3c4-633fd6061207', credentialsId: '3f9ba4d5-100d-45b0-a3c4-633fd6061207',
usernameVariable: 'DOCKERUSER', usernameVariable: 'DOCKERUSER',
passwordVariable: 'DOCKERPASS' passwordVariable: 'DOCKERPASS'
],
[
$class: 'UsernamePasswordMultiBinding',
credentialsId: 'Quay.io-Robot',
usernameVariable: 'QUAYUSER',
passwordVariable: 'QUAYPASS'
] ]
]) { ]) {
retry(5) {
sh '''#! /bin/bash
set -e
echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
echo $GITHUB_TOKEN | docker login ghcr.io -u LinuxServer-CI --password-stdin
echo $GITLAB_TOKEN | docker login registry.gitlab.com -u LinuxServer.io --password-stdin
if [ "${CI}" == "false" ]; then
docker pull ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER}
docker pull ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
docker tag ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm32v7-${META_TAG}
docker tag ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm64v8-${META_TAG}
fi
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}" "${GITHUBIMAGE}"; do
docker tag ${IMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG}
docker tag ${IMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${META_TAG}
docker tag ${IMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-openbox-bionic
docker tag ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-openbox-bionic
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-openbox-bionic
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG}
docker tag ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG}
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
docker push ${MANIFESTIMAGE}:amd64-${META_TAG}
docker push ${MANIFESTIMAGE}:arm32v7-${META_TAG}
docker push ${MANIFESTIMAGE}:arm64v8-${META_TAG}
docker push ${MANIFESTIMAGE}:amd64-openbox-bionic
docker push ${MANIFESTIMAGE}:arm32v7-openbox-bionic
docker push ${MANIFESTIMAGE}:arm64v8-openbox-bionic
docker push ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG}
docker push ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG}
docker push ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
docker manifest push --purge ${MANIFESTIMAGE}:openbox-bionic || :
docker manifest create ${MANIFESTIMAGE}:openbox-bionic ${MANIFESTIMAGE}:amd64-openbox-bionic ${MANIFESTIMAGE}:arm32v7-openbox-bionic ${MANIFESTIMAGE}:arm64v8-openbox-bionic
docker manifest annotate ${MANIFESTIMAGE}:openbox-bionic ${MANIFESTIMAGE}:arm32v7-openbox-bionic --os linux --arch arm
docker manifest annotate ${MANIFESTIMAGE}:openbox-bionic ${MANIFESTIMAGE}:arm64v8-openbox-bionic --os linux --arch arm64 --variant v8
docker manifest push --purge ${MANIFESTIMAGE}:${META_TAG} || :
docker manifest create ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
docker manifest annotate ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:arm32v7-${META_TAG} --os linux --arch arm
docker manifest annotate ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG} --os linux --arch arm64 --variant v8
docker manifest push --purge ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} || :
docker manifest create ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
docker manifest annotate ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG} --os linux --arch arm
docker manifest annotate ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG} --os linux --arch arm64 --variant v8
docker manifest push --purge ${MANIFESTIMAGE}:openbox-bionic
docker manifest push --purge ${MANIFESTIMAGE}:${META_TAG}
docker manifest push --purge ${MANIFESTIMAGE}:${EXT_RELEASE_TAG}
done
'''
}
sh '''#! /bin/bash sh '''#! /bin/bash
set -e for DELETEIMAGE in "${GITHUBIMAGE}" "${GITLABIMAGE}" "${IMAGE}"; do
echo $QUAYPASS | docker login quay.io -u $QUAYUSER --password-stdin
echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
echo $GITHUB_TOKEN | docker login docker.pkg.github.com -u LinuxServer-CI --password-stdin
echo $GITLAB_TOKEN | docker login registry.gitlab.com -u LinuxServer.io --password-stdin
if [ "${CI}" == "false" ]; then
docker pull lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER}
docker pull lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
docker tag lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm32v7-${META_TAG}
docker tag lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm64v8-${META_TAG}
fi
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}"; do
docker tag ${IMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG}
docker tag ${IMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${META_TAG}
docker tag ${IMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-latest
docker tag ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-latest
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-latest
docker push ${MANIFESTIMAGE}:amd64-${META_TAG}
docker push ${MANIFESTIMAGE}:arm32v7-${META_TAG}
docker push ${MANIFESTIMAGE}:arm64v8-${META_TAG}
docker push ${MANIFESTIMAGE}:amd64-latest
docker push ${MANIFESTIMAGE}:arm32v7-latest
docker push ${MANIFESTIMAGE}:arm64v8-latest
docker manifest push --purge ${MANIFESTIMAGE}:latest || :
docker manifest create ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:amd64-latest ${MANIFESTIMAGE}:arm32v7-latest ${MANIFESTIMAGE}:arm64v8-latest
docker manifest annotate ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:arm32v7-latest --os linux --arch arm
docker manifest annotate ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:arm64v8-latest --os linux --arch arm64 --variant v8
docker manifest push --purge ${MANIFESTIMAGE}:${META_TAG} || :
docker manifest create ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
docker manifest annotate ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:arm32v7-${META_TAG} --os linux --arch arm
docker manifest annotate ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG} --os linux --arch arm64 --variant v8
docker manifest push --purge ${MANIFESTIMAGE}:latest
docker manifest push --purge ${MANIFESTIMAGE}:${META_TAG}
done
for LEGACYIMAGE in "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
docker tag ${IMAGE}:amd64-${META_TAG} ${LEGACYIMAGE}:amd64-${META_TAG}
docker tag ${IMAGE}:arm32v7-${META_TAG} ${LEGACYIMAGE}:arm32v7-${META_TAG}
docker tag ${IMAGE}:arm64v8-${META_TAG} ${LEGACYIMAGE}:arm64v8-${META_TAG}
docker tag ${LEGACYIMAGE}:amd64-${META_TAG} ${LEGACYIMAGE}:latest
docker tag ${LEGACYIMAGE}:amd64-${META_TAG} ${LEGACYIMAGE}:${META_TAG}
docker tag ${LEGACYIMAGE}:arm32v7-${META_TAG} ${LEGACYIMAGE}:arm32v7-latest
docker tag ${LEGACYIMAGE}:arm64v8-${META_TAG} ${LEGACYIMAGE}:arm64v8-latest
docker push ${LEGACYIMAGE}:amd64-${META_TAG}
docker push ${LEGACYIMAGE}:arm32v7-${META_TAG}
docker push ${LEGACYIMAGE}:arm64v8-${META_TAG}
docker push ${LEGACYIMAGE}:latest
docker push ${LEGACYIMAGE}:${META_TAG}
docker push ${LEGACYIMAGE}:arm32v7-latest
docker push ${LEGACYIMAGE}:arm64v8-latest
done
'''
sh '''#! /bin/bash
for DELETEIMAGE in "${QUAYIMAGE}" "${GITHUBIMAGE}" "${GITLABIMAGE}" "${IMAGE}"; do
docker rmi \ docker rmi \
${DELETEIMAGE}:amd64-${META_TAG} \ ${DELETEIMAGE}:amd64-${META_TAG} \
${DELETEIMAGE}:amd64-latest \ ${DELETEIMAGE}:amd64-openbox-bionic \
${DELETEIMAGE}:amd64-${EXT_RELEASE_TAG} \
${DELETEIMAGE}:arm32v7-${META_TAG} \ ${DELETEIMAGE}:arm32v7-${META_TAG} \
${DELETEIMAGE}:arm32v7-latest \ ${DELETEIMAGE}:arm32v7-openbox-bionic \
${DELETEIMAGE}:arm32v7-${EXT_RELEASE_TAG} \
${DELETEIMAGE}:arm64v8-${META_TAG} \ ${DELETEIMAGE}:arm64v8-${META_TAG} \
${DELETEIMAGE}:arm64v8-latest || : ${DELETEIMAGE}:arm64v8-openbox-bionic \
${DELETEIMAGE}:arm64v8-${EXT_RELEASE_TAG} || :
done done
docker rmi \ docker rmi \
lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} \ ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} \
lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} || : ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} || :
''' '''
} }
} }
@ -652,7 +784,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 "openbox-bionic"
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
} }
@ -660,21 +792,21 @@ pipeline {
environment name: 'EXIT_STATUS', value: '' environment name: 'EXIT_STATUS', value: ''
} }
steps { steps {
echo "Pushing New tag for current commit ${EXT_RELEASE_CLEAN}-ls${LS_TAG_NUMBER}" echo "Pushing New tag for current commit ${META_TAG}"
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":"'${EXT_RELEASE_CLEAN}'-ls'${LS_TAG_NUMBER}'",\ -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 openbox-bionic",\
"type": "commit",\ "type": "commit",\
"tagger": {"name": "LinuxServer Jenkins","email": "jenkins@linuxserver.io","date": "'${GITHUB_DATE}'"}}' ''' "tagger": {"name": "LinuxServer Jenkins","email": "jenkins@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":"'${EXT_RELEASE_CLEAN}'-ls'${LS_TAG_NUMBER}'",\ echo '{"tag_name":"'${META_TAG}'",\
"target_commitish": "master",\ "target_commitish": "openbox-bionic",\
"name": "'${EXT_RELEASE_CLEAN}'-ls'${LS_TAG_NUMBER}'",\ "name": "'${META_TAG}'",\
"body": "**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n**OS Changes:**\\n\\n' > start "body": "**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**OS 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'''
} }
@ -695,14 +827,20 @@ pipeline {
] ]
]) { ]) {
sh '''#! /bin/bash sh '''#! /bin/bash
docker pull lsiodev/readme-sync set -e
TEMPDIR=$(mktemp -d)
docker pull ghcr.io/linuxserver/jenkins-builder:latest
docker run --rm -e CONTAINER_NAME=${CONTAINER_NAME} -e GITHUB_BRANCH="${BRANCH_NAME}" -v ${TEMPDIR}:/ansible/jenkins ghcr.io/linuxserver/jenkins-builder:latest
docker pull ghcr.io/linuxserver/readme-sync
docker run --rm=true \ docker run --rm=true \
-e DOCKERHUB_USERNAME=$DOCKERUSER \ -e DOCKERHUB_USERNAME=$DOCKERUSER \
-e DOCKERHUB_PASSWORD=$DOCKERPASS \ -e DOCKERHUB_PASSWORD=$DOCKERPASS \
-e GIT_REPOSITORY=${LS_USER}/${LS_REPO} \ -e GIT_REPOSITORY=${LS_USER}/${LS_REPO} \
-e DOCKER_REPOSITORY=${IMAGE} \ -e DOCKER_REPOSITORY=${IMAGE} \
-e GIT_BRANCH=master \ -e GIT_BRANCH=master \
lsiodev/readme-sync bash -c 'node sync' ''' -v ${TEMPDIR}/docker-${CONTAINER_NAME}:/mnt \
ghcr.io/linuxserver/readme-sync bash -c 'node sync'
rm -Rf ${TEMPDIR} '''
} }
} }
} }

189
README.md
View File

@ -1,21 +1,25 @@
<!-- DO NOT EDIT THIS FILE MANUALLY -->
<!-- Please read the https://github.com/linuxserver/docker-rdesktop/blob/openbox-bionic/.github/CONTRIBUTING.md -->
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)](https://linuxserver.io) [![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)](https://linuxserver.io)
[![Blog](https://img.shields.io/static/v1.svg?style=flat-square&color=E68523&label=linuxserver.io&message=Blog)](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!") [![Blog](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Blog)](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!")
[![Discord](https://img.shields.io/discord/354974912613449730.svg?style=flat-square&color=E68523&label=Discord&logo=discord&logoColor=FFFFFF)](https://discord.gg/YWrKVTn "realtime support / chat with the community and the team.") [![Discord](https://img.shields.io/discord/354974912613449730.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=Discord&logo=discord)](https://discord.gg/YWrKVTn "realtime support / chat with the community and the team.")
[![Discourse](https://img.shields.io/discourse/https/discourse.linuxserver.io/topics.svg?style=flat-square&color=E68523&logo=discourse&logoColor=FFFFFF)](https://discourse.linuxserver.io "post on our community forum.") [![Discourse](https://img.shields.io/discourse/https/discourse.linuxserver.io/topics.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=discourse)](https://discourse.linuxserver.io "post on our community forum.")
[![Fleet](https://img.shields.io/static/v1.svg?style=flat-square&color=E68523&label=linuxserver.io&message=Fleet)](https://fleet.linuxserver.io "an online web interface which displays all of our maintained images.") [![Fleet](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Fleet)](https://fleet.linuxserver.io "an online web interface which displays all of our maintained images.")
[![GitHub](https://img.shields.io/static/v1.svg?style=flat-square&color=E68523&label=linuxserver.io&message=GitHub&logo=github&logoColor=FFFFFF)](https://github.com/linuxserver "view the source for all of our repositories.") [![GitHub](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub&logo=github)](https://github.com/linuxserver "view the source for all of our repositories.")
[![Open Collective](https://img.shields.io/opencollective/all/linuxserver.svg?style=flat-square&color=E68523&label=Supporters&logo=open%20collective&logoColor=FFFFFF)](https://opencollective.com/linuxserver "please consider helping us by either donating or contributing to our budget") [![Open Collective](https://img.shields.io/opencollective/all/linuxserver.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=Supporters&logo=open%20collective)](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 :- The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:
* regular and timely application updates * regular and timely application updates
* easy user mappings (PGID, PUID) * easy user mappings (PGID, PUID)
* custom base image with s6 overlay * 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 * weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
* regular security updates * regular security updates
Find us at: 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! * [Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
* [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team. * [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
* [Discourse](https://discourse.linuxserver.io) - post on our community forum. * [Discourse](https://discourse.linuxserver.io) - post on our community forum.
@ -25,27 +29,24 @@ Find us at:
# [linuxserver/rdesktop](https://github.com/linuxserver/docker-rdesktop) # [linuxserver/rdesktop](https://github.com/linuxserver/docker-rdesktop)
[![GitHub Stars](https://img.shields.io/github/stars/linuxserver/docker-rdesktop.svg?style=flat-square&color=E68523&logo=github&logoColor=FFFFFF)](https://github.com/linuxserver/docker-rdesktop) [![GitHub Stars](https://img.shields.io/github/stars/linuxserver/docker-rdesktop.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-rdesktop)
[![GitHub Release](https://img.shields.io/github/release/linuxserver/docker-rdesktop.svg?style=flat-square&color=E68523&logo=github&logoColor=FFFFFF)](https://github.com/linuxserver/docker-rdesktop/releases) [![GitHub Release](https://img.shields.io/github/release/linuxserver/docker-rdesktop.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-rdesktop/releases)
[![GitHub Package Repository](https://img.shields.io/static/v1.svg?style=flat-square&color=E68523&label=linuxserver.io&message=GitHub%20Package&logo=github&logoColor=FFFFFF)](https://github.com/linuxserver/docker-rdesktop/packages) [![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub%20Package&logo=github)](https://github.com/linuxserver/docker-rdesktop/packages)
[![GitLab Container Registry](https://img.shields.io/static/v1.svg?style=flat-square&color=E68523&label=linuxserver.io&message=GitLab%20Registry&logo=gitlab&logoColor=FFFFFF)](https://gitlab.com/Linuxserver.io/docker-rdesktop/container_registry) [![GitLab Container Registry](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitLab%20Registry&logo=gitlab)](https://gitlab.com/linuxserver.io/docker-rdesktop/container_registry)
[![Quay.io](https://img.shields.io/static/v1.svg?style=flat-square&color=E68523&label=linuxserver.io&message=Quay.io)](https://quay.io/repository/linuxserver.io/rdesktop) [![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/rdesktop.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=pulls&logo=docker)](https://hub.docker.com/r/linuxserver/rdesktop)
[![MicroBadger Layers](https://img.shields.io/microbadger/layers/linuxserver/rdesktop.svg?style=flat-square&color=E68523)](https://microbadger.com/images/linuxserver/rdesktop "Get your own version badge on microbadger.com") [![Docker Stars](https://img.shields.io/docker/stars/linuxserver/rdesktop.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=stars&logo=docker)](https://hub.docker.com/r/linuxserver/rdesktop)
[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/rdesktop.svg?style=flat-square&color=E68523&label=pulls&logo=docker&logoColor=FFFFFF)](https://hub.docker.com/r/linuxserver/rdesktop) [![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-rdesktop%2Fjob%2Fopenbox-bionic%2F&logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-rdesktop/job/openbox-bionic/)
[![Docker Stars](https://img.shields.io/docker/stars/linuxserver/rdesktop.svg?style=flat-square&color=E68523&label=stars&logo=docker&logoColor=FFFFFF)](https://hub.docker.com/r/linuxserver/rdesktop) [![LSIO CI](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=CI&query=CI&url=https%3A%2F%2Fci-tests.linuxserver.io%2Flinuxserver%2Frdesktop%2Flatest%2Fci-status.yml)](https://ci-tests.linuxserver.io/linuxserver/rdesktop/latest/index.html)
[![Build Status](https://ci.linuxserver.io/view/all/job/Docker-Pipeline-Builders/job/docker-rdesktop/job/master/badge/icon?style=flat-square)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-rdesktop/job/master/)
[![](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/rdesktop/latest/badge.svg)](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/rdesktop/latest/index.html)
[Rdesktop](http://xrdp.org/) - Ubuntu based containers containing full desktop environments in officially supported flavors accessible via RDP. [Rdesktop](http://xrdp.org/) - Ubuntu based containers containing full desktop environments in officially supported flavors accessible via RDP.
[![rdesktop](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/rdesktop.png)](http://xrdp.org/) [![rdesktop](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/rdesktop.png)](http://xrdp.org/)
## Supported Architectures ## Supported Architectures
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/). Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
Simply pulling `linuxserver/rdesktop` should retrieve the correct image for your arch, but you can also pull specific arch images via tags. Simply pulling `ghcr.io/linuxserver/rdesktop` 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: The architectures supported by this image are:
@ -55,55 +56,33 @@ The architectures supported by this image are:
| arm64 | arm64v8-latest | | arm64 | arm64v8-latest |
| armhf | arm32v7-latest | | armhf | arm32v7-latest |
## Version Tags ## Application Setup
This image provides various versions that are available via tags. `latest` tag usually provides the latest stable version. Others are considered under development and caution must be exercised when using them. **The Default USERNAME and PASSWORD is: abc/abc**
| Tag | Description | **Unlike our other containers these Desktops are not designed to be upgraded by Docker, you will keep your home directoy but anything you installed system level will be lost if you upgrade an existing container. To keep packages up to date instead use Ubuntu's own apt program**
| :----: | --- |
| latest | XFCE Focal | You will need a Remote Desktop client to access this container [Wikipedia List](https://en.wikipedia.org/wiki/Comparison_of_remote_desktop_software), by default it listens on 3389, but you can change that port to whatever you wish on the host side IE `3390:3389`.
| xfce-bionic | XFCE Bionic | The first thing you should do when you login to the container is to change the abc users password by issuing the `passwd` command.
| kde-focal | KDE Focal | If you ever lose your password you can always reset it by execing into the container as root:
| kde-bionic | KDE Bionic | ```
| lxde-focal | LXDE Focal | docker exec -it rdesktop passwd abc
| lxde-bionic | LXDE Bionic | ```
| budgie-focal | Budgie Focal | By default we perform all logic for the abc user and we reccomend using that user only in the container, but new users can be added as long as there is a `startwm.sh` executable script in their home directory.
| budgie-bionic | Budgie Bionic | All of these containers are configured with passwordless sudo, we make no efforts to secure or harden these containers and we do not reccomend ever publishing their ports to the public Internet.
| mate-focal | MATE Focal |
| mate-bionic | MATE Bionic |
| kylin-focal | Kylin Focal |
| kylin-bionic | Kylin Bionic |
## Usage ## Usage
Here are some example snippets to help you get started creating a container. Here are some example snippets to help you get started creating a container.
### docker ### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
``` ```yaml
docker create \
--name=rdesktop \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-p 3389:3389 \
-v /var/run/docker.sock:/var/run/docker.sock `#optional` \
-v /path/to/data:/config `#optional` \
--restart unless-stopped \
linuxserver/rdesktop
```
### docker-compose
Compatible with docker-compose v2 schemas.
```
--- ---
version: "2" version: "2.1"
services: services:
rdesktop: rdesktop:
image: linuxserver/rdesktop image: ghcr.io/linuxserver/rdesktop
container_name: rdesktop container_name: rdesktop
environment: environment:
- PUID=1000 - PUID=1000
@ -117,6 +96,21 @@ services:
restart: unless-stopped restart: unless-stopped
``` ```
### docker cli ([click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))
```bash
docker run -d \
--name=rdesktop \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-p 3389:3389 \
-v /var/run/docker.sock:/var/run/docker.sock `#optional` \
-v /path/to/data:/config `#optional` \
--restart unless-stopped \
ghcr.io/linuxserver/rdesktop
```
## Parameters ## Parameters
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container. Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
@ -132,16 +126,21 @@ Container images are configured using parameters passed at runtime (such as thos
## Environment variables from files (Docker secrets) ## Environment variables from files (Docker secrets)
You can set any environment variable from a file by using a special prepend `FILE__`. You can set any environment variable from a file by using a special prepend `FILE__`.
As an example: As an example:
``` ```bash
-e FILE__PASSWORD=/run/secrets/mysecretpassword -e FILE__PASSWORD=/run/secrets/mysecretpassword
``` ```
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file. Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` 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 ## User / Group Identifiers
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`. When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
@ -150,29 +149,16 @@ Ensure any volume directories on the host are owned by the same user you specify
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below: In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
``` ```bash
$ id username $ id username
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup) uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
``` ```
## Docker Mods
&nbsp; [![Docker Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=rdesktop&query=%24.mods%5B%27rdesktop%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=rdesktop "view available mods for this container.") [![Docker Universal Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=universal&query=%24.mods%5B%27universal%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=universal "view available universal mods.")
## Application Setup
**The Default USERNAME and PASSWORD is: abc/abc**
**Unlike our other containers these Desktops are not designed to be upgraded by Docker, you will keep your home directoy but anything you installed system level will be lost if you upgrade an existing container. To keep packages up to date instead use Ubuntu's own apt program**
You will need a Remote Desktop client to access this container [Wikipedia List](https://en.wikipedia.org/wiki/Comparison_of_remote_desktop_software), by default it listens on 3389, but you can change that port to whatever you wish on the host side IE `3390:3389`.
The first thing you should do when you login to the container is to change the abc users password by issuing the `passwd` command.
If you ever lose your password you can always reset it by execing into the container as root:
```
docker exec -it rdesktop passwd abc
```
By default we perform all logic for the abc user and we reccomend using that user only in the container, but new users can be added as long as there is a `startwm.sh` executable script in their home directory.
All of these containers are configured with passwordless sudo, we make no efforts to secure or harden these containers and we do not reccomend ever publishing their ports to the public Internet.
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 ## Support Info
@ -181,7 +167,7 @@ All of these containers are configured with passwordless sudo, we make no effort
* container version number * container version number
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' rdesktop` * `docker inspect -f '{{ index .Config.Labels "build_version" }}' rdesktop`
* image version number * image version number
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/rdesktop` * `docker inspect -f '{{ index .Config.Labels "build_version" }}' ghcr.io/linuxserver/rdesktop`
## Updating Info ## Updating Info
@ -189,48 +175,57 @@ Most of our images are static, versioned, and require an image update and contai
Below are the instructions for updating containers: Below are the instructions for updating containers:
### Via Docker Run/Create
* Update the image: `docker pull linuxserver/rdesktop`
* Stop the running container: `docker stop rdesktop`
* Delete the container: `docker rm rdesktop`
* Recreate a new container with the same docker create parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
* Start the new container: `docker start rdesktop`
* You can also remove the old dangling images: `docker image prune`
### Via Docker Compose ### Via Docker Compose
* Update all images: `docker-compose pull` * Update all images: `docker-compose pull`
* or update a single image: `docker-compose pull rdesktop` * or update a single image: `docker-compose pull rdesktop`
* Let compose update all containers as necessary: `docker-compose up -d` * Let compose update all containers as necessary: `docker-compose up -d`
* or update a single container: `docker-compose up -d rdesktop` * or update a single container: `docker-compose up -d rdesktop`
* You can also remove the old dangling images: `docker image prune` * You can also remove the old dangling images: `docker image prune`
### Via Watchtower auto-updater (especially useful if you don't remember the original parameters) ### Via Docker Run
* Update the image: `docker pull ghcr.io/linuxserver/rdesktop`
* Stop the running container: `docker stop rdesktop`
* Delete the container: `docker rm rdesktop`
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
* You can also remove the old dangling images: `docker image prune`
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
* Pull the latest image at its tag and replace it with the same env variables in one run: * Pull the latest image at its tag and replace it with the same env variables in one run:
```
```bash
docker run --rm \ docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower \ containrrr/watchtower \
--run-once rdesktop --run-once rdesktop
``` ```
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using Docker Compose.
* You can also remove the old dangling images: `docker image prune` * You can also remove the old dangling images: `docker image prune`
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
### Image Update Notifications - Diun (Docker Image Update Notifier)
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
## Building locally ## Building locally
If you want to make local modifications to these images for development purposes or just to customize the logic: 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-rdesktop.git git clone https://github.com/linuxserver/docker-rdesktop.git
cd docker-rdesktop cd docker-rdesktop
docker build \ docker build \
--no-cache \ --no-cache \
--pull \ --pull \
-t linuxserver/rdesktop:latest . -t ghcr.io/linuxserver/rdesktop:latest .
``` ```
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static` The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
```
```bash
docker run --rm --privileged multiarch/qemu-user-static:register --reset docker run --rm --privileged multiarch/qemu-user-static:register --reset
``` ```

View File

@ -3,9 +3,9 @@
# jenkins variables # jenkins variables
project_name: docker-rdesktop project_name: docker-rdesktop
external_type: os external_type: os
release_type: stable release_type: prerelease
release_tag: latest release_tag: openbox-bionic
ls_branch: master ls_branch: openbox-bionic
repo_vars: repo_vars:
- BUILD_VERSION_ARG = 'OS_VERSION' - BUILD_VERSION_ARG = 'OS_VERSION'
- LS_USER = 'linuxserver' - LS_USER = 'linuxserver'

View File

@ -1,541 +1,414 @@
adduser3.118ubuntu1 adduser3.116ubuntu1
adwaita-icon-theme3.36.0-1ubuntu1 adwaita-icon-theme3.28.0-1ubuntu1
apt1.9.10 apt1.6.14
apt-transport-https1.9.10 apt-transport-https1.6.14
apt-utils1.9.10 apt-utils1.6.14
base-files11ubuntu2 base-files10.1ubuntu2.10
base-passwd3.5.47 base-passwd3.5.44
bash5.0-5ubuntu1 bash4.4.18-2ubuntu1.2
bsdmainutils11.1.2ubuntu2 bsdmainutils11.1.2ubuntu1
bsdutils1:2.34-0.1ubuntu4 bsdutils1:2.31.1-0.4ubuntu3.7
bzip21.0.8-2 bzip21.0.6-8.1ubuntu0.2
ca-certificates20190110 ca-certificates20210119~18.04.1
coreutils8.30-3ubuntu2 coreutils8.28-1ubuntu1
cpp4:9.2.1-3.1ubuntu1 cpp4:7.4.0-1ubuntu2.3
cpp-99.2.1-31ubuntu1 cpp-77.5.0-3ubuntu1~18.04
curl7.68.0-1ubuntu1 curl7.58.0-2ubuntu3.14
dash0.5.10.2-6 dash0.5.8-2.10
dbus1.12.16-2ubuntu2 dbus1.12.2-1ubuntu1.2
dbus-user-session1.12.16-2ubuntu2 dbus-x111.12.2-1ubuntu1.2
dbus-x111.12.16-2ubuntu2 dconf-gsettings-backend0.26.0-2ubuntu3
dconf-gsettings-backend0.36.0-1 dconf-service0.26.0-2ubuntu3
dconf-service0.36.0-1 debconf1.5.66ubuntu1
debconf1.5.73 debianutils4.8.4
debianutils4.9.1 diffutils1:3.6-1
desktop-file-utils0.24-1ubuntu2 dirmngr2.2.4-1ubuntu1.4
diffutils1:3.7-3 distro-info-data0.37ubuntu0.11
dirmngr2.2.17-3ubuntu1 docker-ce-cli5:20.10.8~3-0~ubuntu-bionic
distro-info-data0.43ubuntu1 dpkg1.19.0.5ubuntu2.3
docker-ce-cli5:19.03.8~3-0~ubuntu-bionic e2fsprogs1.44.1-1ubuntu1.3
dpkg1.19.7ubuntu2 fdisk2.31.1-0.4ubuntu3.7
e2fsprogs1.45.3-4ubuntu2 featherpad0.8-1
elementary-xfce-icon-theme0.14-1 findutils4.6.0+git+20170828-2
exo-utils0.12.11-1 firefox92.0+build3-0ubuntu0.18.04.1
fdisk2.34-0.1ubuntu4 fontconfig2.12.6-0ubuntu2
findutils4.6.0+git+20190209-2ubuntu1 fontconfig-config2.12.6-0ubuntu2
firefox74.0+build3-0ubuntu1
fontconfig2.13.1-2ubuntu2
fontconfig-config2.13.1-2ubuntu2
fonts-dejavu-core2.37-1 fonts-dejavu-core2.37-1
fonts-noto-core20200103-3 gawk1:4.1.4+dfsg-1build1
fonts-noto-hinted20200103-3 gcc-7-base7.5.0-3ubuntu1~18.04
fonts-noto-ui-core20200103-3 gcc-8-base8.4.0-1ubuntu1~18.04
fonts-ubuntu0.83-4ubuntu1 gir1.2-glib-2.01.56.1-1
gawk1:5.0.1+dfsg-1 glib-networking2.56.0-1ubuntu0.1
gcc-10-base10-20200304-1ubuntu1 glib-networking-common2.56.0-1ubuntu0.1
gcc-9-base9.2.1-31ubuntu1 glib-networking-services2.56.0-1ubuntu0.1
gir1.2-atk-1.02.35.1-1ubuntu1 gnupg22.2.4-1ubuntu1.4
gir1.2-freedesktop1.64.0-1 gnupg2.2.4-1ubuntu1.4
gir1.2-gdkpixbuf-2.02.40.0+dfsg-3 gnupg-l10n2.2.4-1ubuntu1.4
gir1.2-glib-2.01.64.0-1 gnupg-utils2.2.4-1ubuntu1.4
gir1.2-gtk-3.03.24.14-1ubuntu1 gpg2.2.4-1ubuntu1.4
gir1.2-packagekitglib-1.01.1.13-2build1 gpg-agent2.2.4-1ubuntu1.4
gir1.2-pango-1.01.44.7-1ubuntu3 gpgconf2.2.4-1ubuntu1.4
gir1.2-vte-2.910.59.91-0ubuntu1 gpgsm2.2.4-1ubuntu1.4
glib-networking2.63.91-1ubuntu1 gpgv2.2.4-1ubuntu1.4
glib-networking-common2.63.91-1ubuntu1 gpg-wks-client2.2.4-1ubuntu1.4
glib-networking-services2.63.91-1ubuntu1 gpg-wks-server2.2.4-1ubuntu1.4
gnupg2.2.17-3ubuntu1 grep3.1-2build1
gnupg22.2.17-3ubuntu1 groff-base1.22.3-10
gnupg-l10n2.2.17-3ubuntu1 gsettings-desktop-schemas3.28.0-1ubuntu1
gnupg-utils2.2.17-3ubuntu1 gtk-update-icon-cache3.22.30-1ubuntu4
gpg2.2.17-3ubuntu1 gzip1.6-5ubuntu1.1
gpg-agent2.2.17-3ubuntu1
gpgconf2.2.17-3ubuntu1
gpgsm2.2.17-3ubuntu1
gpgv2.2.17-3ubuntu1
gpg-wks-client2.2.17-3ubuntu1
gpg-wks-server2.2.17-3ubuntu1
grep3.3-1build1
greybird-gtk-theme3.22.11-0ubuntu1
groff-base1.22.4-4
gsettings-desktop-schemas3.35.91-0ubuntu1
gtk2-engines-murrine0.98.2-3
gtk-update-icon-cache3.24.14-1ubuntu1
gzip1.10-0ubuntu4
hicolor-icon-theme0.17-2 hicolor-icon-theme0.17-2
hostname3.23 hostname3.20
humanity-icon-theme0.6.15 humanity-icon-theme0.6.15
init-system-helpers1.57 init-system-helpers1.51
iso-codes4.4-1 iso-codes3.79-1
keyboard-configuration1.194ubuntu2 keyboard-configuration1.178ubuntu2.9
krb5-locales1.17-6ubuntu4 krb5-locales1.16-2ubuntu0.2
libacl12.2.53-5ubuntu1 libacl12.2.52-3build1
libapparmor12.13.3-7ubuntu2 libapparmor12.12-4ubuntu5.1
libappstream40.12.10-1 libapt-inst2.01.6.14
libapt-pkg5.901.9.10 libapt-pkg5.01.6.14
libargon2-10~20171227-0.2 libasn1-8-heimdal7.5.0+dfsg-1
libasn1-8-heimdal7.7.0+dfsg-1 libasound21.1.3-5ubuntu0.6
libasound21.2.2-2ubuntu1 libasound2-data1.1.3-5ubuntu0.6
libasound2-data1.2.2-2ubuntu1 libasound2-plugins1.1.1-1ubuntu1
libasound2-plugins1.2.2-1ubuntu1 libassuan02.5.1-2
libassuan02.5.3-7ubuntu2
libasyncns00.8-6 libasyncns00.8-6
libatk1.0-02.35.1-1ubuntu1 libatk1.0-02.28.1-1
libatk1.0-data2.35.1-1ubuntu1 libatk1.0-data2.28.1-1
libatk-bridge2.0-02.34.1-2ubuntu1 libatk-bridge2.0-02.26.2-1
libatspi2.0-02.36.0-1 libatspi2.0-02.28.0-1
libattr11:2.4.48-5 libattr11:2.4.47-2build1
libaudit11:2.8.5-2ubuntu5 libaudit11:2.8.2-1ubuntu1.1
libaudit-common1:2.8.5-2ubuntu5 libaudit-common1:2.8.2-1ubuntu1.1
libavahi-client30.7-4ubuntu6 libavahi-client30.7-3.1ubuntu1.3
libavahi-common30.7-4ubuntu6 libavahi-common30.7-3.1ubuntu1.3
libavahi-common-data0.7-4ubuntu6 libavahi-common-data0.7-3.1ubuntu1.3
libblkid12.34-0.1ubuntu4 libblkid12.31.1-0.4ubuntu3.7
libbrotli11.0.7-6build1 libbsd00.8.7-1ubuntu0.1
libbsd00.10.0-1 libbz2-1.01.0.6-8.1ubuntu0.2
libburn41.5.2-1 libc62.27-3ubuntu1.4
libbz2-1.01.0.8-2 libcairo21.15.10-2ubuntu0.1
libc62.30-0ubuntu3 libcairo-gobject21.15.10-2ubuntu0.1
libcairo21.16.0-4ubuntu1 libcap21:2.25-1.2
libcairo-gobject21.16.0-4ubuntu1 libcap-ng00.7.7-3.1
libcap21:2.32-1 libc-bin2.27-3ubuntu1.4
libcap2-bin1:2.32-1 libcolord21.3.3-2build1
libcap-ng00.7.9-2.1 libcom-err21.44.1-1ubuntu1.3
libc-bin2.30-0ubuntu3 libcroco30.6.12-2
libcolord21.4.4-1ubuntu2 libcups22.2.7-1ubuntu2.8
libcom-err21.45.3-4ubuntu2 libcurl47.58.0-2ubuntu3.14
libcroco30.6.13-1 libdatrie10.2.10-7
libcryptsetup122:2.2.2-3ubuntu2 libdb5.35.3.28-13.1ubuntu1.1
libcups22.3.1-9ubuntu1 libdbus-1-31.12.2-1ubuntu1.2
libcurl47.68.0-1ubuntu1 libdbus-glib-1-20.110-2
libdatrie10.2.12-3 libdconf10.26.0-2ubuntu3
libdb5.35.3.28+dfsg1-0.6ubuntu1 libdebconfclient00.213ubuntu1
libdbus-1-31.12.16-2ubuntu2 libdouble-conversion12.0.1-4ubuntu1
libdbus-glib-1-20.110-5fakssync1 libdrm22.4.101-2~18.04.1
libdconf10.36.0-1 libdrm-amdgpu12.4.101-2~18.04.1
libdebconfclient00.250ubuntu2 libdrm-common2.4.101-2~18.04.1
libdevmapper1.02.12:1.02.167-1ubuntu1 libdrm-intel12.4.101-2~18.04.1
libdrm22.4.100-4 libdrm-nouveau22.4.101-2~18.04.1
libdrm-amdgpu12.4.100-4 libdrm-radeon12.4.101-2~18.04.1
libdrm-common2.4.100-4 libedit23.1-20170329-1
libdrm-intel12.4.100-4 libegl11.0.0-2ubuntu2.3
libdrm-nouveau22.4.100-4 libegl1-mesa20.0.8-0ubuntu1~18.04.1
libdrm-radeon12.4.100-4 libegl-mesa020.0.8-0ubuntu1~18.04.1
libedit23.1-20191231-1 libelf10.170-0.4ubuntu0.1
libegl11.3.1-1 libepoxy01.4.3-1
libegl-mesa020.0.0-1ubuntu1 libevdev21.5.8+dfsg-1ubuntu0.1
libelf10.176-1.1build1 libexpat12.2.5-3ubuntu0.2
libepoxy01.5.4-1 libext2fs21.44.1-1ubuntu1.3
libexif120.6.21-6 libfdisk12.31.1-0.4ubuntu3.7
libexo-1-00.12.11-1 libffi63.2.1-8
libexo-2-00.12.11-1 libflac81.3.2-1
libexo-common0.12.11-1 libfontconfig12.12.6-0ubuntu2
libexo-helpers0.12.11-1 libfontenc11:1.1.3-1
libexpat12.2.9-1 libfreetype62.8.1-2ubuntu2.1
libext2fs21.45.3-4ubuntu2 libfuse22.9.7-1ubuntu1
libfdisk12.34-0.1ubuntu4 libgbm120.0.8-0ubuntu1~18.04.1
libffi63.2.1-9 libgcc11:8.4.0-1ubuntu1~18.04
libffi73.3-3 libgcrypt201.8.1-4ubuntu1.2
libflac81.3.3-1 libgdbm51.14.1-6
libfontconfig12.13.1-2ubuntu2 libgdk-pixbuf2.0-02.36.11-2
libfontenc11:1.1.4-0ubuntu1 libgdk-pixbuf2.0-common2.36.11-2
libfreetype62.10.1-2 libgif75.1.4-2ubuntu0.1
libfribidi01.0.8-2 libgirepository-1.0-11.56.1-1
libfuse22.9.9-2 libgl11.0.0-2ubuntu2.3
libgarcon-1-00.6.4-1 libgl1-mesa-dri20.0.8-0ubuntu1~18.04.1
libgarcon-common0.6.4-1 libglapi-mesa20.0.8-0ubuntu1~18.04.1
libgarcon-gtk3-1-00.6.4-1 libglib2.0-02.56.4-0ubuntu0.18.04.8
libgbm120.0.0-1ubuntu1 libglvnd01.0.0-2ubuntu2.3
libgcc11:10-20200304-1ubuntu1 libglx01.0.0-2ubuntu2.3
libgcc-s110-20200304-1ubuntu1 libglx-mesa020.0.8-0ubuntu1~18.04.1
libgcrypt201.8.5-3ubuntu1 libgmp102:6.1.2+dfsg-2
libgdbm61.18.1-5 libgnutls303.5.18-1ubuntu1.4
libgdk-pixbuf2.0-02.40.0+dfsg-3 libgpg-error01.27-6
libgdk-pixbuf2.0-common2.40.0+dfsg-3 libgraphite2-31.3.11-2
libgirepository-1.0-11.63.2-1 libgssapi3-heimdal7.5.0+dfsg-1
libgl11.3.1-1 libgssapi-krb5-21.16-2ubuntu0.2
libgl1-mesa-dri20.0.0-1ubuntu1 libgtk-3-03.22.30-1ubuntu4
libglapi-mesa20.0.0-1ubuntu1 libgtk-3-common3.22.30-1ubuntu4
libglib2.0-02.64.0-1 libgudev-1.0-01:232-2
libglib2.0-bin2.64.0-1 libharfbuzz0b1.7.2-1ubuntu1
libglib2.0-data2.64.0-1 libhcrypto4-heimdal7.5.0+dfsg-1
libglvnd01.3.1-1 libheimbase1-heimdal7.5.0+dfsg-1
libglx01.3.1-1 libheimntlm0-heimdal7.5.0+dfsg-1
libglx-mesa020.0.0-1ubuntu1 libhogweed43.4.1-0ubuntu0.18.04.1
libgmp102:6.1.2+dfsg-4 libhx509-5-heimdal7.5.0+dfsg-1
libgnutls303.6.11.1-2 libice62:1.0.9-2
libgomp110-20200304-1ubuntu1 libicu6060.2-3ubuntu3.1
libgpg-error01.36-7 libid3tag00.15.1b-13
libgraphite2-31.3.13-11 libidn2-02.0.4-1.1ubuntu0.2
libgssapi3-heimdal7.7.0+dfsg-1 libimlib21.4.10-1
libgssapi-krb5-21.17-6ubuntu4 libinput101.10.4-1ubuntu0.18.04.2
libgstreamer1.0-01.16.2-2 libinput-bin1.10.4-1ubuntu0.18.04.2
libgstreamer-plugins-base1.0-01.16.2-2ubuntu4 libisl190.19-1
libgtk2.0-02.24.32-4ubuntu4 libjack-jackd2-01.9.12~dfsg-2
libgtk2.0-common2.24.32-4ubuntu4
libgtk-3-03.24.14-1ubuntu1
libgtk-3-common3.24.14-1ubuntu1
libgtksourceview-3.0-13.24.11-2
libgtksourceview-3.0-common3.24.11-2
libgudev-1.0-01:233-1
libharfbuzz0b2.6.4-1ubuntu2
libhcrypto4-heimdal7.7.0+dfsg-1
libheimbase1-heimdal7.7.0+dfsg-1
libheimntlm0-heimdal7.7.0+dfsg-1
libhogweed53.5.1+really3.5.1-2
libhx509-5-heimdal7.7.0+dfsg-1
libice62:1.0.10-0ubuntu1
libicu6565.1-1ubuntu2
libidn2-02.2.0-2
libindicator3-716.10.0+18.04.20180321.1-0ubuntu4
libip4tc21.8.4-3ubuntu2
libisl220.22.1-1
libisofs61.5.2-1
libjack-jackd2-01.9.12~dfsg-2build2
libjbig02.1-3.1build1 libjbig02.1-3.1build1
libjpeg88c-2ubuntu8 libjpeg88c-2ubuntu8
libjpeg-turbo82.0.3-0ubuntu1 libjpeg-turbo81.5.2-0ubuntu5.18.04.4
libjson-c40.13.1+dfsg-7 libjson-glib-1.0-01.4.2-3ubuntu0.18.04.1
libjson-glib-1.0-01.4.4-2ubuntu1 libjson-glib-1.0-common1.4.2-3ubuntu0.18.04.1
libjson-glib-1.0-common1.4.4-2ubuntu1 libk5crypto31.16-2ubuntu0.2
libjte21.22-3build1 libkeyutils11.5.9-9.2ubuntu2
libk5crypto31.17-6ubuntu4 libkmod224-1ubuntu3.5
libkeybinder-3.0-00.3.2-1 libkrb5-26-heimdal7.5.0+dfsg-1
libkeyutils11.6-6ubuntu1 libkrb5-31.16-2ubuntu0.2
libkmod227-1ubuntu1 libkrb5support01.16-2ubuntu0.2
libkrb5-26-heimdal7.7.0+dfsg-1
libkrb5-31.17-6ubuntu4
libkrb5support01.17-6ubuntu4
libksba81.3.5-2 libksba81.3.5-2
liblcms2-22.9-4 liblcms2-22.9-1ubuntu0.1
libldap-2.4-22.4.49+dfsg-1ubuntu1 libldap-2.4-22.4.45+dfsg-1ubuntu1.10
libldap-common2.4.49+dfsg-1ubuntu1 libldap-common2.4.45+dfsg-1ubuntu1.10
liblightdm-gobject-1-01.30.0-0ubuntu3.1 libllvm101:10.0.0-4ubuntu1~18.04.2
libllvm91:9.0.1-9ubuntu1 liblocale-gettext-perl1.07-3build2
liblmdb00.9.23-0ubuntu1 libltdl72.4.6-2
liblocale-gettext-perl1.07-4 liblz4-10.0~r131-2ubuntu3.1
libltdl72.4.6-13 liblzma55.2.2-1.3
liblz4-11.9.2-2 libmount12.31.1-0.4ubuntu3.7
liblzma55.2.4-1
libmagic11:5.38-4
libmagic-mgc1:5.38-4
libmount12.34-0.1ubuntu4
libmpc31.1.0-1 libmpc31.1.0-1
libmpdec22.4.2-3 libmpdec22.4.2-1ubuntu1
libmpfr64.0.2-1 libmpfr64.0.1-1
libncurses66.1+20191019-1ubuntu1 libmtdev11.1.5-1ubuntu3
libncursesw66.1+20191019-1ubuntu1 libncurses56.1-1ubuntu1.18.04
libnettle73.5.1+really3.5.1-2 libncursesw56.1-1ubuntu1.18.04
libnewt0.520.52.21-4ubuntu2 libnettle63.4.1-0ubuntu0.18.04.1
libnghttp2-141.40.0-1 libnghttp2-141.30.0-1ubuntu1
libnotify40.7.8-1ubuntu4 libnpth01.5-3
libnpth01.6-1 libobrender32v53.6.1-7ubuntu0.1
libogg01.3.4-0ubuntu1 libobt2v53.6.1-7ubuntu0.1
libopus01.3.1-0ubuntu1 libogg01.3.2-1
liborc-0.4-01:0.4.31-1 libopus01.1.2-1ubuntu1
libp11-kit00.23.18.1-2 liborc-0.4-01:0.4.28-1
libpackagekit-glib2-181.1.13-2build1 libp11-kit00.23.9-2ubuntu0.1
libpam0g1.3.1-5ubuntu4 libpam0g1.1.8-3.6ubuntu2.18.04.3
libpam-modules1.3.1-5ubuntu4 libpam-modules1.1.8-3.6ubuntu2.18.04.3
libpam-modules-bin1.3.1-5ubuntu4 libpam-modules-bin1.1.8-3.6ubuntu2.18.04.3
libpam-runtime1.3.1-5ubuntu4 libpam-runtime1.1.8-3.6ubuntu2.18.04.3
libpam-systemd244.3-1ubuntu1 libpango-1.0-01.40.14-1ubuntu0.1
libpango-1.0-01.44.7-1ubuntu3 libpangocairo-1.0-01.40.14-1ubuntu0.1
libpangocairo-1.0-01.44.7-1ubuntu3 libpangoft2-1.0-01.40.14-1ubuntu0.1
libpangoft2-1.0-01.44.7-1ubuntu3 libpangoxft-1.0-01.40.14-1ubuntu0.1
libpangoxft-1.0-01.44.7-1ubuntu3 libpciaccess00.14-1
libpciaccess00.16-0ubuntu1 libpcre32:8.39-9
libpcre2-8-010.34-7 libpipeline11.5.0-1
libpcre32:8.39-12 libpixman-1-00.34.0-2
libpipeline11.5.2-2build1 libpng16-161.6.34-1ubuntu0.18.04.2
libpixman-1-00.38.4-0ubuntu1 libprocps62:3.3.12-3ubuntu1.2
libplymouth50.9.4git20200109-0ubuntu8 libproxy1v50.4.15-1ubuntu0.2
libpng16-161.6.37-2 libpsl50.19.1-5build1
libpolkit-agent-1-00.105-26ubuntu1 libpthread-stubs0-dev0.3-4
libpolkit-gobject-1-00.105-26ubuntu1 libpulse01:11.1-1ubuntu7.11
libprocps72:3.3.15-2ubuntu3 libpulsedsp1:11.1-1ubuntu7.11
libproxy1v50.4.15-9ubuntu1 libpython2.7-minimal2.7.17-1~18.04ubuntu1.6
libpsl50.20.2-2 libpython2.7-stdlib2.7.17-1~18.04ubuntu1.6
libpthread-stubs0-dev0.4-1 libpython3.6-minimal3.6.9-1~18.04ubuntu1.4
libpulse01:13.99.1-1ubuntu1 libpython3.6-stdlib3.6.9-1~18.04ubuntu1.4
libpulsedsp1:13.99.1-1ubuntu1 libpython3-stdlib3.6.7-1~18.04
libpulse-mainloop-glib01:13.99.1-1ubuntu1 libpython-stdlib2.7.15~rc1-1
libpython3.8-minimal3.8.2-1 libqt5core5a5.9.5+dfsg-0ubuntu2.5
libpython3.8-stdlib3.8.2-1 libqt5dbus55.9.5+dfsg-0ubuntu2.5
libpython3-stdlib3.8.0-3ubuntu1 libqt5gui55.9.5+dfsg-0ubuntu2.5
libqrencode44.0.2-2 libqt5network55.9.5+dfsg-0ubuntu2.5
libreadline88.0-4 libqt5printsupport55.9.5+dfsg-0ubuntu2.5
librest-0.7-00.8.1-1 libqt5svg55.9.5-0ubuntu1
libroken18-heimdal7.7.0+dfsg-1 libqt5widgets55.9.5+dfsg-0ubuntu2.5
librsvg2-22.46.4-1ubuntu1 libqt5x11extras55.9.5-0ubuntu1
librsvg2-common2.46.4-1ubuntu1 libreadline77.0-3
librtmp12.4+20151223.gitfa8646d.1-2build1 librest-0.7-00.8.0-2
libsamplerate00.1.9-2 libroken18-heimdal7.5.0+dfsg-1
libsasl2-22.1.27+dfsg-2 librsvg2-22.40.20-2ubuntu0.2
libsasl2-modules2.1.27+dfsg-2 librsvg2-common2.40.20-2ubuntu0.2
libsasl2-modules-db2.1.27+dfsg-2 librtmp12.4+20151223.gitfa8646d.1-1
libseccomp22.4.2-2ubuntu2 libsamplerate00.1.9-1
libselinux13.0-1 libsasl2-22.1.27~101-g0780600+dfsg-3ubuntu2.3
libsemanage13.0-1 libsasl2-modules2.1.27~101-g0780600+dfsg-3ubuntu2.3
libsemanage-common3.0-1 libsasl2-modules-db2.1.27~101-g0780600+dfsg-3ubuntu2.3
libsensors51:3.6.0-2ubuntu1 libseccomp22.5.1-1ubuntu1~18.04.1
libsensors-config1:3.6.0-2ubuntu1 libselinux12.7-2build2
libsepol13.0-1 libsemanage12.7-2build2
libsigsegv22.12-2 libsemanage-common2.7-2build2
libslang22.3.2-4 libsensors41:3.4.0-4
libsm62:1.2.3-1 libsepol12.7-1
libsmartcols12.34-0.1ubuntu4 libsigsegv22.12-1
libsnapd-glib11.56-0ubuntu1 libsm62:1.2.2-1
libsndfile11.0.28-7 libsmartcols12.31.1-0.4ubuntu3.7
libsoup2.4-12.69.90-1 libsnapd-glib11.58-0ubuntu0.18.04.0
libsoup-gnome2.4-12.69.90-1 libsndfile11.0.28-4ubuntu0.18.04.2
libsoxr00.1.3-2build1 libsoup2.4-12.62.1-1ubuntu0.4
libspeexdsp11.2~rc1.2-1.1ubuntu1 libsoup-gnome2.4-12.62.1-1ubuntu0.4
libsqlite3-03.31.1-3 libspeexdsp11.2~rc1.2-1ubuntu2
libss21.45.3-4ubuntu2 libsqlite3-03.22.0-1ubuntu0.4
libssh-40.9.3-2ubuntu1 libss21.44.1-1ubuntu1.3
libssl1.11.1.1d-2ubuntu6 libssl1.0.01.0.2n-1ubuntu5.7
libstartup-notification00.12-6 libssl1.11.1.1-1ubuntu2.1~18.04.13
libstdc++610-20200304-1ubuntu1 libstartup-notification00.12-5
libstemmer0d0+svn585-2 libstdc++68.4.0-1ubuntu1~18.04
libsystemd0244.3-1ubuntu1 libsystemd0237-3ubuntu10.51
libtag1v51.11.1+dfsg.1-0.3ubuntu1 libtasn1-64.13-2
libtag1v5-vanilla1.11.1+dfsg.1-0.3ubuntu1 libtdb11.3.15-2
libtagc01.11.1+dfsg.1-0.3ubuntu1 libthai00.1.27-2
libtasn1-64.15.0-2 libthai-data0.1.27-2
libtdb11.4.2-3build1 libtiff54.0.9-5ubuntu0.4
libthai00.1.28-3 libtinfo56.1-1ubuntu1.18.04
libthai-data0.1.28-3 libudev1237-3ubuntu10.51
libthunarx-3-01.8.12-1 libunistring20.9.9-0ubuntu2
libtiff54.1.0+git191117-2 libutempter01.1.6-3
libtinfo66.1+20191019-1ubuntu1 libuuid12.31.1-0.4ubuntu3.7
libuchardet00.0.6-3 libvorbis0a1.3.5-4.2
libudev1244.3-1ubuntu1 libvorbisenc21.3.5-4.2
libunique-1.0-01.1.6-6 libwacom20.29-1
libunistring20.9.10-2 libwacom-common0.29-1
libunwind81.2.1-9 libwayland-client01.16.0-1ubuntu1.1~18.04.3
libupower-glib30.99.11-1build2 libwayland-cursor01.16.0-1ubuntu1.1~18.04.3
libutempter01.1.6-4 libwayland-egl11.16.0-1ubuntu1.1~18.04.3
libuuid12.34-0.1ubuntu4 libwayland-server01.16.0-1ubuntu1.1~18.04.3
libvorbis0a1.3.6-2ubuntu1 libwebrtc-audio-processing10.3-1
libvorbisenc21.3.6-2ubuntu1 libwind0-heimdal7.5.0+dfsg-1
libvte-2.91-00.59.91-0ubuntu1 libwrap07.6.q-27
libvte-2.91-common0.59.91-0ubuntu1 libx11-62:1.6.4-3ubuntu0.4
libvulkan11.2.131.2-1 libx11-data2:1.6.4-3ubuntu0.4
libwayland-client01.18.0-1 libx11-dev2:1.6.4-3ubuntu0.4
libwayland-cursor01.18.0-1 libx11-xcb12:1.6.4-3ubuntu0.4
libwayland-egl11.18.0-1 libxau61:1.0.8-1ubuntu1
libwayland-server01.18.0-1 libxau-dev1:1.0.8-1ubuntu1
libwebp60.6.1-2
libwebrtc-audio-processing10.3.1-0ubuntu2
libwind0-heimdal7.7.0+dfsg-1
libwnck-3-03.32.0-1
libwnck-3-common3.32.0-1
libwrap07.6.q-30
libx11-62:1.6.9-2
libx11-data2:1.6.9-2
libx11-dev2:1.6.9-2
libx11-xcb12:1.6.9-2
libxau61:1.0.9-0ubuntu1
libxau-dev1:1.0.9-0ubuntu1
libxaw72:1.0.13-1 libxaw72:1.0.13-1
libxcb11.13.1-5build1 libxcb11.13-2~ubuntu18.04
libxcb1-dev1.13.1-5build1 libxcb1-dev1.13-2~ubuntu18.04
libxcb-dri2-01.13.1-5build1 libxcb-dri2-01.13-2~ubuntu18.04
libxcb-dri3-01.13.1-5build1 libxcb-dri3-01.13-2~ubuntu18.04
libxcb-glx01.13.1-5build1 libxcb-glx01.13-2~ubuntu18.04
libxcb-present01.13.1-5build1 libxcb-icccm40.4.1-1ubuntu1
libxcb-render01.13.1-5build1 libxcb-image00.4.0-1build1
libxcb-shape01.13.1-5build1 libxcb-keysyms10.4.0-1
libxcb-shm01.13.1-5build1 libxcb-present01.13-2~ubuntu18.04
libxcb-sync11.13.1-5build1 libxcb-randr01.13-2~ubuntu18.04
libxcb-render01.13-2~ubuntu18.04
libxcb-render-util00.3.9-1
libxcb-shape01.13-2~ubuntu18.04
libxcb-shm01.13-2~ubuntu18.04
libxcb-sync11.13-2~ubuntu18.04
libxcb-util10.4.0-0ubuntu3 libxcb-util10.4.0-0ubuntu3
libxcb-xfixes01.13.1-5build1 libxcb-xfixes01.13-2~ubuntu18.04
libxcomposite11:0.4.5-0ubuntu1 libxcb-xinerama01.13-2~ubuntu18.04
libxcursor11:1.2.0-2 libxcb-xkb11.13-2~ubuntu18.04
libxdamage11:1.1.5-1 libxcomposite11:0.4.4-2
libxdmcp61:1.1.3-0ubuntu1 libxcursor11:1.1.15-1
libxdmcp-dev1:1.1.3-0ubuntu1 libxdamage11:1.1.4-3
libxext62:1.3.4-0ubuntu1 libxdmcp61:1.1.2-3
libxfce4panel-2.0-44.14.3-1 libxdmcp-dev1:1.1.2-3
libxfce4ui-1-04.14.1-1ubuntu1 libxext62:1.3.3-1
libxfce4ui-2-04.14.1-1ubuntu1
libxfce4ui-common4.14.1-1ubuntu1
libxfce4ui-utils4.14.1-1ubuntu1
libxfce4util74.14.0-1
libxfce4util-common4.14.0-1
libxfconf-0-34.14.1-1
libxfixes31:5.0.3-1 libxfixes31:5.0.3-1
libxfont21:2.0.3-1 libxfont21:2.0.3-1
libxft22.3.3-0ubuntu1 libxft22.3.2-1
libxi62:1.7.10-0ubuntu1 libxi62:1.7.9-1
libxinerama12:1.1.4-2 libxinerama12:1.1.3-1
libxkbcommon00.10.0-1 libxkbcommon00.8.2-1~ubuntu18.04.1
libxkbfile11:1.1.0-0ubuntu1 libxkbcommon-x11-00.8.2-1~ubuntu18.04.1
libxklavier165.4-4 libxkbfile11:1.0.9-2
libxml22.9.10+dfsg-1ubuntu3 libxml22.9.4+dfsg1-6.1ubuntu1.4
libxmu62:1.1.3-0ubuntu1 libxmu62:1.1.2-2
libxmuu12:1.1.3-0ubuntu1 libxmuu12:1.1.2-2
libxnvctrl0440.64-0ubuntu1
libxpm41:3.5.12-1 libxpm41:3.5.12-1
libxpresent11.0.0-2build1 libxrandr22:1.5.1-1
libxrandr22:1.5.2-0ubuntu1
libxrender11:0.9.10-1 libxrender11:0.9.10-1
libxres12:1.2.0-3
libxshmfence11.3-1 libxshmfence11.3-1
libxt61:1.1.5-1 libxt61:1.1.5-1
libxtst62:1.2.3-1 libxtst62:1.2.3-1
libxv12:1.0.11-1 libxv12:1.0.11-1
libxxf86dga12:1.1.5-0ubuntu1 libxxf86dga12:1.1.4-1
libxxf86vm11:1.1.4-1build1 libxxf86vm11:1.1.4-1
libyaml-0-20.2.2-1 libzstd11.3.3+dfsg-2ubuntu1.2
libzstd11.4.4+dfsg-1 locales2.27-3ubuntu1.4
lightdm-gtk-greeter2.0.6-0ubuntu1 login1:4.5-1ubuntu2
locales2.30-0ubuntu3 lsb-base9.20170808ubuntu1
login1:4.5-1.1ubuntu4 lsb-release9.20170808ubuntu1
logsave1.45.3-4ubuntu2 man-db2.8.3-2ubuntu0.1
lsb-base11.1.0ubuntu2
lsb-release11.1.0ubuntu2
man-db2.9.1-1
mawk1.3.3-17ubuntu3 mawk1.3.3-17ubuntu3
mime-support3.64ubuntu1 mime-support3.60ubuntu1
mount2.34-0.1ubuntu4 mount2.31.1-0.4ubuntu3.7
mousepad0.4.2-1 multiarch-support2.27-3ubuntu1.4
ncurses-base6.1+20191019-1ubuntu1 ncurses-base6.1-1ubuntu1.18.04
ncurses-bin6.1+20191019-1ubuntu1 ncurses-bin6.1-1ubuntu1.18.04
numix-gtk-theme2.6.7-5 obconf1:2.0.4+git20150213-2
openssl1.1.1d-2ubuntu6 openbox3.6.1-7ubuntu0.1
packagekit1.1.13-2build1 openssh-client1:7.6p1-4ubuntu0.5
passwd1:4.5-1.1ubuntu4 openssl1.1.1-1ubuntu2.1~18.04.13
perl-base5.30.0-9 passwd1:4.5-1ubuntu2
pinentry-curses1.1.0-3 perl-base5.26.1-6ubuntu0.5
plymouth0.9.4git20200109-0ubuntu8 pinentry-curses1.1.0-1
plymouth-label0.9.4git20200109-0ubuntu8 procps2:3.3.12-3ubuntu1.2
plymouth-theme-ubuntu-text0.9.4git20200109-0ubuntu8 publicsuffix20180223.1310-1
plymouth-theme-xubuntu-logo20.04 pulseaudio1:11.1-1ubuntu7.11
plymouth-theme-xubuntu-text20.04 pulseaudio-utils1:11.1-1ubuntu7.11
policykit-10.105-26ubuntu1 python2.7.15~rc1-1
procps2:3.3.15-2ubuntu3 python2.72.7.17-1~18.04ubuntu1.6
publicsuffix20200201.2258-1 python2.7-minimal2.7.17-1~18.04ubuntu1.6
pulseaudio1:13.99.1-1ubuntu1 python33.6.7-1~18.04
pulseaudio-utils1:13.99.1-1ubuntu1 python3.63.6.9-1~18.04ubuntu1.4
python33.8.0-3ubuntu1 python3.6-minimal3.6.9-1~18.04ubuntu1.4
python3.83.8.2-1 python3-apt1.6.5ubuntu0.6
python3.8-minimal3.8.2-1 python3-dbus1.2.6-1
python3-apt1.9.7 python3-gi3.26.1-2ubuntu1
python3-cairo1.16.2-2ubuntu2 python3-minimal3.6.7-1~18.04
python3-certifi2019.11.28-1 python3-software-properties0.96.24.32.14
python3-chardet3.0.4-4build1 python-apt-common1.6.5ubuntu0.6
python3-configobj5.0.6-3build1 python-minimal2.7.15~rc1-1
python3-dbus1.2.16-1build1 readline-common7.0-3
python3-gi3.34.0-6build1 sed4.4-2
python3-gi-cairo3.34.0-6build1 sensible-utils0.0.12
python3-idna2.6-2build1 shared-mime-info1.9-2
python3-minimal3.8.0-3ubuntu1 software-properties-common0.96.24.32.14
python3-pkg-resources45.2.0-1
python3-psutil5.5.1-1ubuntu4
python3-requests2.22.0-2build1
python3-requests-unixsocket0.2.0-2
python3-six1.14.0-2
python3-software-properties0.98.7
python3-urllib31.25.8-1
python-apt-common1.9.7
readline-common8.0-4
ristretto0.10.0-1
sed4.7-1
sensible-utils0.0.12+nmu1
shared-mime-info1.10-1
shimmer-themes2.1.3
software-properties-common0.98.7
ssl-cert1.0.39 ssl-cert1.0.39
sudo1.8.31-1ubuntu1 sudo1.8.21p2-3ubuntu1.4
systemd244.3-1ubuntu1 sysvinit-utils2.88dsf-59.10ubuntu1
systemd-sysv244.3-1ubuntu1 tar1.29b-2ubuntu0.2
sysvinit-utils2.96-1ubuntu1 tzdata2021a-0ubuntu0.18.04
tar1.30+dfsg-6 ubuntu-keyring2018.09.18.1~18.04.2
terminator1.91-4 ubuntu-mono16.10+18.04.20181005-0ubuntu1
thunar1.8.12-1 ucf3.0038
thunar-archive-plugin0.4.0-2 udev237-3ubuntu10.51
thunar-data1.8.12-1 util-linux2.31.1-0.4ubuntu3.7
thunar-media-tags-plugin0.3.0-2 x11-apps7.7+6ubuntu1
tzdata2019c-3 x11-common1:7.7+19ubuntu7.1
ubuntu-keyring2018.09.18.1 x11proto-core-dev2018.4-4
ubuntu-mono19.04-0ubuntu2 x11proto-dev2018.4-4
ucf3.0038+nmu1 x11-session-utils7.7+2build1
udev244.3-1ubuntu1 x11-utils7.7+3build1
util-linux2.34-0.1ubuntu4 x11-xkb-utils7.7+3ubuntu0.18.04.1
x11-apps7.7+8 x11-xserver-utils7.7+7build1
x11-common1:7.7+19ubuntu14 xbitmaps1.1.1-2
x11proto-core-dev2019.2-1ubuntu1 xfonts-base1:1.0.4+nmu1
x11proto-dev2019.2-1ubuntu1 xfonts-encodings1:1.0.4-2
x11-session-utils7.7+4
x11-utils7.7+5
x11-xkb-utils7.7+5
x11-xserver-utils7.7+8
xfburn0.6.2-0ubuntu1
xfce44.14
xfce4-appfinder4.14.0-1
xfce4-battery-plugin1.1.3-1
xfce4-clipman2:1.4.4-0ubuntu1
xfce4-clipman-plugin2:1.4.4-0ubuntu1
xfce4-cpufreq-plugin1.2.1-1
xfce4-cpugraph-plugin1.1.0-1
xfce4-datetime-plugin0.8.0-1
xfce4-dict0.8.3-1
xfce4-diskperf-plugin2.6.2-1
xfce4-fsguard-plugin1.1.1-1
xfce4-genmon-plugin4.0.2-1
xfce4-goodies4.12.6
xfce4-mailwatch-plugin1.2.0-3
xfce4-netload-plugin1.3.2-1
xfce4-notes1.8.1-3
xfce4-notes-plugin1.8.1-3
xfce4-notifyd0.4.4-1
xfce4-panel4.14.3-1
xfce4-places-plugin1.8.1-1
xfce4-pulseaudio-plugin0.4.2-1
xfce4-screenshooter1.9.7-1
xfce4-sensors-plugin1.3.0-2build1
xfce4-session4.14.0-0ubuntu1
xfce4-settings4.14.2-1ubuntu1
xfce4-smartbookmark-plugin0.5.1-1
xfce4-systemload-plugin1:1.2.3-1ubuntu1
xfce4-taskmanager1.2.2-1
xfce4-terminal0.8.9.1-1
xfce4-timer-plugin1.7.0-1
xfce4-verve-plugin2.0.0-1
xfce4-wavelan-plugin0.6.1-1
xfce4-weather-plugin0.10.1-1
xfce4-whiskermenu-plugin2.4.2-1
xfce4-xkb-plugin1:0.8.1-2
xfconf4.14.1-1
xfdesktop44.14.2-1
xfdesktop4-data4.14.2-1
xfonts-base1:1.0.5
xfonts-encodings1:1.0.5-0ubuntu1
xfonts-utils1:7.7+6 xfonts-utils1:7.7+6
xfwm44.14.0-2 xkb-data2.23.1-1ubuntu1.18.04.1
xkb-data2.29-2
xorg-sgml-doctools1:1.11-1 xorg-sgml-doctools1:1.11-1
xorgxrdp1:0.2.12-1 xorgxrdp0.9.5-2
xrdp0.9.12-1 xrdp0.9.5-2
xserver-common2:1.20.7-2ubuntu2 xserver-common2:1.19.6-1ubuntu4.9
xserver-xorg-core2:1.20.7-2ubuntu2 xserver-xorg-core2:1.19.6-1ubuntu4.9
xtrans-dev1.4.0-1 xterm330-1ubuntu2.2
xubuntu-artwork20.04 xtrans-dev1.3.5-1
xubuntu-default-settings20.04 xutils1:7.7+19ubuntu7.1
xubuntu-icon-theme20.04 zlib1g1:1.2.11.dfsg-0ubuntu2
xubuntu-wallpapers20.04
xutils1:7.7+19ubuntu14
zlib1g1:1.2.11.dfsg-2ubuntu1

View File

@ -14,22 +14,6 @@ available_architectures:
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"} - { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
- { arch: "{{ arch_armhf }}", tag: "arm32v7-latest"} - { arch: "{{ arch_armhf }}", tag: "arm32v7-latest"}
# development version
development_versions: true
development_versions_items:
- { tag: "latest", desc: "XFCE Focal" }
- { tag: "xfce-bionic", desc: "XFCE Bionic" }
- { tag: "kde-focal", desc: "KDE Focal" }
- { tag: "kde-bionic", desc: "KDE Bionic" }
- { tag: "lxde-focal", desc: "LXDE Focal" }
- { tag: "lxde-bionic", desc: "LXDE Bionic" }
- { tag: "budgie-focal", desc: "Budgie Focal" }
- { tag: "budgie-bionic", desc: "Budgie Bionic" }
- { tag: "mate-focal", desc: "MATE Focal" }
- { tag: "mate-bionic", desc: "MATE Bionic" }
- { tag: "kylin-focal", desc: "Kylin Focal" }
- { tag: "kylin-bionic", desc: "Kylin Bionic" }
# container parameters # container parameters
param_container_name: "{{ project_name }}" param_container_name: "{{ project_name }}"
param_usage_include_vols: false param_usage_include_vols: false

10
root/defaults/menu.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
<menu id="root-menu" label="MENU">
<item label="xterm" icon="/usr/share/icons/hicolor/48x48/apps/xterm-color.png"><action name="Execute"><command>/usr/bin/xterm</command></action></item>
<item label="Featherpad" icon="/usr/share/icons/hicolor/scalable/apps/featherpad.svg"><action name="Execute"><command>/usr/bin/featherpad</command></action></item>
<item label="Firefox" icon="/usr/share/icons/hicolor/48x48/apps/firefox.png"><action name="Execute"><command>/usr/bin/firefox</command></action></item>
<item label="OBConf" icon="/usr/share/pixmaps/obconf.png"><action name="Execute"><command>/usr/bin/obconf</command></action></item>
<item label="Reload OB"><action name="Reconfigure"/></item>
</menu>
</openbox_menu>

View File

@ -1,2 +1,3 @@
#!/bin/bash #!/bin/bash
/usr/bin/startxfce4 > /dev/null 2>&1 /usr/bin/pulseaudio --start
/usr/bin/openbox-session > /dev/null 2>&1

View File

@ -0,0 +1,7 @@
#!/usr/bin/with-contenv bash
# default file copies first run
[[ ! -f /config/.config/openbox/menu.xml ]] && \
mkdir -p /config/.config/openbox && \
cp /defaults/menu.xml /config/.config/openbox/menu.xml && \
chown -R abc:abc /config/.config