Skip to content

Commit

Permalink
Fix SSL handshake failure from modsecurity site
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmoraisjr committed Jul 13, 2018
1 parent 64fdeca commit cb76e25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ARG MODSEC_VERSION=2.9.2
ARG MODSEC_MD5=4d9454efb19269c4288ae408ea438b76

RUN apk add --no-cache --virtual .build-modsecurity \
curl \
openssl \
tar \
make \
Expand All @@ -19,8 +20,8 @@ RUN apk add --no-cache --virtual .build-modsecurity \
libevent-dev \
curl-dev \
yajl-dev\
&& wget -qO/tmp/modsecurity.tar.gz https://www.modsecurity.org/tarball/${MODSEC_VERSION}/modsecurity-${MODSEC_VERSION}.tar.gz \
&& wget -qO/tmp/haproxy.tar.gz https://www.haproxy.org/download/${HAPROXY_MAJOR}/src/haproxy-${HAPROXY_VERSION}.tar.gz \
&& curl -fsSLo /tmp/modsecurity.tar.gz https://www.modsecurity.org/tarball/${MODSEC_VERSION}/modsecurity-${MODSEC_VERSION}.tar.gz \
&& curl -fsSLo /tmp/haproxy.tar.gz https://www.haproxy.org/download/${HAPROXY_MAJOR}/src/haproxy-${HAPROXY_VERSION}.tar.gz \
&& echo "$MODSEC_MD5 /tmp/modsecurity.tar.gz" | md5sum -c \
&& mkdir -p /usr/src/modsecurity \
&& tar xzf /tmp/modsecurity.tar.gz --strip-components=1 -C /usr/src/modsecurity \
Expand Down

0 comments on commit cb76e25

Please sign in to comment.