Sign inSign up

lapax/tiny-haproxy

By lapax

Updated almost 11 years ago

tiny image < 10 MB, haproxy on buildroot, built with i686/32 bit

Image
2

6.0K

lapax/tiny-haproxy repository overview

buildroot based haproxy , 32 bit see https://github.com/lexlapax/Dockerfiles for details on how to build it.

for end-user usage

you probably want to modify the base image (start another Dockerfile with lapax/tiny-haproxy as the base image) and then add a haproxy.cfg and a startup via the entrypoint command

a minimal docker file might look like this

FROM lapax/tiny-haproxy
MAINTAINER <youremail@address>
ADD haproxy.cfg /etc/haproxy.cfg
EXPOSE 80 #or some other ports
CMD ["/usr/sbin/haproxy", "-f", "/etc/haproxy.cfg"]

and then run a docker build on it and use the image

This image is tiny -- eg.

$ docker images

REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE

lapax/tiny-haproxy latest 0600e2ff19e7 3 minutes ago 2.592 MB

Tag summary

Content type

Image

Digest

sha256:d5252a36e

Size

1.1 MB

Last updated

almost 11 years ago

docker pull lapax/tiny-haproxy