-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.cli.yml
More file actions
50 lines (45 loc) · 1.02 KB
/
docker-compose.cli.yml
File metadata and controls
50 lines (45 loc) · 1.02 KB
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
47
48
49
50
version: '3.8'
services:
z:
image: diegodisant/z-lang:${Z_IMAGE_TAG:-latest}
build:
context: .
dockerfile: ./docker/z/Dockerfile
entrypoint: gcc
network_mode: host
container_name: z-lang-cli
volumes:
- .:/z
test_unit:
image: diegodisant/z-lang:${Z_IMAGE_TAG:-latest}
build:
context: .
dockerfile: ./docker/z/Dockerfile
entrypoint: gcc
network_mode: host
container_name: z-lang-test-unit-cli
volumes:
- .:/z
yarn:
image: whatwedo/yarn:${YARN_IMAGE_TAG:-v2.2}
init: true
working_dir: /z
entrypoint: yarn
network_mode: host
container_name: z-yarn-cli
volumes:
- .:/z
- yarn-cache:/root/.cache/yarn/v1
lint-check:
image: whatwedo/yarn:${YARN_IMAGE_TAG:-v2.2}
init: true
working_dir: /z
entrypoint: 'yarn lint:check'
network_mode: host
container_name: z-yarn-lint-checker-cli
volumes:
- .:/z
- yarn-cache:/root/.cache/yarn/v1
volumes:
yarn-cache:
name: 'yarn-cache'