代码拉取完成,页面将自动刷新
同步操作将从 LateWinter/nginx-http-flv-dockerfile 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#FROM mycujoo/nginx-http-flv-module
FROM nginx:1.20.2
#FROM winter227/ubuntu-base
RUN mkdir /temp
ADD amode /temp/
RUN apt update \
&& apt install -y --no-install-recommends \
net-tools \
curl \
wget \
fontconfig \
tzdata \
tini \
sqlite3 \
gcc g++ make libssl-dev build-essential libidn11-dev libidn11 libssl-dev \
&& apt-get -y autoremove openssl \
&& cd /temp && ls && cd nginx-1.20.2 && ls && ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-pcre=../pcre-8.38 --with-zlib=../zlib-1.2.11 --with-cc-opt='-g -O2 -ffile-prefix-map=/data/builder/debuild/nginx-1.20.2/debian/debuild-base/nginx-1.20.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -pie' --add-module=../nginx-http-flv-module-1.2.10 && make && mv /temp/nginx-1.20.2/objs/nginx /usr/sbin/ \
&& rm -rf /temp/ \
&& apt-get -y autoremove gcc g++ make libssl-dev build-essential libidn11-dev libidn11 libssl-dev \
&& fc-cache -f -v \
&& rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* \
&& cp -rf /etc/nginx /tmp/ && cp -rf /usr/share/nginx/html /tmp/
#ADD amode /temp/
#ADD nginx-http-flv-module-1.2.10 /temp/nginx-http-flv-module
#ADD nginx-1.20.2 /temp/nginx-1.2.1
#
#ADD perl-5.28.0 /temp/perl-5.28.0
#ADD pcre-8.38.tar.gz /temp/
#ADD zlib-1.2.11.tar.gz /temp/
#ADD openssl-OpenSSL_1_1_1m /temp/openssl
#RUN apt-get -y autoremove openssl
#RUN cd /temp && ls && cd nginx-1.20.2 && ls && ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-pcre=../pcre-8.38 --with-zlib=../zlib-1.2.11 --with-cc-opt='-g -O2 -ffile-prefix-map=/data/builder/debuild/nginx-1.20.2/debian/debuild-base/nginx-1.20.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -pie' --add-module=../nginx-http-flv-module-1.2.10 && make && mv /temp/nginx-1.20.2/objs/nginx /usr/sbin/
#./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-pcre=../pcre-8.38 --with-zlib=../zlib-1.2.11 --with-stream_ssl_preread_module --with-cc-opt='-g -O2 -ffile-prefix-map=/data/builder/debuild/nginx-1.20.2/debian/debuild-base/nginx-1.20.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -pie' --add-module=../nginx-http-flv-module-1.2.10 && make
#RUN cd /temp && cd nginx-1.2.1 && ls && ./configure --prefix=/usr/local/nginx/ --add-module=../nginx-http-flv-module --with-http_stub_status_module --with-http_ssl_module --with-pcre=../pcre-8.38 --with-zlib=../zlib-1.2.11 --with-openssl=../openssl && make && make install
#RUN cd /temp && cd nginx-1.2.1 && ls && ./configure --prefix=/usr/local/nginx --add-module=../nginx-http-flv-module --with-pcre=../pcre-8.38 --with-openssl=../openssl-1.0.2l --with-zlib=../zlib-1.2.11 && make && make install
#RUN chmod +x /usr/local/nginx/sbin/nginx
#RUN ln -s /usr/local/nginx/sbin/nginx /usr/bin/nginx
#RUN cp -rf /usr/local/nginx /tmp/
#RUN cp -rf /opt/nginx/nginx.conf /tmp/nginx/conf/
#RUN chmod +x /opt/nginx/sbin/nginx
#RUN ln -s /opt/nginx/sbin/nginx /usr/bin/nginx
#RUN cp -rf /opt/nginx/ /tmp/
ADD docker-run.sh /
RUN chmod +x /docker-run.sh
# && rm -rf /temp/ \
# && apt-get -y autoremove gcc make libssl-dev build-essential libidn11-dev libidn11 libssl-dev \
# && fc-cache -f -v \
# && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* \
#CMD ["/usr/local/nginx/sbin/nginx"]
#CMD ["sh","-c","/docker-run.sh"]
ENTRYPOINT ["/docker-run.sh"]
#CMD ["nginx","-g","daemon off;"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。