8 lines
246 B
Docker
8 lines
246 B
Docker
ARG IMG_TAG=1
|
|
FROM golang:${IMG_TAG}
|
|
RUN go get -u github.com/go-bindata/go-bindata/... \
|
|
&& go get -u github.com/go-swagger/go-swagger/... \
|
|
&& mv "$(go env GOPATH)/bin/go-bindata" /usr/bin \
|
|
&& mv "$(go env GOPATH)/bin/swagger" /usr/bin
|
|
|