Small go server providing images over http port 80
1.6K
When doing automatic tests, sometimes you need to get images from an external service. This container provides generated images via http. Not more, not less.
You can either start it directly via e.g. docker run --rm -d -p 8080:80 3stadt/go-http-image-generator which will create a server on http://localhost:8080 on your machine, or use it in your docker compose setup or wherever you like. It exposes port 80.
You can set image parameters, syntax is <host>/width/height/somestring, where somestring determines the image color. Example: http://localhost:8080/1280/720/foo.jpg. If you omit the second parameter, the image is a square.
https://bitbucket.org/3stadt/go-http-image-generator/src
https://bitbucket.org/3stadt/go-http-image-generator/issues
Content type
Image
Digest
Size
2 MB
Last updated
over 9 years ago
docker pull 3stadt/go-http-image-generator