[feat] move bin to usr/bin
continuous-integration/drone/push Build is passing

This commit is contained in:
Jay
2021-01-04 23:04:31 +08:00
parent aaa5e4c85a
commit 8aea07cf6e
2 changed files with 10 additions and 1 deletions
+4 -1
View File
@@ -1,4 +1,7 @@
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/...
&& 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