Skip to content

Commit

Permalink
update go-swagger to 0.30.5
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsgstrabo committed Aug 7, 2023
1 parent 2c7a203 commit b6c76a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,8 @@ RUN apk update && \
apk add --no-cache gcc musl-dev

RUN go install honnef.co/go/tools/cmd/staticcheck@2023.1.3 && \
go install github.com/rakyll/statik@v0.1.7

# Install go-swagger - 28704370=v0.25.0 - get release id from https://api.github.com/repos/go-swagger/go-swagger/releases
RUN download_url=$(curl -s https://api.github.com/repos/go-swagger/go-swagger/releases/28704370 | \
jq -r '.assets[] | select(.name | contains("'"$(uname | tr '[:upper:]' '[:lower:]')"'_amd64")) | .browser_download_url') && \
curl -o /usr/local/bin/swagger -L'#' "$download_url" && \
chmod +x /usr/local/bin/swagger
go install github.com/rakyll/statik@v0.1.7 && \
go install github.com/go-swagger/go-swagger/cmd/swagger@v0.30.5

WORKDIR /go/src/github.com/equinor/radix-api/

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ You need Go installed. Make sure `GOPATH` and `GOROOT` are properly set up.

Also needed:

- [`go-swagger`](https://github.com/go-swagger/go-swagger) (on a Mac, you can install it with Homebrew: `brew install go-swagger`)
- [`go-swagger`](https://github.com/go-swagger/go-swagger) (install with `go install github.com/go-swagger/go-swagger/cmd/swagger@v0.30.5`.)
- [`statik`](https://github.com/rakyll/statik) (install with `go install github.com/rakyll/statik@v0.1.7`)
- [`gomock`](https://github.com/golang/mock) (install with `go install github.com/golang/mock/mockgen@v1.6.0`)

Expand Down

0 comments on commit b6c76a5

Please sign in to comment.