Add docker-compose.yml to be used for compile tests

Ideally this will be expanded in order to simplify compilation tests of
DAHDI on supported distributions.

Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
This commit is contained in:
Shaun Ruffell
2020-02-23 19:39:26 -06:00
parent 26fb7c34cb
commit 90e8a54e3a
8 changed files with 155 additions and 0 deletions

57
docker-compose.yml Normal file
View File

@@ -0,0 +1,57 @@
version: '3'
services:
test-centos7:
build:
context: ./
dockerfile: test/docker/centos7
volumes:
- ./:/source
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-centos6:
build:
context: ./
dockerfile: test/docker/centos6
volumes:
- ./:/source
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-debianstable:
build:
context: ./
dockerfile: test/docker/debianstable
volumes:
- ./:/source
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-debiantesting:
build:
context: ./
dockerfile: test/docker/debiantesting
volumes:
- ./:/source
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-fedorarawhide:
build:
context: ./
dockerfile: test/docker/fedorarawhide
volumes:
- ./:/source
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true