From 4550f26f6eadc02bf653107f3d81a347faea805e Mon Sep 17 00:00:00 2001 From: Bibo Hao Date: Sat, 1 Jun 2024 02:54:11 +0800 Subject: [PATCH] fix openresty pkgs --- docker_openresty/work/install_list_openresty.apt | 8 +++++++- docker_openresty/work/script-setup-openresty.sh | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) 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)"