Skip to content

Instantly share code, notes, and snippets.

@stuart-warren
Created October 24, 2014 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stuart-warren/ec20e039ee568fd8336b to your computer and use it in GitHub Desktop.
Save stuart-warren/ec20e039ee568fd8336b to your computer and use it in GitHub Desktop.
Build haproxy with ssl
FROM ubuntu:14.04.1
# docker build -t haproxybuild .
# git clone http://git.haproxy.org/git/haproxy-1.5.git
# cd haproxy-1.5
# docker run -ti -v $(pwd):/src haproxybuild
RUN apt-get update && apt-get install -y build-essential libpcre3-dev libssl-dev
VOLUME /src
WORKDIR /src
CMD ["/usr/bin/make", "TARGET=linux26", "ARCH=x64", "USE_PCRE=1", "USE_LINUX_SPLICE=1", "USE_LINUX_TPROXY=1", "USE_OPENSSL=1"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment