diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 251b09679..cdfa6ee55 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,28 @@ -version: "3.3" +version: "3.7" + +x-default-service: &linux + working_dir: /qbs + volumes: + - .:/qbs + network_mode: bridge + cap_add: + - SYS_PTRACE services: + bionic: + << : *linux + hostname: bionic + image: ${DOCKER_USER:-qbsbuild}/qbsdev:bionic + build: + dockerfile: docker/bionic/Dockerfile + context: . + args: + QT_VERSION: 5.12.4 + QTCREATOR_VERSION: 4.9.2 + stretch: + << : *linux + hostname: stretch image: ${DOCKER_USER:-qbsbuild}/qbsdev:stretch build: dockerfile: docker/stretch/Dockerfile @@ -9,9 +30,3 @@ services: args: QT_VERSION: 5.12.4 QTCREATOR_VERSION: 4.9.2 - working_dir: /qbs - volumes: - - .:/qbs - network_mode: bridge - cap_add: - - SYS_PTRACE |