https://github.com/mhitza/docker-linuxdeployqt
https://github.com/mhitza/docker-linuxdeployqt
docker linuxdeployqt
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mhitza/docker-linuxdeployqt
- Owner: mhitza
- Created: 2020-05-25T09:50:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-23T01:03:20.000Z (about 5 years ago)
- Last Synced: 2025-01-04T04:32:24.616Z (over 1 year ago)
- Topics: docker, linuxdeployqt
- Language: Dockerfile
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
Awesome Lists containing this project
README
A docker packaged solution for AppImage packaging using [linuxdeployqt](https://github.com/probonopd/linuxdeployqt)
Docker builds are published on [Docker Hub](https://hub.docker.com/r/mhitza/linuxdeployqt) and GitHub Registry
(check the Packages section). For the most recent Qt versions built check the Actions tab.
## Motivation
This container was written mostly to automate the AppImage packaging process of the Seamly2D repository. As linuxdeployqt has a strict dependency on a specific version of glibc, it felt easier to use a container instead of settings up Ubuntu 16.04 instances/GitHub runner.
> When the linuxdeployqt mininum version of Ubuntu changes, the images in this repository should get updated. If they aren't, please create an issue.
Installs Qt (differs by branch name) + other custom versions used in the Seamly2D repository, and linuxqtdeploy v6
## Usage
```shell
docker run -e EXTRA_BINARIES="" --cap-add SYS_ADMIN --device /dev/fuse -v `pwd`/appdir:/app/usr:Z --rm -ti linuxdeployqt
```
> EXTRA_BINARIES is a space separatered list of binary names; located in /app/usr/bin/ and further passed on
to linuxdeployqt via the executable argument
Because `linuxdeployqt` uses fuse we have to grant it SYS\_ADMIN capabilities and allow access to /dev/fuse.
See https://github.com/docker/for-linux/issues/321