diff --git a/docker_openresty/work/install_list_openresty.apt b/docker_openresty/work/install_list_openresty.apt index bfc14f3..42cfc0e 100644 --- a/docker_openresty/work/install_list_openresty.apt +++ b/docker_openresty/work/install_list_openresty.apt @@ -1,5 +1,11 @@ libpcre3-dev libssl-dev zlib1g-dev -gettext +libgd-dev +libgeoip-dev +libncurses5-dev +libperl-dev +libreadline-dev +libxslt1-dev +gettext-base cron diff --git a/docker_openresty/work/script-setup-openresty.sh b/docker_openresty/work/script-setup-openresty.sh index c9bb388..a7bbc7b 100644 --- a/docker_openresty/work/script-setup-openresty.sh +++ b/docker_openresty/work/script-setup-openresty.sh @@ -57,6 +57,9 @@ setup_openresty() { --with-ipv6 \ --with-md5-asm \ --with-sha1-asm \ + --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' \ + --with-pcre \ + --with-pcre-jit \ && make -j8 && make install \ && ln -sf ${NGINX_HOME}/bin/nginx /usr/bin/ \ && echo "@ Version info of Nginx: $(nginx -version)"