Skip to content

Commit e70af2f

Browse files
chore(router): Updated nginx to 1.6.2
This fixes a security issue in 1.6.1 http://nginx.org/
1 parent d5b419e commit e70af2f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

router/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ MAINTAINER OpDemand <info@opdemand.com>
44
RUN 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.1.tar.gz -O /tmp/nginx-1.6.1.tar.gz
7+
RUN wget -q http://nginx.org/download/nginx-1.6.2.tar.gz -O /tmp/nginx-1.6.2.tar.gz
88
RUN wget -q https://github.com/yaoweibin/nginx_tcp_proxy_module/archive/v0.4.5.tar.gz -O /tmp/tcp-proxy.tar.gz
99

1010
WORKDIR /tmp
11-
RUN tar -xzf nginx-1.6.1.tar.gz
11+
RUN tar -xzf nginx-1.6.2.tar.gz
1212
RUN tar -xzf tcp-proxy.tar.gz
1313

14-
WORKDIR /tmp/nginx-1.6.1
14+
WORKDIR /tmp/nginx-1.6.2
1515
RUN patch -p1 < /tmp/nginx_tcp_proxy_module-0.4.5/tcp.patch
1616
RUN ./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
1717
RUN make && make install

0 commit comments

Comments
 (0)