-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (40 loc) · 977 Bytes
/
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
version: '3.7'
services:
dev:
# privileged: true
image: yoctodev:0.1.0
user: builder
build:
context: ./images/
args:
UID: ${UID}
GID: ${GID}
network: host
target: dev
volumes:
- ~/.ssh/:/home/builder/.ssh/
- .:/workspaces/yoctorasp/:cached
- yoctoartifacts:/yocto_dirs/:rw
working_dir: /workspaces/yoctorasp/
shellcheck:
image: koalaman/shellcheck:v0.7.2
volumes:
- .:/workspaces/yoctorasp/
working_dir: /workspaces/yoctorasp/
container-structure-test:
image: gcr.io/gcp-runtimes/container-structure-test:latest
volumes:
- .:/workspaces/yocto-project/
- /var/run/docker.sock:/var/runt/docker.sock
working_dir: /workspaces/yoctorasp/
docs:
build:
context: ./images/
target: DOCS
dockerfile: docs.Dockerfile
working_dir: /docs/
volumes:
- ./docs/:/docs/
volumes:
yoctoartifacts:
name: "yoctoartifacts"