Skip to content

Commit

Permalink
Added Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
markFromMST committed Feb 22, 2019
1 parent a55189f commit 03aa576
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM golang:1.11.5-alpine3.9
RUN apk add --no-cache git && \
go get -u github.com/markFromMST/hey
ENTRYPOINT ["hey"]
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/rakyll/hey
module github.com/markFromMST/hey

require (
github.com/google/uuid v1.1.0
Expand Down
4 changes: 3 additions & 1 deletion hey.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ Options:
-t Timeout for each request in seconds. Default is 20, use 0 for infinite.
-A HTTP Accept header.
-d HTTP request body.
-D HTTP request body from file. For example, /home/user/file.txt or ./file.txt.
-D HTTP request body from file. For example, /home/user/file.txt or ./file.txt.
Any {hey_uuid} within this file will be replaced with a UUID each time it is
referenced and in each concurrent request too.
-T Content-type, defaults to "text/html".
-a Basic authentication, username:password.
-x HTTP Proxy address as host:port.
Expand Down

0 comments on commit 03aa576

Please sign in to comment.