docker-ubuntu-pyside-xvfb/README.md

46 lines
1.7 KiB
Markdown
Raw Normal View History

# docker-ubuntu-pyside-xvfb
2020-08-27 09:58:21 +00:00
---
This repository contains the Dockerfiles required to build all tags on [Docker Hub](https://hub.docker.com/repository/docker/ad5001/ubuntu-pyside-xvfb/):
2024-09-19 17:41:06 +00:00
## All tags
- a version of Python (v3.12 for PySide6, v3.10 for PySide2)
- the tagged version of PySide2/6.
- Python packages: `pip`, `requests`, `packaging`, `pytest` (+ `pytest-cov` + `pytest-qt`)
- `xvfb`, `xdotool`, and `wmctrl`.
2024-09-19 17:41:06 +00:00
## Linux tags
- a Ubuntu base (noble for PySide6 and jammy for PySide2)
- python3 is available under `/usr/bin/python3`.
- External pip management disabled (allows you to install packages from pip directly).
- `make`, `git`, `rpm`, and `dh-python`.
2024-09-19 17:41:06 +00:00
Additionally, the linux-6*-latex tag include a full TeXlive installation including `dvipng` and the latex extras.
## Wine tags
- The latest `winehq-staging` under a Ubuntu base.
- `/usr/bin/python` calling `python3` under wine.
- `/usr/bin/pip` calling `pip` under wine.
- `/usr/bin/pyinstaller` calling `pyinstaller` under wine.
- `wget`, `curl`, `git`, `p7zip-full`, `unzip` and `nsis`.
2024-09-19 17:41:06 +00:00
---
2020-08-27 09:58:21 +00:00
2024-09-19 21:28:21 +00:00
## Building docker files
It's recommended to use the `build.sh` bash script to build the Docker image. They use the `config.toml` in each directory to provide the data for each build,
including the specific PySide versions to use for each.
Usage:
`bash build.sh [--pyside2] [--pyside6] [--latest] [--no-push] [--repo=ad5001/ubuntu-pyside-xvfb]`
- --pyside2: Build PySide2 images.
- --pyside6: Build PySide6 images.
- --latest: (Optional) Tag these as latest.
- --no-push: (Optional) Do not push the tags to the Docker registry.
- --repo: (Optional) Repository on the Docker registry which to push the images to.
2023-05-23 03:46:30 +00:00
NOTE: In Docker, use xvfb-run to run a program within a Xvfb server.