File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 5555 pcre-dev \
5656 openssl-dev \
5757 zlib-dev \
58+ geoip-dev \
5859 && \
5960 # Download.
6061 echo "Downloading OpenResty..." && \
@@ -106,10 +107,12 @@ RUN \
106107 --with-http_degradation_module \
107108 --with-http_slice_module \
108109 --with-http_stub_status_module \
110+ --with-http_geoip_module \
109111 --with-stream \
110112 --with-stream_ssl_module \
111113 --with-stream_realip_module \
112114 --with-stream_ssl_preread_module \
115+ --with-stream_geoip_module \
113116 --with-pcre-jit \
114117 && \
115118 make -j$(nproc) && \
@@ -152,6 +155,7 @@ RUN \
152155 bash \
153156 # For openresty
154157 pcre \
158+ geoip \
155159 && \
156160 # Adjust the logrotate config file.
157161 sed-patch 's|^/var/log/messages|#/var/log/messages|' /etc/logrotate.conf
You can’t perform that action at this time.
0 commit comments