Skip to content

Commit 697b56c

Browse files
robinkbneomantra
authored andcommitted
enable --with-compat NGINX option in source-built images (#114)
Enabling --with-compat makes it much easier for end-users to build and use dynamic modules for NGINX in custom images.
1 parent 107565f commit 697b56c

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

AUTHORS.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ We'd like to thank the following people for their commits:
1010
- Davide Montanari <[email protected]>
1111
- Roy Nasser (NeoAssist) <[email protected]>
1212
- Joseph C. Sible
13+
- Robin Ketelbuters <[email protected]>

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ docker build --build-arg RESTY_J=4 -f xenial/Dockerfile .
239239
|RESTY_OPENSSL_VERSION | 1.1.0j / 1.1.1c | The version of OpenSSL to use. |
240240
|RESTY_PCRE_VERSION | 8.42 | The version of PCRE to use. |
241241
|RESTY_J | 1 | Sets the parallelism level (-jN) for the builds. |
242-
|RESTY_CONFIG_OPTIONS | "--with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_perl_module=dynamic --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_xslt_module=dynamic --with-ipv6 --with-mail --with-mail_ssl_module --with-md5-asm --with-pcre-jit --with-sha1-asm --with-stream --with-stream_ssl_module --with-threads" | Options to pass to OpenResty's `./configure` script. |
242+
|RESTY_CONFIG_OPTIONS | "--with-compat --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_perl_module=dynamic --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_xslt_module=dynamic --with-ipv6 --with-mail --with-mail_ssl_module --with-md5-asm --with-pcre-jit --with-sha1-asm --with-stream --with-stream_ssl_module --with-threads" | Options to pass to OpenResty's `./configure` script. |
243243
|RESTY_LUAJIT_OPTIONS | "--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT'" | Options to tweak LuaJIT. |
244244
|RESTY_CONFIG_OPTIONS_MORE | "" | More options to pass to OpenResty's `./configure` script. |
245245
|RESTY_ADD_PACKAGE_BUILDDEPS | "" | Additional packages to install with package manager required by build only (removed after installation) |

alpine/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ARG RESTY_OPENSSL_VERSION="1.1.1c"
1616
ARG RESTY_PCRE_VERSION="8.42"
1717
ARG RESTY_J="1"
1818
ARG RESTY_CONFIG_OPTIONS="\
19+
--with-compat \
1920
--with-file-aio \
2021
--with-http_addition_module \
2122
--with-http_auth_request_module \

bionic/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ARG RESTY_OPENSSL_VERSION="1.1.0j"
1717
ARG RESTY_PCRE_VERSION="8.42"
1818
ARG RESTY_J="1"
1919
ARG RESTY_CONFIG_OPTIONS="\
20+
--with-compat \
2021
--with-file-aio \
2122
--with-http_addition_module \
2223
--with-http_auth_request_module \

xenial/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ARG RESTY_OPENSSL_VERSION="1.1.0j"
1717
ARG RESTY_PCRE_VERSION="8.42"
1818
ARG RESTY_J="1"
1919
ARG RESTY_CONFIG_OPTIONS="\
20+
--with-compat \
2021
--with-file-aio \
2122
--with-http_addition_module \
2223
--with-http_auth_request_module \

0 commit comments

Comments
 (0)