diff --git a/gcloud/Dockerfile b/gcloud/Dockerfile index f36a2f2..7c0f08d 100644 --- a/gcloud/Dockerfile +++ b/gcloud/Dockerfile @@ -1,7 +1,7 @@ FROM python:2-alpine ENV PATH $PATH:/usr/src/google-cloud-sdk/bin -ENV CLOUD_SDK_DOCKER_VERSION 292.0.0 +ENV CLOUD_SDK_DOCKER_VERSION 293.0.0 RUN set -x \ && apk add --no-cache --virtual .build-deps \ diff --git a/latest-versions.sh b/latest-versions.sh index bcf7fdd..644e952 100755 --- a/latest-versions.sh +++ b/latest-versions.sh @@ -147,6 +147,8 @@ projects=( openresty/lua-nginx-module leev/ngx_http_geoip2_module maxmind/libmaxminddb + openresty/lua-resty-core + openresty/lua-resty-lrucache hashicorp/terraform kdlucas/byte-unixbench mitchellh/vagrant diff --git a/packer/Dockerfile b/packer/Dockerfile index d2bb9da..842068e 100644 --- a/packer/Dockerfile +++ b/packer/Dockerfile @@ -12,7 +12,7 @@ RUN apk add --no-cache \ make \ zip -ENV PACKER_VERSION v1.5.5 +ENV PACKER_VERSION v1.5.3 RUN go get github.com/hashicorp/packer diff --git a/plexpy/Dockerfile b/plexpy/Dockerfile index f8a7714..e45577e 100644 --- a/plexpy/Dockerfile +++ b/plexpy/Dockerfile @@ -15,7 +15,7 @@ RUN apk add --no-cache \ py-pip # Get the source -ENV PLEXPY_VERSION v2.2.3 +ENV PLEXPY_VERSION v2.2.4 RUN git clone https://github.com/Tautulli/Tautulli.git /opt/plexpy \ && ( \ cd /opt/plexpy \ diff --git a/telize/Dockerfile b/telize/Dockerfile index 9360233..d8f8ba5 100644 --- a/telize/Dockerfile +++ b/telize/Dockerfile @@ -13,6 +13,10 @@ ENV LUA_NGINX_MODULE_VERSION v0.10.16rc5 ENV NGX_HTTP_GEOIP2_MODULE_VERSION 3.3 # https://github.com/maxmind/libmaxminddb/releases ENV LIBMAXMINDDB_VERSION 1.4.2 +# https://github.com/openresty/lua-resty-core/releases +ENV LUA_RESTY_CORE_VERSION v0.1.18rc4 +# https://github.com/openresty/lua-resty-lrucache/releases +ENV LUA_RESTY_LRUCACHE_VERSION v0.10rc1 # Tell nginx's build system where to find LuaJIT 2.1: ENV LUAJIT_LIB=/usr/lib/ @@ -92,6 +96,18 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \ && git clone --depth 1 --branch "${NGX_DEVEL_KIT_VERSION}" https://github.com/simplresty/ngx_devel_kit.git /usr/src/ngx_devel_kit \ && git clone --depth 1 --branch "${LUA_NGINX_MODULE_VERSION}" https://github.com/openresty/lua-nginx-module.git /usr/src/lua-nginx-module \ && git clone --depth 1 --branch "${NGX_HTTP_GEOIP2_MODULE_VERSION}" https://github.com/leev/ngx_http_geoip2_module.git /usr/src/ngx_http_geoip2_module \ + && git clone --depth 1 --branch "${LUA_RESTY_CORE_VERSION}" https://github.com/openresty/lua-resty-core.git /usr/src/lua-resty-core \ + && ( \ + cd /usr/src/lua-resty-core \ + && make \ + && make install \ + ) \ + && git clone --depth 1 --branch "${LUA_RESTY_LRUCACHE_VERSION}" https://github.com/openresty/lua-resty-lrucache.git /usr/src/lua-resty-lrucache \ + && ( \ + cd /usr/src/lua-resty-lrucache \ + && make \ + && make install \ + ) \ && mkdir -p /usr/src/libmaxminddb \ && curl -sSL "https://github.com/maxmind/libmaxminddb/releases/download/${LIBMAXMINDDB_VERSION}/libmaxminddb-${LIBMAXMINDDB_VERSION}.tar.gz" | tar -xzf - --strip-components 1 -C /usr/src/libmaxminddb \ && ( \ @@ -147,7 +163,7 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \ && strip /usr/sbin/nginx* \ && strip /usr/lib/nginx/modules/*.so \ ) \ - && rm -rf /usr/src/nginx-$NGINX_VERSION /usr/src/ngx_devel_kit /usr/src/lua-nginx-module /usr/src/ngx_http_geoip2_module /usr/src/libmaxminddb \ + && rm -rf /usr/src/nginx-$NGINX_VERSION /usr/src/ngx_devel_kit /usr/src/lua-nginx-module /usr/src/ngx_http_geoip2_module /usr/src/libmaxminddb /usr/src/lua-resty-core /usr/src/lua-resty-lrucache \ \ # Bring in gettext so we can get `envsubst`, then throw # the rest away. To do this, we need to install `gettext` @@ -200,4 +216,6 @@ COPY nginx.conf /etc/nginx/nginx.conf COPY mime.types /etc/nginx/mime.types COPY telize.conf /etc/nginx/conf.d/telize.conf +WORKDIR /usr/local/lib/lua + CMD ["nginx", "-g", "daemon off;"]