9 lines
270 B
Docker
9 lines
270 B
Docker
ARG IMG_TAG=1
|
|
FROM golang:${IMG_TAG} as builder
|
|
RUN go get -u github.com/go-bindata/go-bindata/... \
|
|
&& go get -u github.com/go-swagger/go-swagger/...
|
|
|
|
FROM golang:${IMG_TAG}
|
|
COPY --from=builder /go/bin/swagger /usr/bin
|
|
COPY --from=builder /go/bin/go-bindata /usr/bin
|