https://github.com/arbmind/qbs-containers
Docker containers for building Qbs projects with Qt and Clang or GCC
https://github.com/arbmind/qbs-containers
clang cpp docker-container gcc qbs qt6
Last synced: about 2 months ago
JSON representation
Docker containers for building Qbs projects with Qt and Clang or GCC
- Host: GitHub
- URL: https://github.com/arbmind/qbs-containers
- Owner: arBmind
- Created: 2022-03-27T20:23:05.000Z (about 4 years ago)
- Default Branch: develop
- Last Pushed: 2026-01-25T03:40:22.000Z (5 months ago)
- Last Synced: 2026-01-25T05:54:07.539Z (5 months ago)
- Topics: clang, cpp, docker-container, gcc, qbs, qt6
- Language: HCL
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Docker images for Qbs
This project builds Docker images around the Qbs build system used for CI runs.
| Image (latest versions) | Size |
| -- | -- |
| [](https://hub.docker.com/r/arbmind/qbs-clang) | [](https://hub.docker.com/r/arbmind/qbs-clang) |
| [](https://hub.docker.com/r/arbmind/qbs-clang-libstdcpp) | [](https://hub.docker.com/r/arbmind/qbs-clang-libstdcpp) |
| [](https://hub.docker.com/r/arbmind/qbs-clang-libstdcpp-qt) | [](https://hub.docker.com/r/arbmind/qbs-clang-libstdcpp-qt) |
| [](https://hub.docker.com/r/arbmind/qbs-gcc) | [](https://hub.docker.com/r/arbmind/qbs-gcc) |
| [](https://hub.docker.com/r/arbmind/qbs-gcc-qt) | [](https://hub.docker.com/r/arbmind/qbs-gcc-qt) |
## Versions
The compiler and Qt versions, modules and packages are provided as build args.
See links to Dockerhub for older versions listed in tags.
See [`.github/workflows/docker_build.yml`](https://github.com/arBmind/qbs-containers/blob/develop/.github/workflows/docker_build.yml) for the current bulid matrix.
## Basic Usage
The default entry point is the qbs command.
```bash
docker run -it \
--mount src="$(pwd)",target=/project,type=bind \
-w /project \
arbmind/qbs-gcc:latest \
build -d /tmp/qbs -p autotest-runner
```
This mounts your current directory to `/project` in the container. Changes the workdir to `/project` and runs qbs with build path `/tmp/qbs` and targets the `autotest-runner`.
If you want to run an interactive shell simply add the `--entrypoint /bin/bash` option.
## Details
The Dockerfile is multi staged and has different targets for all the variants.
All targets with underscores are meant to be internally only.
Note: clang libc++ Qt combination is missing because the Qt Company does not publish binaries built for libc++.