File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,12 +60,14 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
6060
6161FROM base AS swagger
6262# Install go-swagger for validating swagger.yaml
63- ENV GO_SWAGGER_COMMIT c28258affb0b6251755d92489ef685af8d4ff3eb
63+ # This is https://github.com/kolyshkin/go-swagger/tree/golang-1.13-fix
64+ # TODO: move to under moby/ or fix upstream go-swagger to work for us.
65+ ENV GO_SWAGGER_COMMIT 5793aa66d4b4112c2602c716516e24710e4adbb5
6466RUN --mount=type=cache,target=/root/.cache/go-build \
6567 --mount=type=cache,target=/go/pkg/mod \
6668 set -x \
6769 && export GOPATH="$(mktemp -d)" \
68- && git clone https://github.com/go-swagger /go-swagger.git "$GOPATH/src/github.com/go-swagger/go-swagger" \
70+ && git clone https://github.com/kolyshkin /go-swagger.git "$GOPATH/src/github.com/go-swagger/go-swagger" \
6971 && (cd "$GOPATH/src/github.com/go-swagger/go-swagger" && git checkout -q "$GO_SWAGGER_COMMIT" ) \
7072 && go build -o /build/swagger github.com/go-swagger/go-swagger/cmd/swagger \
7173 && rm -rf "$GOPATH"
You can’t perform that action at this time.
0 commit comments