File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -7,23 +7,8 @@ RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
7
7
ARG SWAGGER_UI_VERSION=3.20.9
8
8
9
9
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 \
27
12
&& go install github.com/go-swagger/go-swagger/cmd/swagger \
28
13
&& curl -sfL https://github.com/swagger-api/swagger-ui/archive/v$SWAGGER_UI_VERSION.tar.gz | tar xz -C /tmp/ \
29
14
&& mv /tmp/swagger-ui-$SWAGGER_UI_VERSION /tmp/swagger \
You can’t perform that action at this time.
0 commit comments