@@ -11,7 +11,7 @@ services:
1111 service : zero
1212 volumes :
1313 - type : bind
14- source : ${GOPATH:? GOPATH environment variable is required but not set} /bin
14+ source : ${GOPATH_LINUX_BIN:-$ GOPATH/bin}
1515 target : /gobin
1616 read_only : true
1717 command :
@@ -32,7 +32,7 @@ services:
3232 service : zero
3333 volumes :
3434 - type : bind
35- source : ${GOPATH:? GOPATH environment variable is required but not set} /bin
35+ source : ${GOPATH_LINUX_BIN:-$ GOPATH/bin}
3636 target : /gobin
3737 read_only : true
3838 command :
@@ -52,7 +52,7 @@ services:
5252 service : zero
5353 volumes :
5454 - type : bind
55- source : ${GOPATH:? GOPATH environment variable is required but not set} /bin
55+ source : ${GOPATH_LINUX_BIN:-$ GOPATH/bin}
5656 target : /gobin
5757 read_only : true
5858 command :
@@ -64,7 +64,7 @@ services:
6464 working_dir : /data/alpha1
6565 volumes :
6666 - type : bind
67- source : ${GOPATH:? GOPATH environment variable is required but not set} /bin
67+ source : ${GOPATH_LINUX_BIN:-$ GOPATH/bin}
6868 target : /gobin
6969 read_only : true
7070 - type : bind
@@ -94,7 +94,7 @@ services:
9494 - alpha1
9595 volumes :
9696 - type : bind
97- source : ${GOPATH:? GOPATH environment variable is required but not set} /bin
97+ source : ${GOPATH_LINUX_BIN:-$ GOPATH/bin}
9898 target : /gobin
9999 read_only : true
100100 - type : bind
@@ -124,7 +124,7 @@ services:
124124 - alpha2
125125 volumes :
126126 - type : bind
127- source : ${GOPATH:? GOPATH environment variable is required but not set} /bin
127+ source : ${GOPATH_LINUX_BIN:-$ GOPATH/bin}
128128 target : /gobin
129129 read_only : true
130130 - type : bind
@@ -154,7 +154,7 @@ services:
154154 - alpha3
155155 volumes :
156156 - type : bind
157- source : ${GOPATH:? GOPATH environment variable is required but not set} /bin
157+ source : ${GOPATH_LINUX_BIN:-$ GOPATH/bin}
158158 target : /gobin
159159 read_only : true
160160 - type : bind
@@ -184,7 +184,7 @@ services:
184184 - alpha4
185185 volumes :
186186 - type : bind
187- source : ${GOPATH:? GOPATH environment variable is required but not set} /bin
187+ source : ${GOPATH_LINUX_BIN:-$ GOPATH/bin}
188188 target : /gobin
189189 read_only : true
190190 - type : bind
@@ -214,7 +214,7 @@ services:
214214 - alpha5
215215 volumes :
216216 - type : bind
217- source : ${GOPATH:? GOPATH environment variable is required but not set} /bin
217+ source : ${GOPATH_LINUX_BIN:-$ GOPATH/bin}
218218 target : /gobin
219219 read_only : true
220220 - type : bind
0 commit comments