diff --git a/Dockerfile b/Dockerfile index 2a3083b9..fed3e42e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,11 @@ FROM golang:1.9 as builder -RUN go get -u github.com/kardianos/govendor - WORKDIR /go/src/mikefarah/yq COPY . /go/src/mikefarah/yq -RUN govendor sync - -RUN CGO_ENABLED=0 go build +RUN scripts/devtools.sh +RUN CGO_ENABLED=0 make local build # Choose alpine as a base image to make this useful for CI, as many # CI tools expect an interactive shell inside the container