Caleb0 2020-05-09
wget https://github.com/openresty/echo-nginx-module/archive/v0.61.tar.gz
./configure --prefix=/usr/local/nginx --with-select_module --with-select_module --with-poll_module --with-threads --with-file-aio --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_image_filter_module --with-http_geoip_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_slice_module --with-http_perl_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-stream_realip_module --with-stream_realip_module --with-stream_realip_module --add-module=/usr/local/nginx/echo-nginx-module-0.61 make make install
FROM nginx-echo MAINTAINER lele WORKDIR /usr/local/nginx EXPOSE 80 CMD ["./sbin/nginx", "-g", "daemon off;"]
docker build -t nginx-echov1 -f Dockerfile .