-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
46 lines (42 loc) · 1.19 KB
/
docker-compose.yml
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
43
44
45
46
version: '3.8'
services:
dockerd:
image: ghcr.io/foundriesio/moby:25.0.3_fio
command: ["dockerd", "-H", "unix:///var/run/docker/docker.sock"]
volumes:
- ${DOCKER_DATA_ROOT}:/var/lib/docker
- docker-runtime:/var/run/docker
- ${SOTA_DIR}:/var/sota
privileged: true
aklite-e2e-test:
build:
context: ${AKLITE_E2E_TEST_DOCKER_DIR}
args:
AKLITE_VER: master
dockerfile: Dockerfile
image: aklite-e2e-test
volumes:
- "${PWD}:${PWD}"
- ${SYSROOT}:/sysroot
- ${SYSROOT}/ostree:/ostree
- ${BOOTDIR}:/boot
- ${SOTA_DIR}:/var/sota
- ${USR_SOTA_DIR}:/usr/lib/sota/conf.d
- ${ETC_SOTA_DIR}:/etc/sota/conf.d
- ${DOCKER_DATA_ROOT}:/var/lib/docker
- docker-runtime:/var/run/docker
working_dir: "${PWD}"
hostname: device
user: "root"
environment:
- FACTORY=${FACTORY}
- AUTH_TOKEN=${AUTH_TOKEN}
- DEVICE_TAG=${DEVICE_TAG}
- DOCKER_HOST=unix:///var/run/docker/docker.sock
- DOCKER_CONFIG=/usr/lib/docker
- CXX=clang++
- CC=clang
depends_on:
- dockerd
volumes:
docker-runtime: