packer-cn/docker-compose.yml

28 lines
512 B
YAML
Raw Normal View History

2017-12-12 13:33:16 +03:00
version: '2'
services:
build:
2018-12-18 01:05:31 +03:00
image: jetbrainsinfra/golang:1.11.4
2017-05-15 00:25:50 +03:00
volumes:
2018-12-18 01:05:31 +03:00
- .:/work
- modules:/go/pkg/mod
- cache:/root/.cache
working_dir: /work
2017-05-15 00:25:50 +03:00
command: ./build.sh
2017-12-12 13:33:16 +03:00
test:
2018-12-18 01:05:31 +03:00
image: jetbrainsinfra/golang:1.11.4
2017-12-12 13:33:16 +03:00
volumes:
2018-12-18 01:05:31 +03:00
- .:/work
- modules:/go/pkg/mod
- cache:/root/.cache
working_dir: /work
2017-12-12 13:33:16 +03:00
# network_mode: "container:vpn"
2018-12-18 01:05:31 +03:00
environment:
VSPHERE_USERNAME:
VSPHERE_PASSWORD:
2017-12-12 13:33:16 +03:00
command: ./test.sh
2018-12-18 01:05:31 +03:00
volumes:
modules:
cache: