Skip to content

Commit

Permalink
Update all build dependencies and NGINX modules to latest available v…
Browse files Browse the repository at this point in the history
…ersions
  • Loading branch information
DimitriosLisenko committed Jun 28, 2024
1 parent 8afad9f commit e0ace6d
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,27 @@ ARG RELEASE_VERSION=*passed-in*
ARG OPENSSL_VERSION=*passed-in*

# NOTE: these are updated as required (build dependencies)
ARG AUTOMAKE_VERSION=1.16.4
ARG AUTOMAKE_VERSION=1.16.5
ARG PCRE_VERSION=8.45
ARG ZLIB_VERSION=1.2.11
ARG ZLIB_VERSION=1.3.1
ARG LIBGD_VERSION=2.3.3
ARG MODSECURITY_VERSION=3.0.5
ARG LUAJIT2_VERSION=2.1.0-beta3
ARG LUAJIT2_PACKAGE_VERSION=2.1-20210510
ARG LUAJIT2_SHORT_VERSION=2.1
ARG MODSECURITY_VERSION=3.0.12
ARG LUAJIT2_VERSION=2.1
ARG LUAJIT2_PACKAGE_VERSION=2.1-20240626
ARG LUA_RESTY_CORE_VERSION=0.1.28
ARG LUA_RESTY_LRUCACHE_VERSION=0.11
ARG LIBMAXMINDDB_VERSION=1.6.0
ARG LUA_RESTY_LRUCACHE_VERSION=0.13
ARG LIBMAXMINDDB_VERSION=1.10.0

# NOTE: these are updated as required (NGINX modules)
ARG MODSECURITY_MODULE_VERSION=1.0.2
ARG MODSECURITY_MODULE_VERSION=1.0.3
ARG HEADERS_MORE_MODULE_VERSION=0.37
ARG HTTP_AUTH_PAM_MODULE_VERSION=1.5.3
ARG CACHE_PURGE_MODULE_VERSION=2.4.3
ARG HTTP_AUTH_PAM_MODULE_VERSION=1.5.5
ARG CACHE_PURGE_MODULE_VERSION=2.5.3
ARG DAV_EXT_MODULE_VERSION=3.0.0
ARG DEVEL_KIT_MODULE_VERSION=0.3.1
ARG DEVEL_KIT_MODULE_VERSION=0.3.3
ARG ECHO_MODULE_VERSION=0.63
ARG FANCYINDEX_MODULE_VERSION=0.5.1
ARG NCHAN_MODULE_VERSION=1.3.1
ARG FANCYINDEX_MODULE_VERSION=0.5.2
ARG NCHAN_MODULE_VERSION=1.3.6
ARG LUA_MODULE_VERSION=0.10.26
ARG RTMP_MODULE_VERSION=1.2.2
# TODO-1235: this doesn't seem to work with NGINX 1.26.1 - there's a fix but it's not released yet (and I think it doesn't work with 1.24.x either)
Expand Down Expand Up @@ -352,7 +351,6 @@ ARG PCRE_VERSION
ARG ZLIB_VERSION
ARG MODSECURITY_VERSION
ARG LUAJIT2_VERSION
ARG LUAJIT2_SHORT_VERSION
ARG LUA_RESTY_CORE_VERSION
ARG LUA_RESTY_LRUCACHE_VERSION
ARG LIBMAXMINDDB_VERSION
Expand Down Expand Up @@ -438,7 +436,7 @@ RUN wget https://github.com/TeslaGov/ngx-http-auth-jwt-module/archive/refs/tags/
RUN current_state.sh before

ENV LUAJIT_LIB=/usr/local/lib
ENV LUAJIT_INC=/usr/local/include/luajit-${LUAJIT2_SHORT_VERSION}
ENV LUAJIT_INC=/usr/local/include/luajit-${LUAJIT2_VERSION}

# NOTE: define NGINX configure options here because mruby also needs them
# NOTE: -DNGX_LINKED_LIST_COOKIES=1 is required for https://github.com/TeslaGov/ngx-http-auth-jwt-module/issues/127
Expand Down Expand Up @@ -555,7 +553,6 @@ RUN echo "{ \
\"ZLIB_VERSION\":\"${ZLIB_VERSION}\", \
\"MODSECURITY_VERSION\":\"${MODSECURITY_VERSION}\", \
\"LUAJIT2_VERSION\":\"${LUAJIT2_VERSION}\", \
\"LUAJIT2_SHORT_VERSION\":\"${LUAJIT2_SHORT_VERSION}\", \
\"LUA_RESTY_CORE_VERSION\":\"${LUA_RESTY_CORE_VERSION}\", \
\"LUA_RESTY_LRUCACHE_VERSION\":\"${LUA_RESTY_LRUCACHE_VERSION}\", \
\"LIBMAXMINDDB_VERSION\":\"${LIBMAXMINDDB_VERSION}\", \
Expand Down

0 comments on commit e0ace6d

Please sign in to comment.