文件名称:Dockerfile 编译安装nginx
文件大小:2KB
文件格式:TXT
更新时间:2021-06-12 03:13:49
dockerfile
Dockerfile 编译安装nginx FROM hub.c.163.com/netease_comb/centos:7 RUN yum install -y gcc gcc-c++ make openssl-devel pcre-devel #http://nginx.org/download/nginx-1.12.2.tar.gz ADD nginx-1.12.2.tar.gz /tmp/ WORKDIR /tmp/nginx-1.12.2 RUN ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-pcre --without-http_gzip_module && make -j 2 && make install ....... .......