Skip to content

Conversation

@pataquets
Copy link

@pataquets pataquets commented Mar 17, 2022

Enables development and testing with just Docker installed. Also, it can be used to run in production straight away, although it's not only optimized for that usage (eg. image size). Useful for building and running the latest HEAD (or whatever branch, tag or commit id you specify) straight from source by just issuing a one-liner (see below) without any requirement other than Docker.

Image builds code on gcc base image, latest tag.

To test the build locally, issue the following:

docker build --force-rm --pull github.com/pataquets/wrk#add-dockerfile -t wrk

To run a container from the built image, issue the following:

docker run --rm -it wrk <options> <url>

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