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

adding basic Dockerfile for packaging #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phriscage
Copy link
Contributor

Issue/Request:

I added a basic Dockerfile for building/packaging a containerized version of the Hey app. Can be updated/versioned for auto-build and testing later.

Copy link

@graphaelli graphaelli left a comment

Choose a reason for hiding this comment

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



## final stage
FROM alpine:3.7

Choose a reason for hiding this comment

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

might as well go FROM scratch at this point?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@graphaelli Good idea. I will check out the examples and update accordingly.

@zakkg3
Copy link

zakkg3 commented Oct 5, 2018

chunter0 pushed a commit to chunter0/hey that referenced this pull request Apr 8, 2024
We were not explicitly testing the behavior of some HTTP verb endpoints
like /put and /patch, because they currently share an underlying handler
with /post which is thoroughly tested.

The addition of the /anything endpoint in rakyll#83 made me realize a bit more
explicit test coverage would be good, so here we're landing a bit of a
refactoring of the test suite to generate tests for all of those
endpoints.

Along the way, we also improve compatibility with the original httpbin
implementation by tricking the stdlib net/http machinery into parsing
request bodies for DELETE requests.
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.

3 participants