-
Notifications
You must be signed in to change notification settings - Fork 201
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
41 lines (33 loc) · 799 Bytes
/
docker-compose.yaml
File metadata and controls
41 lines (33 loc) · 799 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
36
37
38
39
40
41
version: "3.5"
services:
markbuilder:
image: golang:latest
environment:
# Set them in your environment or .env
- GOOS=${GOOS?Missing GOOS.}
- GOARCH=${GOARCH?Missing GOARCH.}
# Example Values
# MacOS 64-bit
# - GOOS=darwin
# - GOARCH=amd64
# MacOS 32-bit
# - GOOS=darwin
# - GOARCH=386
# Linux 64-bit
# - GOOS=linux
# - GOARCH=amd64
# Linux 32-bit
# - GOOS=linux
# - GOARCH=386
# Windows 64-bit
# - GOOS=windows
# - GOARCH=amd64
# Windows 32-bit
# - GOOS=windows
# - GOARCH=386
volumes:
- type: bind
source: ./
target: /go/src/github.com/kovetskiy/mark
working_dir: /go/src/github.com/kovetskiy/mark/
command: make build