mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
Use dev scripts for making docker image
This commit is contained in:
parent
c5a45ba7d5
commit
6053c8c136
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user