Skip to content

Commit

Permalink
Merge pull request #3 from allencloud/add-swagger
Browse files Browse the repository at this point in the history
feature: add swagger 0.17.1 in pouchlinter
  • Loading branch information
allencloud authored Nov 4, 2018
2 parents 51a9e40 + c3c19dd commit 6c30e6d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,10 @@ RUN git clone https://github.com/markdownlint/markdownlint.git \
# install gometalinter containing misspell
RUN go get -u github.com/alecthomas/gometalinter
RUN gometalinter --install > /dev/null

# install swagger
ENV SWAGGER_VERSION=v0.17.1

RUN wget --quiet -O /usr/local/bin/swagger \
"https://github.com/go-swagger/go-swagger/releases/download/${SWAGGER_VERSION}/swagger_linux_amd64"
RUN chmod +x /usr/local/bin/swagger

0 comments on commit 6c30e6d

Please sign in to comment.