Update Dockerfile
This commit is contained in:
parent
db83408ae7
commit
41fb08b068
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user