From 41fb08b0689f3fb452790c0838957bf6905e4abf Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 13 Jun 2017 12:35:44 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed44d7b..03e8bf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,11 @@ FROM quay.io/thallian/confd-env:latest +ENV OPENRESTY_VERSION 1.11.2.2 + RUN addgroup syncer RUN adduser -h /app -D -G syncer syncer -RUN apk --no-cache add tar redis make git openssl perl gcc musl-dev pcre pcre-dev openssl-dev lua lua-dev unzip zlib zlib-dev curl luarocks libgcc +RUN apk --no-cache add tar redis make git libressl perl gcc musl-dev pcre pcre-dev openssl-dev lua lua-dev unzip zlib zlib-dev curl luarocks libgcc WORKDIR /app @@ -13,7 +15,7 @@ RUN luarocks-5.1 install redis-lua RUN luarocks-5.1 install busted RUN mkdir /app/openresty -RUN wget -qO- https://openresty.org/download/openresty-1.9.15.1.tar.gz | tar -xz -C /app/openresty --strip 1 +RUN wget -qO- https://openresty.org/download/openresty-$OPENRESTY_VERSION.tar.gz | tar -xz -C /app/openresty --strip 1 WORKDIR /app/openresty RUN ./configure --prefix=/opt/openresty && make && make install