Public | Automated Build

Last pushed: 3 years ago
Short Description
Contains everything needed to build HAProxy 1.5.x with LibreSSL
Full Description


CentOS 6 based image that contains a build of HAProxy with LibreSSL

This is a basic image containing everything to build HAProxy 1.5.x from source.

It uses a Gist that I wrote

I think that using Docker for creating an image to build software is very interesting since it is small, fast, reproductible and you can build without messing with your own system (installing build dependencies).

This build is "semi-static", and it compiles against pcre 8.37 and libressl 2.2.3 =>  (0x00007fff209fe000) => /lib64/ (0x00007ff5be82e000) => /lib64/ (0x00007ff5be618000) => /lib64/ (0x00007ff5be413000) => /lib64/ (0x00007ff5be20b000) => /lib64/ (0x00007ff5bde77000) => /lib64/ (0x00007ff5bdbfd000)
        /lib64/ (0x00007ff5bea6c000) => /lib64/ (0x00007ff5bd9e0000)

Instructions to build the docker file

git clone
cd docker-build-haproxy
docker build -t codingtony/build-haproxy .

You can also pull it from the repo

docker pull codingtony/build-haproxy

Run and build haproxy

docker run --rm -ti codingtony/build-haproxy

haproxy is already built in /usr/local/sbin/haproxy

However, if you want to rebuild it, once in the shell, simply do :

This will start the build, the compiled haproxy will be in /usr/local/sbin/haproxy


Docker Pull Command
Source Repository