Skip to content

Commit 8525dc8

Browse files
committed
Added mod tidy to go-swagger
1 parent e1030e1 commit 8525dc8

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

Dockerfile

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,8 @@ RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
77
ARG SWAGGER_UI_VERSION=3.20.9
88

99
RUN go get -d -v github.com/go-swagger/go-swagger \
10-
&& go get github.com/go-openapi/analysis \
11-
&& go get github.com/go-openapi/inflect \
12-
&& go get github.com/go-openapi/loads \
13-
&& go get github.com/go-openapi/spec \
14-
&& go get github.com/go-openapi/validate \
15-
&& go get github.com/gorilla/context \
16-
&& go get github.com/gorilla/handlers \
17-
&& go get github.com/jessevdk/go-flags \
18-
&& go get github.com/kr/pretty \
19-
&& go get github.com/pkg/errors \
20-
&& go get github.com/spf13/viper \
21-
&& go get github.com/toqueteos/webbrowser \
22-
&& go get github.com/tylerb/graceful \
23-
&& go get golang.org/x/net/context \
24-
&& go get golang.org/x/tools/go/ast/astutil \
25-
&& go get golang.org/x/tools/go/packages \
26-
&& go get golang.org/x/tools/imports \
10+
&& cd $GOPATH/src/github.com/go-swagger/go-swagger \
11+
&& go mod tidy \
2712
&& go install github.com/go-swagger/go-swagger/cmd/swagger \
2813
&& curl -sfL https://github.com/swagger-api/swagger-ui/archive/v$SWAGGER_UI_VERSION.tar.gz | tar xz -C /tmp/ \
2914
&& mv /tmp/swagger-ui-$SWAGGER_UI_VERSION /tmp/swagger \

0 commit comments

Comments
 (0)