From ff4766ce409dc858763dcfd5c0d804835239b338 Mon Sep 17 00:00:00 2001 From: Joseph Page Date: Wed, 5 Aug 2015 16:05:59 +0200 Subject: [PATCH] add http-fastcgi-temp-path parameter and 1 VOLUME --- alpine/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 26b20ea..71f5cb9 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -25,6 +25,7 @@ RUN echo "==> Installing dependencies..." \ --prefix=$OPENRESTY_PREFIX \ --http-client-body-temp-path=$VAR_PREFIX/client_body_temp \ --http-proxy-temp-path=$VAR_PREFIX/proxy_temp \ + --http-fastcgi-temp-path=$VAR_PREFIX/fastcgi_temp \ --http-log-path=$VAR_PREFIX/access.log \ --error-log-path=$VAR_PREFIX/error.log \ --pid-path=$VAR_PREFIX/nginx.pid \ @@ -48,6 +49,7 @@ RUN echo "==> Installing dependencies..." \ && ln -sf $OPENRESTY_PREFIX/bin/resty /usr/local/bin/resty \ && ln -sf $OPENRESTY_PREFIX/luajit/bin/luajit-* $OPENRESTY_PREFIX/luajit/bin/lua \ && ln -sf $OPENRESTY_PREFIX/luajit/bin/luajit-* /usr/local/bin/lua \ + && echo "==> Cleaning..." \ && apk del \ make gcc musl-dev pcre-dev openssl-dev zlib-dev ncurses-dev readline-dev curl perl \ && apk add \ @@ -55,6 +57,8 @@ RUN echo "==> Installing dependencies..." \ && rm -rf /var/cache/apk/* \ && rm -rf /root/ngx_openresty +VOLUME /var/nginx + WORKDIR $NGINX_PREFIX/ ONBUILD RUN rm -rf conf/* html/*