Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger tool images for Fn CI #7

Merged
merged 2 commits into from
Jan 2, 2018
Merged

Swagger tool images for Fn CI #7

merged 2 commits into from
Jan 2, 2018

Conversation

denismakogon
Copy link
Member

No description provided.

Copy link
Contributor

@rdallman rdallman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hardcoded file path

RUN apk add --no-cache curl
RUN curl -L https://github.com/go-swagger/go-swagger/releases/download/0.13.0/swagger_linux_amd64 -o swagger
RUN chmod +x swagger
ENTRYPOINT ["./swagger", "validate", "/go/src/github.com/fnproject/fn/docs/swagger.yml"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

entrypoint should just be the first two args here, and then the command can take a file path:

docker run fnproject/swagger my/path/to/swagger.yml

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@rdallman rdallman merged commit 26309bd into master Jan 2, 2018
@rdallman rdallman deleted the swagger-tool branch January 2, 2018 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants