upd(all): docker image build improvements

This commit is contained in:
Tit Petric
2019-04-26 22:11:28 +02:00
parent 78f9b7b53a
commit 619fa4de02
6 changed files with 15 additions and 16 deletions
+1 -2
View File
@@ -1,5 +1,5 @@
## builder image
FROM golang:1.10-alpine AS builder
FROM crusttech/crust-builder AS builder
WORKDIR /go/src/github.com/crusttech/crust
@@ -16,7 +16,6 @@ RUN mkdir /build; \
## target image
FROM alpine:3.7
ENV PATH="/crust:{$PATH}"
WORKDIR /crust
COPY --from=builder /build/* /crust/