Created
October 24, 2014 10:56
-
-
Save stuart-warren/ec20e039ee568fd8336b to your computer and use it in GitHub Desktop.
Build haproxy with ssl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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