File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ MAINTAINER OpDemand <info@opdemand.com>
44RUN apt-get update && \
55 apt-get install -yq patch libpcre3 libpcre3-dev libssl-dev libgeoip-dev
66
7- RUN wget -q http://nginx.org/download/nginx-1.6.0 .tar.gz -O /tmp/nginx-1.6.0 .tar.gz
7+ RUN wget -q http://nginx.org/download/nginx-1.6.1 .tar.gz -O /tmp/nginx-1.6.1 .tar.gz
88RUN wget -q https://github.com/yaoweibin/nginx_tcp_proxy_module/archive/v0.4.5.tar.gz -O /tmp/tcp-proxy.tar.gz
99
1010WORKDIR /tmp
11- RUN tar -xzf nginx-1.6.0 .tar.gz
11+ RUN tar -xzf nginx-1.6.1 .tar.gz
1212RUN tar -xzf tcp-proxy.tar.gz
1313
14- WORKDIR /tmp/nginx-1.6.0
14+ WORKDIR /tmp/nginx-1.6.1
1515RUN patch -p1 < /tmp/nginx_tcp_proxy_module-0.4.5/tcp.patch
1616RUN ./configure --prefix=/var/lib/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_addition_module --with-http_dav_module --with-http_geoip_module --with-http_gzip_static_module --with-http_spdy_module --with-http_sub_module --with-mail --with-mail_ssl_module --add-module=/tmp/nginx_tcp_proxy_module-0.4.5
1717RUN make && make install
You can’t perform that action at this time.
0 commit comments