Sign inSign up

brclinux/brc-httpd

By brclinux

Updated about 2 years ago

BusyBox httpd

Image
Web servers
0

176

brclinux/brc-httpd repository overview

Starts httpd on port 8080 and returns "Hello, World!" when you GET / or /index.html.

Thought this would be a good light-weight web server for removing/reducing latency when testing end-to-end network latency, but it turns out to be way slower than nginx returning its default landing page. Lol.

Dockerfile:

FROM busybox:stable

COPY index.html /var/www
COPY start-httpd.sh /start-httpd.sh

CMD /start-httpd.sh

start-httpd.sh:

#!/bin/sh

set -x
echo "starting httpd..."
httpd -vv -f -p 8080 -u www-data:www-data -h /var/www
echo "httpd exited with: $?"
echo exiting.

Tag summary

Content type

Image

Digest

sha256:3081747e4

Size

2.1 MB

Last updated

about 2 years ago

docker pull brclinux/brc-httpd