-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.cli.yml
More file actions
35 lines (32 loc) · 802 Bytes
/
compose.cli.yml
File metadata and controls
35 lines (32 loc) · 802 Bytes
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
version: '3.8'
services:
go:
image: diegodisant/blockchain-go-cli:${IMAGE_TAG:-latest}
build:
context: .
target: builder
container_name: blockchain_go_cli
network_mode: host
volumes:
- .:/app
entrypoint: go
unit-test:
image: diegodisant/blockchain-unit-test:${IMAGE_TAG:-latest}
build:
context: .
target: builder
container_name: blockchain_unit_test
network_mode: host
volumes:
- .:/app
entrypoint: go test -v ./test/unit/...
bench-test:
image: diegodisant/blockchain-bench-test:${IMAGE_TAG:-latest}
build:
context: .
target: builder
container_name: blockchain_bench_test
network_mode: host
volumes:
- .:/app
entrypoint: go test -v -count 1 -bench=. ./test/bench/...