forked from DLR-TS/libadore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
42 lines (38 loc) · 1.04 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '3.4'
services:
libadore_build:
image: libadore_build:${LIBADORE_TAG:-latest}
container_name: libadore_build:${LIBADORE_TAG}
hostname: libadore_build
build:
context: .
network: host
dockerfile: Dockerfile.libadore.build
args:
- CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH:-}
- LIBADORE_TAG=${LIBADORE_TAG:-latest}
libadore:
image: libadore:${LIBADORE_TAG:-latest}
container_name: libadore:${LIBADORE_TAG}
hostname: libadore
depends_on:
- libadore_build
build:
context: .
network: host
dockerfile: Dockerfile.libadore
args:
- LIBADORE_TAG=${LIBADORE_TAG:-latest}
libadore_test:
image: libadore_test:${LIBADORE_TAG:-latest}
container_name: libadore_test:${LIBADORE_TAG}
hostname: libadore_test
depends_on:
- libadore_build
build:
context: .
network: host
dockerfile: Dockerfile.libadore.test
args:
- LIBADORE_TAG=${LIBADORE_TAG:-latest}
entrypoint: sh -c 'cd build && ctest 2>&1'