|
|
@@ -1,7 +1,7 @@
|
|
1
|
1
|
###############################################################################
|
|
2
|
2
|
# BUILD STAGE
|
|
3
|
3
|
|
|
4
|
|
-FROM golang:1.10-alpine
|
|
|
4
|
+FROM golang:1.11-alpine
|
|
5
|
5
|
|
|
6
|
6
|
RUN set -x \
|
|
7
|
7
|
&& apk --no-cache --update add \
|
|
|
@@ -13,14 +13,7 @@ RUN set -x \
|
|
13
|
13
|
upx \
|
|
14
|
14
|
&& update-ca-certificates
|
|
15
|
15
|
|
|
16
|
|
-COPY Gopkg.toml Gopkg.lock Makefile /go/src/github.com/9seconds/mtg/
|
|
17
|
|
-
|
|
18
|
|
-RUN set -x && \
|
|
19
|
|
- cd /go/src/github.com/9seconds/mtg && \
|
|
20
|
|
- make -j 4 prepare && \
|
|
21
|
|
- make vendor
|
|
22
|
|
-
|
|
23
|
|
-COPY . /go/src/github.com/9seconds/mtg
|
|
|
16
|
+COPY . /go/src/github.com/9seconds/mtg/
|
|
24
|
17
|
|
|
25
|
18
|
RUN set -x \
|
|
26
|
19
|
&& cd /go/src/github.com/9seconds/mtg \
|