Update build files

This commit is contained in:
9seconds
2018-09-21 11:09:46 +03:00
parent 0828bd85ad
commit b81505ec21
2 changed files with 3 additions and 15 deletions
+2 -9
View File
@@ -1,7 +1,7 @@
###############################################################################
# BUILD STAGE
FROM golang:1.10-alpine
FROM golang:1.11-alpine
RUN set -x \
&& apk --no-cache --update add \
@@ -13,14 +13,7 @@ RUN set -x \
upx \
&& update-ca-certificates
COPY Gopkg.toml Gopkg.lock Makefile /go/src/github.com/9seconds/mtg/
RUN set -x && \
cd /go/src/github.com/9seconds/mtg && \
make -j 4 prepare && \
make vendor
COPY . /go/src/github.com/9seconds/mtg
COPY . /go/src/github.com/9seconds/mtg/
RUN set -x \
&& cd /go/src/github.com/9seconds/mtg \