golang-base-image/Dockerfile
Jay 8aea07cf6e
All checks were successful
continuous-integration/drone/push Build is passing
[feat] move bin to usr/bin
2021-01-04 23:04:31 +08:00

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