Skip to content

Commit f2afcb9

Browse files
committed
static-nginx
geoip fix
1 parent d34abac commit f2afcb9

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

static-nginx.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ RUN echo ">> Install build packages ..." && \
3434
automake \
3535
\
3636
geoip-dev \
37+
geoip-static \
3738
&& \
3839
mkdir -p ${OUTPUT_DIR}
3940

static-nginx.unprivileged-nginxuser.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ RUN echo ">> Install build packages ..." && \
3434
automake \
3535
\
3636
geoip-dev \
37+
geoip-static \
3738
&& \
3839
mkdir -p ${OUTPUT_DIR}
3940

@@ -115,7 +116,7 @@ RUN echo ">> Download and BUILD: nginx-${NGINX_VERSION} ..." && \
115116
--with-cc-opt='-static -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g' \
116117
--with-ld-opt='-static -Wl,--as-needed,-O1,--sort-common' \
117118
# others:
118-
#--with-http_geoip_module \
119+
--with-http_geoip_module \
119120
&& \
120121
make -j$(nproc) && \
121122
strip objs/nginx && \

0 commit comments

Comments
 (0)