From 33b65286cb678c88da4b220101eeba5d36f29dc4 Mon Sep 17 00:00:00 2001 From: Josh Mize Date: Sat, 11 Jun 2016 01:15:45 -0500 Subject: [PATCH] Upgrade OpenResty to 1.9.15.1 Use https to download --- alpine/Dockerfile | 4 ++-- debian/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index b30c180..dae225d 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:3.3 -ENV OPENRESTY_VERSION 1.9.7.3 +ENV OPENRESTY_VERSION 1.9.15.1 ENV OPENRESTY_PREFIX /opt/openresty ENV NGINX_PREFIX /opt/openresty/nginx ENV VAR_PREFIX /var/nginx @@ -17,7 +17,7 @@ RUN echo "==> Installing dependencies..." \ && mkdir -p /root/ngx_openresty \ && cd /root/ngx_openresty \ && echo "==> Downloading OpenResty..." \ - && curl -sSL http://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz | tar -xvz \ + && curl -sSL https://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz | tar -xvz \ && cd openresty-* \ && echo "==> Configuring OpenResty..." \ && readonly NPROC=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) \ diff --git a/debian/Dockerfile b/debian/Dockerfile index 266cd22..591088d 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update \ libreadline-dev libncurses5-dev libpcre3-dev libssl-dev \ && rm -rf /var/lib/apt/lists/* -ENV OPENRESTY_VERSION 1.9.7.3 +ENV OPENRESTY_VERSION 1.9.15.1 ENV OPENRESTY_PREFIX /opt/openresty ENV NGINX_PREFIX /opt/openresty/nginx ENV VAR_PREFIX /var/nginx @@ -16,7 +16,7 @@ ENV VAR_PREFIX /var/nginx RUN cd /root \ && echo "==> Downloading OpenResty..." \ - && curl -sSL http://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz | tar -xvz \ + && curl -sSL https://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz | tar -xvz \ && echo "==> Configuring OpenResty..." \ && cd openresty-* \ && readonly NPROC=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) \