1:下载基础镜像:
[root@docker nginx]# docker pull centos:66: Pulling from library/centosff50d722b382: Pull completeDigest: sha256:dec8f471302de43f4cfcf82f56d99a5227b5ea1aa6d02fa56344986e1f4610e7Status: Downloaded newer image for centos:6[root@docker nginx]#
2:检查本地dockers镜像
[root@docker nginx]# docker images |grep centoscentos 6 d0957ffdf8a2 9 months ago 194MBcentos latest 9f38484d220f 9 months ago 202MB[root@docker nginx]#
3:下载nginx源码
http://nginx.org/en/download.html
[root@docker nginx]# wget http://nginx.org/download/nginx-1.14.2.tar.gz
4:编写Dockerfile文件
FROM centos:6RUN yum install -y gcc gcc-c++ make openssl-devel pcre-devel wgetWORKDIR /tmpRUN wget http://nginx.org/download/nginx-1.14.0.tar.gzRUN tar -zxf nginx-1.14.0.tar.gz \&& cd nginx-1.14.0 \&& ./configure --prefix=/usr/local/nginx \&& make \&& make installCOPY nginx.conf /usr/local/nginx/confEXPOSE 80CMD ["/usr/local/nginx/sbin/nginx","-g","daemon off;"]
5:ngin镜像在线制作
[root@docker nginx]# lltotal 8-rw-r--r--. 1 root root 393 Dec 30 13:34 Dockerfile-rw-r--r--. 1 root root 2471 Dec 30 13:44 nginx.conf[root@docker nginx]# cat DockerfileFROM centos:6RUN yum install -y gcc gcc-c++ make openssl-devel pcre-devel wgetWORKDIR /tmpRUN wget http://nginx.org/download/nginx-1.14.2.tar.gzRUN tar -zxf nginx-1.14.2.tar.gz \&& cd nginx-1.14.2 \&& ./configure --prefix=/usr/local/nginx \&& make \&& make installCOPY nginx.conf /usr/local/nginx/confEXPOSE 80CMD ["/usr/local/nginx/sbin/nginx","-g","daemon off;"][root@docker nginx]# docker build -t nginx:v1 .Sending build context to Docker daemon 5.12kBStep 1/8 : FROM centos:6---> d0957ffdf8a2Step 2/8 : RUN yum install -y gcc gcc-c++ make openssl-devel pcre-devel wget---> Running in df1db1c4c2f3Loaded plugins: fastestmirror, ovlSetting up Install ProcessPackage 1:make-3.81-23.el6.x86_64 already installed and latest versionResolving Dependencies--> Running transaction check---> Package gcc.x86_64 0:4.4.7-23.el6 will be installed--> Processing Dependency: libgomp = 4.4.7-23.el6 for package: gcc-4.4.7-23.el6.x86_64--> Processing Dependency: cpp = 4.4.7-23.el6 for package: gcc-4.4.7-23.el6.x86_64--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.7-23.el6.x86_64--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-23.el6.x86_64--> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.4.7-23.el6.x86_64---> Package gcc-c++.x86_64 0:4.4.7-23.el6 will be installed--> Processing Dependency: libstdc++-devel = 4.4.7-23.el6 for package: gcc-c++-4.4.7-23.el6.x86_64--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.7-23.el6.x86_64---> Package openssl-devel.x86_64 0:1.0.1e-58.el6_10 will be installed--> Processing Dependency: openssl = 1.0.1e-58.el6_10 for package: openssl-devel-1.0.1e-58.el6_10.x86_64--> Processing Dependency: zlib-devel for package: openssl-devel-1.0.1e-58.el6_10.x86_64--> Processing Dependency: krb5-devel for package: openssl-devel-1.0.1e-58.el6_10.x86_64---> Package pcre-devel.x86_64 0:7.8-7.el6 will be installed---> Package wget.x86_64 0:1.12-10.el6 will be installed--> Running transaction check---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64---> Package cpp.x86_64 0:4.4.7-23.el6 will be installed---> Package glibc-devel.x86_64 0:2.12-1.212.el6_10.3 will be installed--> Processing Dependency: glibc-headers = 2.12-1.212.el6_10.3 for package: glibc-devel-2.12-1.212.el6_10.3.x86_64--> Processing Dependency: glibc = 2.12-1.212.el6_10.3 for package: glibc-devel-2.12-1.212.el6_10.3.x86_64--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.212.el6_10.3.x86_64---> Package krb5-devel.x86_64 0:1.10.3-65.el6 will be installed--> Processing Dependency: libkadm5(x86-64) = 1.10.3-65.el6 for package: krb5-devel-1.10.3-65.el6.x86_64--> Processing Dependency: libselinux-devel for package: krb5-devel-1.10.3-65.el6.x86_64--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.10.3-65.el6.x86_64--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.10.3-65.el6.x86_64---> Package libgomp.x86_64 0:4.4.7-23.el6 will be installed---> Package libstdc++-devel.x86_64 0:4.4.7-23.el6 will be installed---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed---> Package openssl.x86_64 0:1.0.1e-57.el6 will be updated---> Package openssl.x86_64 0:1.0.1e-58.el6_10 will be an update---> Package zlib-devel.x86_64 0:1.2.3-29.el6 will be installed--> Running transaction check---> Package glibc.x86_64 0:2.12-1.212.el6 will be updated--> Processing Dependency: glibc = 2.12-1.212.el6 for package: glibc-common-2.12-1.212.el6.x86_64---> Package glibc.x86_64 0:2.12-1.212.el6_10.3 will be an update---> Package glibc-headers.x86_64 0:2.12-1.212.el6_10.3 will be installed--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.212.el6_10.3.x86_64--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.212.el6_10.3.x86_64---> Package keyutils-libs-devel.x86_64 0:1.4-5.el6 will be installed---> Package libcom_err-devel.x86_64 0:1.41.12-24.el6 will be installed---> Package libkadm5.x86_64 0:1.10.3-65.el6 will be installed---> Package libselinux-devel.x86_64 0:2.0.94-7.el6 will be installed--> Processing Dependency: libsepol-devel >= 2.0.32-1 for package: libselinux-devel-2.0.94-7.el6.x86_64--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.0.94-7.el6.x86_64---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed--> Running transaction check---> Package glibc-common.x86_64 0:2.12-1.212.el6 will be updated---> Package glibc-common.x86_64 0:2.12-1.212.el6_10.3 will be an update---> Package kernel-headers.x86_64 0:2.6.32-754.25.1.el6 will be installed---> Package libsepol-devel.x86_64 0:2.0.41-4.el6 will be installed--> Finished Dependency ResolutionDependencies Resolved================================================================================Package Arch Version Repository Size================================================================================Installing:gcc x86_64 4.4.7-23.el6 base 10 Mgcc-c++ x86_64 4.4.7-23.el6 base 4.7 Mopenssl-devel x86_64 1.0.1e-58.el6_10 updates 1.2 Mpcre-devel x86_64 7.8-7.el6 base 320 kwget x86_64 1.12-10.el6 base 484 kInstalling for dependencies:cloog-ppl x86_64 0.15.7-1.2.el6 base 93 kcpp x86_64 4.4.7-23.el6 base 3.7 Mglibc-devel x86_64 2.12-1.212.el6_10.3 updates 991 kglibc-headers x86_64 2.12-1.212.el6_10.3 updates 620 kkernel-headers x86_64 2.6.32-754.25.1.el6 updates 4.6 Mkeyutils-libs-devel x86_64 1.4-5.el6 base 29 kkrb5-devel x86_64 1.10.3-65.el6 base 504 klibcom_err-devel x86_64 1.41.12-24.el6 base 33 klibgomp x86_64 4.4.7-23.el6 base 135 klibkadm5 x86_64 1.10.3-65.el6 base 143 klibselinux-devel x86_64 2.0.94-7.el6 base 137 klibsepol-devel x86_64 2.0.41-4.el6 base 64 klibstdc++-devel x86_64 4.4.7-23.el6 base 1.6 Mmpfr x86_64 2.4.1-6.el6 base 157 kppl x86_64 0.10.2-11.el6 base 1.3 Mzlib-devel x86_64 1.2.3-29.el6 base 44 kUpdating for dependencies:glibc x86_64 2.12-1.212.el6_10.3 updates 3.8 Mglibc-common x86_64 2.12-1.212.el6_10.3 updates 14 Mopenssl x86_64 1.0.1e-58.el6_10 updates 1.5 MTransaction Summary================================================================================Install 21 Package(s)Upgrade 3 Package(s)Total download size: 50 MDownloading Packages:--------------------------------------------------------------------------------Total 1.4 MB/s | 50 MB 00:35Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEYImporting GPG key 0xC105B9DE:Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>Package: centos-release-6-10.el6.centos.12.3.x86_64 (@CentOS/6.10)From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionUpdating : glibc-2.12-1.212.el6_10.3.x86_64 1/27Updating : glibc-common-2.12-1.212.el6_10.3.x86_64 2/27Installing : mpfr-2.4.1-6.el6.x86_64 3/27Updating : openssl-1.0.1e-58.el6_10.x86_64 4/27Installing : cpp-4.4.7-23.el6.x86_64 5/27Installing : libgomp-4.4.7-23.el6.x86_64 6/27Installing : ppl-0.10.2-11.el6.x86_64 7/27Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 8/27Installing : libkadm5-1.10.3-65.el6.x86_64 9/27Installing : libsepol-devel-2.0.41-4.el6.x86_64 10/27Installing : libselinux-devel-2.0.94-7.el6.x86_64 11/27Installing : kernel-headers-2.6.32-754.25.1.el6.x86_64 12/27Installing : glibc-headers-2.12-1.212.el6_10.3.x86_64 13/27Installing : glibc-devel-2.12-1.212.el6_10.3.x86_64 14/27Installing : gcc-4.4.7-23.el6.x86_64 15/27Installing : zlib-devel-1.2.3-29.el6.x86_64 16/27Installing : keyutils-libs-devel-1.4-5.el6.x86_64 17/27Installing : libcom_err-devel-1.41.12-24.el6.x86_64 18/27Installing : krb5-devel-1.10.3-65.el6.x86_64 19/27Installing : libstdc++-devel-4.4.7-23.el6.x86_64 20/27Installing : gcc-c++-4.4.7-23.el6.x86_64 21/27Installing : openssl-devel-1.0.1e-58.el6_10.x86_64 22/27Installing : wget-1.12-10.el6.x86_64 23/27install-info: No such file or directory for /usr/share/info/wget.info.gzInstalling : pcre-devel-7.8-7.el6.x86_64 24/27Cleanup : openssl-1.0.1e-57.el6.x86_64 25/27Cleanup : glibc-2.12-1.212.el6.x86_64 26/27Cleanup : glibc-common-2.12-1.212.el6.x86_64 27/27Verifying : gcc-4.4.7-23.el6.x86_64 1/27Verifying : krb5-devel-1.10.3-65.el6.x86_64 2/27Verifying : glibc-devel-2.12-1.212.el6_10.3.x86_64 3/27Verifying : libstdc++-devel-4.4.7-23.el6.x86_64 4/27Verifying : wget-1.12-10.el6.x86_64 5/27Verifying : libcom_err-devel-1.41.12-24.el6.x86_64 6/27Verifying : keyutils-libs-devel-1.4-5.el6.x86_64 7/27Verifying : glibc-headers-2.12-1.212.el6_10.3.x86_64 8/27Verifying : mpfr-2.4.1-6.el6.x86_64 9/27Verifying : zlib-devel-1.2.3-29.el6.x86_64 10/27Verifying : glibc-common-2.12-1.212.el6_10.3.x86_64 11/27Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 12/27Verifying : libgomp-4.4.7-23.el6.x86_64 13/27Verifying : gcc-c++-4.4.7-23.el6.x86_64 14/27Verifying : openssl-1.0.1e-58.el6_10.x86_64 15/27Verifying : kernel-headers-2.6.32-754.25.1.el6.x86_64 16/27Verifying : ppl-0.10.2-11.el6.x86_64 17/27Verifying : pcre-devel-7.8-7.el6.x86_64 18/27Verifying : libsepol-devel-2.0.41-4.el6.x86_64 19/27Verifying : openssl-devel-1.0.1e-58.el6_10.x86_64 20/27Verifying : libkadm5-1.10.3-65.el6.x86_64 21/27Verifying : libselinux-devel-2.0.94-7.el6.x86_64 22/27Verifying : cpp-4.4.7-23.el6.x86_64 23/27Verifying : glibc-2.12-1.212.el6_10.3.x86_64 24/27Verifying : glibc-common-2.12-1.212.el6.x86_64 25/27Verifying : glibc-2.12-1.212.el6.x86_64 26/27Verifying : openssl-1.0.1e-57.el6.x86_64 27/27Installed:gcc.x86_64 0:4.4.7-23.el6 gcc-c++.x86_64 0:4.4.7-23.el6openssl-devel.x86_64 0:1.0.1e-58.el6_10 pcre-devel.x86_64 0:7.8-7.el6wget.x86_64 0:1.12-10.el6Dependency Installed:cloog-ppl.x86_64 0:0.15.7-1.2.el6cpp.x86_64 0:4.4.7-23.el6glibc-devel.x86_64 0:2.12-1.212.el6_10.3glibc-headers.x86_64 0:2.12-1.212.el6_10.3kernel-headers.x86_64 0:2.6.32-754.25.1.el6keyutils-libs-devel.x86_64 0:1.4-5.el6krb5-devel.x86_64 0:1.10.3-65.el6libcom_err-devel.x86_64 0:1.41.12-24.el6libgomp.x86_64 0:4.4.7-23.el6libkadm5.x86_64 0:1.10.3-65.el6libselinux-devel.x86_64 0:2.0.94-7.el6libsepol-devel.x86_64 0:2.0.41-4.el6libstdc++-devel.x86_64 0:4.4.7-23.el6mpfr.x86_64 0:2.4.1-6.el6ppl.x86_64 0:0.10.2-11.el6zlib-devel.x86_64 0:1.2.3-29.el6Dependency Updated:glibc.x86_64 0:2.12-1.212.el6_10.3 glibc-common.x86_64 0:2.12-1.212.el6_10.3openssl.x86_64 0:1.0.1e-58.el6_10Complete!Removing intermediate container df1db1c4c2f3---> 73037eac4241Step 3/8 : WORKDIR /tmp---> Running in 4e6079ec3739Removing intermediate container 4e6079ec3739---> e59a8f45372eStep 4/8 : RUN wget http://nginx.org/download/nginx-1.14.2.tar.gz---> Running in 5825b705828e--2019-12-30 05:54:35-- http://nginx.org/download/nginx-1.14.2.tar.gzResolving nginx.org... 62.210.92.35, 95.211.80.227, 2001:1af8:4060:a004:21::e3Connecting to nginx.org|62.210.92.35|:80... connected.HTTP request sent, awaiting response... 200 OKLength: 1015384 (992K) [application/octet-stream]Saving to: `nginx-1.14.2.tar.gz'0K .......... .......... .......... .......... .......... 5% 86.0K 11s50K .......... .......... .......... .......... .......... 10% 47.7K 15s100K .......... .......... .......... .......... .......... 15% 200K 11s150K .......... .......... .......... .......... .......... 20% 42.6K 12s200K .......... .......... .......... .......... .......... 25% 31.8K 14s250K .......... .......... .......... .......... .......... 30% 55.8K 13s300K .......... .......... .......... .......... .......... 35% 89.4K 11s350K .......... .......... .......... .......... .......... 40% 57.2K 10s400K .......... .......... .......... .......... .......... 45% 20.0K 11s450K .......... .......... .......... .......... .......... 50% 40.3K 11s500K .......... .......... .......... .......... .......... 55% 30.7K 10s550K .......... .......... .......... .......... .......... 60% 23.3K 9s600K .......... .......... .......... .......... .......... 65% 29.9K 8s650K .......... .......... .......... .......... .......... 70% 49.3K 7s700K .......... .......... .......... .......... .......... 75% 69.3K 6s750K .......... .......... .......... .......... .......... 80% 70.5K 4s800K .......... .......... .......... .......... .......... 85% 106K 3s850K .......... .......... .......... .......... .......... 90% 92.4K 2s900K .......... .......... .......... .......... .......... 95% 56.6K 1s950K .......... .......... .......... .......... . 100% 78.8K=21s2019-12-30 05:54:57 (47.2 KB/s) - `nginx-1.14.2.tar.gz' saved [1015384/1015384]Removing intermediate container 5825b705828e---> 31eaa9fd3b69Step 5/8 : RUN tar -zxf nginx-1.14.2.tar.gz && cd nginx-1.14.2 && ./configure --prefix=/usr/local/nginx && make && make install---> Running in aa80f37cf292checking for OS+ Linux 3.10.0-957.12.1.el7.x86_64 x86_64checking for C compiler ... found+ using GNU C compiler+ gcc version: 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)checking for gcc -pipe switch ... foundchecking for -Wl,-E switch ... foundchecking for gcc builtin atomic operations ... foundchecking for C99 variadic macros ... foundchecking for gcc variadic macros ... foundchecking for gcc builtin 64 bit byteswap ... foundchecking for unistd.h ... foundchecking for inttypes.h ... foundchecking for limits.h ... foundchecking for sys/filio.h ... not foundchecking for sys/param.h ... foundchecking for sys/mount.h ... foundchecking for sys/statvfs.h ... foundchecking for crypt.h ... foundchecking for Linux specific featureschecking for epoll ... foundchecking for EPOLLRDHUP ... foundchecking for EPOLLEXCLUSIVE ... not foundchecking for O_PATH ... not foundchecking for sendfile() ... foundchecking for sendfile64() ... foundchecking for sys/prctl.h ... foundchecking for prctl(PR_SET_DUMPABLE) ... foundchecking for prctl(PR_SET_KEEPCAPS) ... foundchecking for capabilities ... foundchecking for crypt_r() ... foundchecking for sys/vfs.h ... foundchecking for nobody group ... foundchecking for poll() ... foundchecking for /dev/poll ... not foundchecking for kqueue ... not foundchecking for crypt() ... not foundchecking for crypt() in libcrypt ... foundchecking for F_READAHEAD ... not foundchecking for posix_fadvise() ... foundchecking for O_DIRECT ... foundchecking for F_NOCACHE ... not foundchecking for directio() ... not foundchecking for statfs() ... foundchecking for statvfs() ... foundchecking for dlopen() ... not foundchecking for dlopen() in libdl ... foundchecking for sched_yield() ... foundchecking for sched_setaffinity() ... foundchecking for SO_SETFIB ... not foundchecking for SO_REUSEPORT ... foundchecking for SO_ACCEPTFILTER ... not foundchecking for SO_BINDANY ... not foundchecking for IP_TRANSPARENT ... foundchecking for IP_BINDANY ... not foundchecking for IP_BIND_ADDRESS_NO_PORT ... not foundchecking for IP_RECVDSTADDR ... not foundchecking for IP_SENDSRCADDR ... not foundchecking for IP_PKTINFO ... foundchecking for IPV6_RECVPKTINFO ... foundchecking for TCP_DEFER_ACCEPT ... foundchecking for TCP_KEEPIDLE ... foundchecking for TCP_FASTOPEN ... not foundchecking for TCP_INFO ... foundchecking for accept4() ... foundchecking for eventfd() ... foundchecking for int size ... 4 byteschecking for long size ... 8 byteschecking for long long size ... 8 byteschecking for void * size ... 8 byteschecking for uint32_t ... foundchecking for uint64_t ... foundchecking for sig_atomic_t ... foundchecking for sig_atomic_t size ... 4 byteschecking for socklen_t ... foundchecking for in_addr_t ... foundchecking for in_port_t ... foundchecking for rlim_t ... foundchecking for uintptr_t ... uintptr_t foundchecking for system byte ordering ... little endianchecking for size_t size ... 8 byteschecking for off_t size ... 8 byteschecking for time_t size ... 8 byteschecking for AF_INET6 ... foundchecking for setproctitle() ... not foundchecking for pread() ... foundchecking for pwrite() ... foundchecking for pwritev() ... foundchecking for sys_nerr ... foundchecking for localtime_r() ... foundchecking for clock_gettime(CLOCK_MONOTONIC) ... not foundchecking for clock_gettime(CLOCK_MONOTONIC) in librt ... foundchecking for posix_memalign() ... foundchecking for memalign() ... foundchecking for mmap(MAP_ANON|MAP_SHARED) ... foundchecking for mmap("/dev/zero", MAP_SHARED) ... foundchecking for System V shared memory ... foundchecking for POSIX semaphores ... not foundchecking for POSIX semaphores in libpthread ... foundchecking for struct msghdr.msg_control ... foundchecking for ioctl(FIONBIO) ... foundchecking for struct tm.tm_gmtoff ... foundchecking for struct dirent.d_namlen ... not foundchecking for struct dirent.d_type ... foundchecking for sysconf(_SC_NPROCESSORS_ONLN) ... foundchecking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... foundchecking for openat(), fstatat() ... foundchecking for getaddrinfo() ... foundchecking for PCRE library ... foundchecking for PCRE JIT support ... not foundchecking for zlib library ... foundcreating objs/MakefileConfiguration summary+ using system PCRE library+ OpenSSL library is not used+ using system zlib librarynginx path prefix: "/usr/local/nginx"nginx binary file: "/usr/local/nginx/sbin/nginx"nginx modules path: "/usr/local/nginx/modules"nginx configuration prefix: "/usr/local/nginx/conf"nginx configuration file: "/usr/local/nginx/conf/nginx.conf"nginx pid file: "/usr/local/nginx/logs/nginx.pid"nginx error log file: "/usr/local/nginx/logs/error.log"nginx http access log file: "/usr/local/nginx/logs/access.log"nginx http client request body temporary files: "client_body_temp"nginx http proxy temporary files: "proxy_temp"nginx http fastcgi temporary files: "fastcgi_temp"nginx http uwsgi temporary files: "uwsgi_temp"nginx http scgi temporary files: "scgi_temp"make -f objs/Makefilemake[1]: Entering directory `/tmp/nginx-1.14.2'cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/nginx.o \src/core/nginx.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_log.o \src/core/ngx_log.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_palloc.o \src/core/ngx_palloc.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_array.o \src/core/ngx_array.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_list.o \src/core/ngx_list.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_hash.o \src/core/ngx_hash.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_buf.o \src/core/ngx_buf.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_queue.o \src/core/ngx_queue.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_output_chain.o \src/core/ngx_output_chain.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_string.o \src/core/ngx_string.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_parse.o \src/core/ngx_parse.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_parse_time.o \src/core/ngx_parse_time.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_inet.o \src/core/ngx_inet.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_file.o \src/core/ngx_file.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_crc32.o \src/core/ngx_crc32.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_murmurhash.o \src/core/ngx_murmurhash.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_md5.o \src/core/ngx_md5.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_sha1.o \src/core/ngx_sha1.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_rbtree.o \src/core/ngx_rbtree.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_radix_tree.o \src/core/ngx_radix_tree.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_slab.o \src/core/ngx_slab.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_times.o \src/core/ngx_times.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_shmtx.o \src/core/ngx_shmtx.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_connection.o \src/core/ngx_connection.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_cycle.o \src/core/ngx_cycle.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_spinlock.o \src/core/ngx_spinlock.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_rwlock.o \src/core/ngx_rwlock.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_cpuinfo.o \src/core/ngx_cpuinfo.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_conf_file.o \src/core/ngx_conf_file.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_module.o \src/core/ngx_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_resolver.o \src/core/ngx_resolver.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_open_file_cache.o \src/core/ngx_open_file_cache.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_crypt.o \src/core/ngx_crypt.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_proxy_protocol.o \src/core/ngx_proxy_protocol.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_syslog.o \src/core/ngx_syslog.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/event/ngx_event.o \src/event/ngx_event.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/event/ngx_event_timer.o \src/event/ngx_event_timer.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/event/ngx_event_posted.o \src/event/ngx_event_posted.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/event/ngx_event_accept.o \src/event/ngx_event_accept.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/event/ngx_event_connect.o \src/event/ngx_event_connect.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/event/ngx_event_pipe.o \src/event/ngx_event_pipe.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_time.o \src/os/unix/ngx_time.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_errno.o \src/os/unix/ngx_errno.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_alloc.o \src/os/unix/ngx_alloc.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_files.o \src/os/unix/ngx_files.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_socket.o \src/os/unix/ngx_socket.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_recv.o \src/os/unix/ngx_recv.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_readv_chain.o \src/os/unix/ngx_readv_chain.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_udp_recv.o \src/os/unix/ngx_udp_recv.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_send.o \src/os/unix/ngx_send.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_writev_chain.o \src/os/unix/ngx_writev_chain.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_udp_send.o \src/os/unix/ngx_udp_send.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_udp_sendmsg_chain.o \src/os/unix/ngx_udp_sendmsg_chain.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_channel.o \src/os/unix/ngx_channel.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_shmem.o \src/os/unix/ngx_shmem.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_process.o \src/os/unix/ngx_process.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_daemon.o \src/os/unix/ngx_daemon.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_setaffinity.o \src/os/unix/ngx_setaffinity.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_setproctitle.o \src/os/unix/ngx_setproctitle.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_posix_init.o \src/os/unix/ngx_posix_init.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_user.o \src/os/unix/ngx_user.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_dlopen.o \src/os/unix/ngx_dlopen.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_process_cycle.o \src/os/unix/ngx_process_cycle.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_linux_init.o \src/os/unix/ngx_linux_init.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/event/modules/ngx_epoll_module.o \src/event/modules/ngx_epoll_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/os/unix/ngx_linux_sendfile_chain.o \src/os/unix/ngx_linux_sendfile_chain.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/src/core/ngx_regex.o \src/core/ngx_regex.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http.o \src/http/ngx_http.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_core_module.o \src/http/ngx_http_core_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_special_response.o \src/http/ngx_http_special_response.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_request.o \src/http/ngx_http_request.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_parse.o \src/http/ngx_http_parse.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_log_module.o \src/http/modules/ngx_http_log_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_request_body.o \src/http/ngx_http_request_body.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_variables.o \src/http/ngx_http_variables.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_script.o \src/http/ngx_http_script.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_upstream.o \src/http/ngx_http_upstream.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_upstream_round_robin.o \src/http/ngx_http_upstream_round_robin.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_file_cache.o \src/http/ngx_http_file_cache.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_write_filter_module.o \src/http/ngx_http_write_filter_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_header_filter_module.o \src/http/ngx_http_header_filter_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_chunked_filter_module.o \src/http/modules/ngx_http_chunked_filter_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_range_filter_module.o \src/http/modules/ngx_http_range_filter_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_gzip_filter_module.o \src/http/modules/ngx_http_gzip_filter_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_postpone_filter_module.o \src/http/ngx_http_postpone_filter_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_ssi_filter_module.o \src/http/modules/ngx_http_ssi_filter_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_charset_filter_module.o \src/http/modules/ngx_http_charset_filter_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_userid_filter_module.o \src/http/modules/ngx_http_userid_filter_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_headers_filter_module.o \src/http/modules/ngx_http_headers_filter_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/ngx_http_copy_filter_module.o \src/http/ngx_http_copy_filter_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_not_modified_filter_module.o \src/http/modules/ngx_http_not_modified_filter_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_static_module.o \src/http/modules/ngx_http_static_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_autoindex_module.o \src/http/modules/ngx_http_autoindex_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_index_module.o \src/http/modules/ngx_http_index_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_mirror_module.o \src/http/modules/ngx_http_mirror_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_try_files_module.o \src/http/modules/ngx_http_try_files_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_auth_basic_module.o \src/http/modules/ngx_http_auth_basic_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_access_module.o \src/http/modules/ngx_http_access_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_limit_conn_module.o \src/http/modules/ngx_http_limit_conn_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_limit_req_module.o \src/http/modules/ngx_http_limit_req_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_geo_module.o \src/http/modules/ngx_http_geo_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_map_module.o \src/http/modules/ngx_http_map_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_split_clients_module.o \src/http/modules/ngx_http_split_clients_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_referer_module.o \src/http/modules/ngx_http_referer_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_rewrite_module.o \src/http/modules/ngx_http_rewrite_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_proxy_module.o \src/http/modules/ngx_http_proxy_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_fastcgi_module.o \src/http/modules/ngx_http_fastcgi_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_uwsgi_module.o \src/http/modules/ngx_http_uwsgi_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_scgi_module.o \src/http/modules/ngx_http_scgi_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_memcached_module.o \src/http/modules/ngx_http_memcached_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_empty_gif_module.o \src/http/modules/ngx_http_empty_gif_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_browser_module.o \src/http/modules/ngx_http_browser_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_upstream_hash_module.o \src/http/modules/ngx_http_upstream_hash_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \src/http/modules/ngx_http_upstream_ip_hash_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_upstream_least_conn_module.o \src/http/modules/ngx_http_upstream_least_conn_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_upstream_keepalive_module.o \src/http/modules/ngx_http_upstream_keepalive_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \-o objs/src/http/modules/ngx_http_upstream_zone_module.o \src/http/modules/ngx_http_upstream_zone_module.ccc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \-o objs/ngx_modules.o \objs/ngx_modules.ccc -o objs/nginx \objs/src/core/nginx.o \objs/src/core/ngx_log.o \objs/src/core/ngx_palloc.o \objs/src/core/ngx_array.o \objs/src/core/ngx_list.o \objs/src/core/ngx_hash.o \objs/src/core/ngx_buf.o \objs/src/core/ngx_queue.o \objs/src/core/ngx_output_chain.o \objs/src/core/ngx_string.o \objs/src/core/ngx_parse.o \objs/src/core/ngx_parse_time.o \objs/src/core/ngx_inet.o \objs/src/core/ngx_file.o \objs/src/core/ngx_crc32.o \objs/src/core/ngx_murmurhash.o \objs/src/core/ngx_md5.o \objs/src/core/ngx_sha1.o \objs/src/core/ngx_rbtree.o \objs/src/core/ngx_radix_tree.o \objs/src/core/ngx_slab.o \objs/src/core/ngx_times.o \objs/src/core/ngx_shmtx.o \objs/src/core/ngx_connection.o \objs/src/core/ngx_cycle.o \objs/src/core/ngx_spinlock.o \objs/src/core/ngx_rwlock.o \objs/src/core/ngx_cpuinfo.o \objs/src/core/ngx_conf_file.o \objs/src/core/ngx_module.o \objs/src/core/ngx_resolver.o \objs/src/core/ngx_open_file_cache.o \objs/src/core/ngx_crypt.o \objs/src/core/ngx_proxy_protocol.o \objs/src/core/ngx_syslog.o \objs/src/event/ngx_event.o \objs/src/event/ngx_event_timer.o \objs/src/event/ngx_event_posted.o \objs/src/event/ngx_event_accept.o \objs/src/event/ngx_event_connect.o \objs/src/event/ngx_event_pipe.o \objs/src/os/unix/ngx_time.o \objs/src/os/unix/ngx_errno.o \objs/src/os/unix/ngx_alloc.o \objs/src/os/unix/ngx_files.o \objs/src/os/unix/ngx_socket.o \objs/src/os/unix/ngx_recv.o \objs/src/os/unix/ngx_readv_chain.o \objs/src/os/unix/ngx_udp_recv.o \objs/src/os/unix/ngx_send.o \objs/src/os/unix/ngx_writev_chain.o \objs/src/os/unix/ngx_udp_send.o \objs/src/os/unix/ngx_udp_sendmsg_chain.o \objs/src/os/unix/ngx_channel.o \objs/src/os/unix/ngx_shmem.o \objs/src/os/unix/ngx_process.o \objs/src/os/unix/ngx_daemon.o \objs/src/os/unix/ngx_setaffinity.o \objs/src/os/unix/ngx_setproctitle.o \objs/src/os/unix/ngx_posix_init.o \objs/src/os/unix/ngx_user.o \objs/src/os/unix/ngx_dlopen.o \objs/src/os/unix/ngx_process_cycle.o \objs/src/os/unix/ngx_linux_init.o \objs/src/event/modules/ngx_epoll_module.o \objs/src/os/unix/ngx_linux_sendfile_chain.o \objs/src/core/ngx_regex.o \objs/src/http/ngx_http.o \objs/src/http/ngx_http_core_module.o \objs/src/http/ngx_http_special_response.o \objs/src/http/ngx_http_request.o \objs/src/http/ngx_http_parse.o \objs/src/http/modules/ngx_http_log_module.o \objs/src/http/ngx_http_request_body.o \objs/src/http/ngx_http_variables.o \objs/src/http/ngx_http_script.o \objs/src/http/ngx_http_upstream.o \objs/src/http/ngx_http_upstream_round_robin.o \objs/src/http/ngx_http_file_cache.o \objs/src/http/ngx_http_write_filter_module.o \objs/src/http/ngx_http_header_filter_module.o \objs/src/http/modules/ngx_http_chunked_filter_module.o \objs/src/http/modules/ngx_http_range_filter_module.o \objs/src/http/modules/ngx_http_gzip_filter_module.o \objs/src/http/ngx_http_postpone_filter_module.o \objs/src/http/modules/ngx_http_ssi_filter_module.o \objs/src/http/modules/ngx_http_charset_filter_module.o \objs/src/http/modules/ngx_http_userid_filter_module.o \objs/src/http/modules/ngx_http_headers_filter_module.o \objs/src/http/ngx_http_copy_filter_module.o \objs/src/http/modules/ngx_http_not_modified_filter_module.o \objs/src/http/modules/ngx_http_static_module.o \objs/src/http/modules/ngx_http_autoindex_module.o \objs/src/http/modules/ngx_http_index_module.o \objs/src/http/modules/ngx_http_mirror_module.o \objs/src/http/modules/ngx_http_try_files_module.o \objs/src/http/modules/ngx_http_auth_basic_module.o \objs/src/http/modules/ngx_http_access_module.o \objs/src/http/modules/ngx_http_limit_conn_module.o \objs/src/http/modules/ngx_http_limit_req_module.o \objs/src/http/modules/ngx_http_geo_module.o \objs/src/http/modules/ngx_http_map_module.o \objs/src/http/modules/ngx_http_split_clients_module.o \objs/src/http/modules/ngx_http_referer_module.o \objs/src/http/modules/ngx_http_rewrite_module.o \objs/src/http/modules/ngx_http_proxy_module.o \objs/src/http/modules/ngx_http_fastcgi_module.o \objs/src/http/modules/ngx_http_uwsgi_module.o \objs/src/http/modules/ngx_http_scgi_module.o \objs/src/http/modules/ngx_http_memcached_module.o \objs/src/http/modules/ngx_http_empty_gif_module.o \objs/src/http/modules/ngx_http_browser_module.o \objs/src/http/modules/ngx_http_upstream_hash_module.o \objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \objs/src/http/modules/ngx_http_upstream_least_conn_module.o \objs/src/http/modules/ngx_http_upstream_keepalive_module.o \objs/src/http/modules/ngx_http_upstream_zone_module.o \objs/ngx_modules.o \-ldl -lrt -lpthread -lcrypt -lpcre -lz \-Wl,-Esed -e "s|%%PREFIX%%|/usr/local/nginx|" \-e "s|%%PID_PATH%%|/usr/local/nginx/logs/nginx.pid|" \-e "s|%%CONF_PATH%%|/usr/local/nginx/conf/nginx.conf|" \-e "s|%%ERROR_LOG_PATH%%|/usr/local/nginx/logs/error.log|" \< man/nginx.8 > objs/nginx.8make[1]: Leaving directory `/tmp/nginx-1.14.2'make -f objs/Makefile installmake[1]: Entering directory `/tmp/nginx-1.14.2'test -d '/usr/local/nginx' || mkdir -p '/usr/local/nginx'test -d '/usr/local/nginx/sbin' \|| mkdir -p '/usr/local/nginx/sbin'test ! -f '/usr/local/nginx/sbin/nginx' \|| mv '/usr/local/nginx/sbin/nginx' \'/usr/local/nginx/sbin/nginx.old'cp objs/nginx '/usr/local/nginx/sbin/nginx'test -d '/usr/local/nginx/conf' \|| mkdir -p '/usr/local/nginx/conf'cp conf/koi-win '/usr/local/nginx/conf'cp conf/koi-utf '/usr/local/nginx/conf'cp conf/win-utf '/usr/local/nginx/conf'test -f '/usr/local/nginx/conf/mime.types' \|| cp conf/mime.types '/usr/local/nginx/conf'cp conf/mime.types '/usr/local/nginx/conf/mime.types.default'test -f '/usr/local/nginx/conf/fastcgi_params' \|| cp conf/fastcgi_params '/usr/local/nginx/conf'cp conf/fastcgi_params \'/usr/local/nginx/conf/fastcgi_params.default'test -f '/usr/local/nginx/conf/fastcgi.conf' \|| cp conf/fastcgi.conf '/usr/local/nginx/conf'cp conf/fastcgi.conf '/usr/local/nginx/conf/fastcgi.conf.default'test -f '/usr/local/nginx/conf/uwsgi_params' \|| cp conf/uwsgi_params '/usr/local/nginx/conf'cp conf/uwsgi_params \'/usr/local/nginx/conf/uwsgi_params.default'test -f '/usr/local/nginx/conf/scgi_params' \|| cp conf/scgi_params '/usr/local/nginx/conf'cp conf/scgi_params \'/usr/local/nginx/conf/scgi_params.default'test -f '/usr/local/nginx/conf/nginx.conf' \|| cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf'cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf.default'test -d '/usr/local/nginx/logs' \|| mkdir -p '/usr/local/nginx/logs'test -d '/usr/local/nginx/logs' \|| mkdir -p '/usr/local/nginx/logs'test -d '/usr/local/nginx/html' \|| cp -R html '/usr/local/nginx'test -d '/usr/local/nginx/logs' \|| mkdir -p '/usr/local/nginx/logs'make[1]: Leaving directory `/tmp/nginx-1.14.2'Removing intermediate container aa80f37cf292---> e2a19c9de66dStep 6/8 : COPY nginx.conf /usr/local/nginx/conf---> 40afd7eeed66Step 7/8 : EXPOSE 80---> Running in ec5a7c8c8284Removing intermediate container ec5a7c8c8284---> 1ca6bb121dcfStep 8/8 : CMD ["/usr/local/nginx/sbin/nginx","-g","daemon off;"]---> Running in 0a2f8cd266a9Removing intermediate container 0a2f8cd266a9---> 6c9d6c6a3878Successfully built 6c9d6c6a3878Successfully tagged nginx:v1[root@docker nginx]# docker imagesREPOSITORY TAG IMAGE ID CREATED SIZEnginx v1 6c9d6c6a3878 10 seconds ago 494MBauto-jenkins latest d83c74abb6ca 7 weeks ago 734MBdocker latest cf85f29ec76f 2 months ago 216MBtomcat latest 882487b8be1d 2 months ago 507MBnginx latest 53f3fd8007f7 7 months ago 109MBcentos 6 d0957ffdf8a2 9 months ago 194MBcentos latest 9f38484d220f 9 months ago 202MB[root@docker nginx]#
官方nginx docker Dockerfile 制作过程:
[root@docker nginx]# lltotal 8-rw-r--r--. 1 root root 5037 Dec 30 16:17 Dockerfile[root@docker nginx]#[root@docker nginx]# docker build -t nginx:v1.17.6 .Sending build context to Docker daemon 6.656kBStep 1/10 : FROM debian:buster-slimbuster-slim: Pulling from library/debianbuster-slim: Pulling from library/debian8ec398bc0356: Pull completeDigest: sha256:e4c1417236abc57971755ca2bfccd546cbca45b33daf66001a5addae4bf78517Status: Downloaded newer image for debian:buster-slim---> e1af56d072b8Step 2/10 : LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"---> Running in 92695891c0c2Removing intermediate container 92695891c0c2---> d8a02e14b02aStep 3/10 : ENV NGINX_VERSION 1.17.6---> Running in feb563ff3a6dRemoving intermediate container feb563ff3a6d---> a62b6e9835f7Step 4/10 : ENV NJS_VERSION 0.3.7---> Running in 0095d0efc784Removing intermediate container 0095d0efc784---> 5c94f335c62aStep 5/10 : ENV PKG_RELEASE 1~buster---> Running in 3dcc9ffa83bcRemoving intermediate container 3dcc9ffa83bc---> a68581dec37fStep 6/10 : RUN set -x && addgroup --system --gid 101 nginx && adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates && NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; found=''; for server in ha.pool.sks-keyservers.net hkp://keyserver.ubuntu.com:80 hkp://p80.pool.sks-keyservers.net:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* && dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-njs=${NGINX_VERSION}.${NJS_VERSION}-${PKG_RELEASE} " && case "$dpkgArch" in amd64|i386) echo "deb https://nginx.org/packages/mainline/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src https://nginx.org/packages/mainline/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y $nginxPackages && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile $nginxPackages ) && apt-mark showmanual | xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base && apt-get remove --purge --auto-remove -y ca-certificates && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi---> Running in 8938a2bb5f21+ addgroup --system --gid 101 nginxAdding group `nginx' (GID 101) ...Done.+ adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos nginx user --shell /bin/false --uid 101 nginxWarning: The home dir /nonexistent you specified can't be accessed: No such file or directoryAdding system user `nginx' (UID 101) ...Adding new user `nginx' (UID 101) with group `nginx' ...Not creating home directory `/nonexistent'.+ apt-get updateGet:2 http://deb.debian.org/debian buster InRelease [122 kB]Get:1 http://security-cdn.debian.org/debian-security buster/updates InRelease [65.4 kB]Get:3 http://security-cdn.debian.org/debian-security buster/updates/main amd64 Packages [167 kB]Get:4 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7908 kB]Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [5792 B]Fetched 8317 kB in 4min 14s (32.7 kB/s)Reading package lists...+ apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificatesReading package lists...Building dependency tree...Reading state information...The following additional packages will be installed:libcurl3-gnutls libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3libkrb5support0 libldap-2.4-2 libldap-common libnghttp2-14 libpsl5libreadline7 librtmp1 libsasl2-2 libsasl2-modules-db libssh2-1 libssl1.1openssl readline-commonSuggested packages:libpcsclite1 parcimonie xloadimage | imagemagick | eog krb5-doc krb5-userreadline-docRecommended packages:gnupg1-l10n krb5-locales publicsuffix libsasl2-modulesThe following NEW packages will be installed:ca-certificates gnupg1 libcurl3-gnutls libgssapi-krb5-2 libk5crypto3libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-commonlibnghttp2-14 libpsl5 libreadline7 librtmp1 libsasl2-2 libsasl2-modules-dblibssh2-1 libssl1.1 openssl readline-common0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.Need to get 5247 kB of archives.After this operation, 12.4 MB of additional disk space will be used.Get:1 http://security-cdn.debian.org/debian-security buster/updates/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1+deb10u1 [69.1 kB]Get:3 http://deb.debian.org/debian buster/main amd64 readline-common all 7.0-5 [70.6 kB]Get:4 http://deb.debian.org/debian buster/main amd64 libssl1.1 amd64 1.1.1d-0+deb10u2 [1538 kB]Get:2 http://security-cdn.debian.org/debian-security buster/updates/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1+deb10u1 [106 kB]Get:5 http://deb.debian.org/debian buster/main amd64 openssl amd64 1.1.1d-0+deb10u2 [843 kB]Get:6 http://deb.debian.org/debian buster/main amd64 ca-certificates all 20190110 [157 kB]Get:7 http://deb.debian.org/debian buster/main amd64 libkeyutils1 amd64 1.6-6 [15.0 kB]Get:8 http://deb.debian.org/debian buster/main amd64 libkrb5support0 amd64 1.17-3 [65.6 kB]Get:9 http://deb.debian.org/debian buster/main amd64 libk5crypto3 amd64 1.17-3 [121 kB]Get:10 http://deb.debian.org/debian buster/main amd64 libkrb5-3 amd64 1.17-3 [370 kB]Get:11 http://deb.debian.org/debian buster/main amd64 libgssapi-krb5-2 amd64 1.17-3 [158 kB]Get:12 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u1 [89.6 kB]Get:13 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u1 [225 kB]Get:14 http://deb.debian.org/debian buster/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u1 [85.0 kB]Get:15 http://deb.debian.org/debian buster/main amd64 libpsl5 amd64 0.20.2-2 [53.7 kB]Get:16 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB]Get:17 http://deb.debian.org/debian buster/main amd64 libssh2-1 amd64 1.8.0-2.1 [140 kB]Get:18 http://deb.debian.org/debian buster/main amd64 libcurl3-gnutls amd64 7.64.0-4 [329 kB]Get:19 http://deb.debian.org/debian buster/main amd64 libreadline7 amd64 7.0-5 [151 kB]Get:20 http://deb.debian.org/debian buster/main amd64 gnupg1 amd64 1.4.23-1 [599 kB]debconf: delaying package configuration, since apt-utils is not installedFetched 5247 kB in 4min 47s (18.3 kB/s)Selecting previously unselected package readline-common.(Reading database ... 6457 files and directories currently installed.)Preparing to unpack .../00-readline-common_7.0-5_all.deb ...Unpacking readline-common (7.0-5) ...Selecting previously unselected package libsasl2-modules-db:amd64.Preparing to unpack .../01-libsasl2-modules-db_2.1.27+dfsg-1+deb10u1_amd64.deb ...Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1+deb10u1) ...Selecting previously unselected package libsasl2-2:amd64.Preparing to unpack .../02-libsasl2-2_2.1.27+dfsg-1+deb10u1_amd64.deb ...Unpacking libsasl2-2:amd64 (2.1.27+dfsg-1+deb10u1) ...Selecting previously unselected package libssl1.1:amd64.Preparing to unpack .../03-libssl1.1_1.1.1d-0+deb10u2_amd64.deb ...Unpacking libssl1.1:amd64 (1.1.1d-0+deb10u2) ...Selecting previously unselected package openssl.Preparing to unpack .../04-openssl_1.1.1d-0+deb10u2_amd64.deb ...Unpacking openssl (1.1.1d-0+deb10u2) ...Selecting previously unselected package ca-certificates.Preparing to unpack .../05-ca-certificates_20190110_all.deb ...Unpacking ca-certificates (20190110) ...Selecting previously unselected package libkeyutils1:amd64.Preparing to unpack .../06-libkeyutils1_1.6-6_amd64.deb ...Unpacking libkeyutils1:amd64 (1.6-6) ...Selecting previously unselected package libkrb5support0:amd64.Preparing to unpack .../07-libkrb5support0_1.17-3_amd64.deb ...Unpacking libkrb5support0:amd64 (1.17-3) ...Selecting previously unselected package libk5crypto3:amd64.Preparing to unpack .../08-libk5crypto3_1.17-3_amd64.deb ...Unpacking libk5crypto3:amd64 (1.17-3) ...Selecting previously unselected package libkrb5-3:amd64.Preparing to unpack .../09-libkrb5-3_1.17-3_amd64.deb ...Unpacking libkrb5-3:amd64 (1.17-3) ...Selecting previously unselected package libgssapi-krb5-2:amd64.Preparing to unpack .../10-libgssapi-krb5-2_1.17-3_amd64.deb ...Unpacking libgssapi-krb5-2:amd64 (1.17-3) ...Selecting previously unselected package libldap-common.Preparing to unpack .../11-libldap-common_2.4.47+dfsg-3+deb10u1_all.deb ...Unpacking libldap-common (2.4.47+dfsg-3+deb10u1) ...Selecting previously unselected package libldap-2.4-2:amd64.Preparing to unpack .../12-libldap-2.4-2_2.4.47+dfsg-3+deb10u1_amd64.deb ...Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...Selecting previously unselected package libnghttp2-14:amd64.Preparing to unpack .../13-libnghttp2-14_1.36.0-2+deb10u1_amd64.deb ...Unpacking libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...Selecting previously unselected package libpsl5:amd64.Preparing to unpack .../14-libpsl5_0.20.2-2_amd64.deb ...Unpacking libpsl5:amd64 (0.20.2-2) ...Selecting previously unselected package librtmp1:amd64.Preparing to unpack .../15-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ...Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...Selecting previously unselected package libssh2-1:amd64.Preparing to unpack .../16-libssh2-1_1.8.0-2.1_amd64.deb ...Unpacking libssh2-1:amd64 (1.8.0-2.1) ...Selecting previously unselected package libcurl3-gnutls:amd64.Preparing to unpack .../17-libcurl3-gnutls_7.64.0-4_amd64.deb ...Unpacking libcurl3-gnutls:amd64 (7.64.0-4) ...Selecting previously unselected package libreadline7:amd64.Preparing to unpack .../18-libreadline7_7.0-5_amd64.deb ...Unpacking libreadline7:amd64 (7.0-5) ...Selecting previously unselected package gnupg1.Preparing to unpack .../19-gnupg1_1.4.23-1_amd64.deb ...Unpacking gnupg1 (1.4.23-1) ...Setting up libkeyutils1:amd64 (1.6-6) ...Setting up libpsl5:amd64 (0.20.2-2) ...Setting up libssl1.1:amd64 (1.1.1d-0+deb10u2) ...debconf: unable to initialize frontend: Dialogdebconf: (TERM is not set, so the dialog frontend is not usable.)debconf: falling back to frontend: Readlinedebconf: unable to initialize frontend: Readlinedebconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)debconf: falling back to frontend: TeletypeSetting up libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...Setting up libldap-common (2.4.47+dfsg-3+deb10u1) ...Setting up libkrb5support0:amd64 (1.17-3) ...Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1+deb10u1) ...Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...Setting up libk5crypto3:amd64 (1.17-3) ...Setting up libsasl2-2:amd64 (2.1.27+dfsg-1+deb10u1) ...Setting up libssh2-1:amd64 (1.8.0-2.1) ...Setting up libkrb5-3:amd64 (1.17-3) ...Setting up openssl (1.1.1d-0+deb10u2) ...Setting up readline-common (7.0-5) ...Setting up libreadline7:amd64 (7.0-5) ...Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...Setting up ca-certificates (20190110) ...debconf: unable to initialize frontend: Dialogdebconf: (TERM is not set, so the dialog frontend is not usable.)debconf: falling back to frontend: Readlinedebconf: unable to initialize frontend: Readlinedebconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)debconf: falling back to frontend: TeletypeUpdating certificates in /etc/ssl/certs...128 added, 0 removed; done.Setting up libgssapi-krb5-2:amd64 (1.17-3) ...Setting up libcurl3-gnutls:amd64 (7.64.0-4) ...Setting up gnupg1 (1.4.23-1) ...Processing triggers for libc-bin (2.28-10) ...Processing triggers for ca-certificates (20190110) ...Updating certificates in /etc/ssl/certs...0 added, 0 removed; done.Running hooks in /etc/ca-certificates/update.d...done.+ NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62+ found=+ echo Fetching GPG key 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 from ha.pool.sks-keyservers.net+ apt-key adv --keyserver ha.pool.sks-keyservers.net --keyserver-options timeout=10 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62Fetching GPG key 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 from ha.pool.sks-keyservers.netWarning: apt-key output should not be parsed (stdout is not a terminal)Executing: /tmp/apt-key-gpghome.OeS6HN2zfG/gpg.1.sh --keyserver ha.pool.sks-keyservers.net --keyserver-options timeout=10 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62gpg: requesting key 7BD9BF62 from hkp server ha.pool.sks-keyservers.netgpg: key 7BD9BF62: public key "nginx signing key <signing-key@nginx.com>" importedgpg: Total number processed: 1gpg: imported: 1 (RSA: 1)+ found=yes+ break+ test -z yes+ apt-get remove --purge --auto-remove -y gnupg1Reading package lists...Building dependency tree...Reading state information...The following packages will be REMOVED:gnupg1* libcurl3-gnutls* libgssapi-krb5-2* libk5crypto3* libkeyutils1*libkrb5-3* libkrb5support0* libldap-2.4-2* libldap-common* libnghttp2-14*libpsl5* libreadline7* librtmp1* libsasl2-2* libsasl2-modules-db* libssh2-1*readline-common*0 upgraded, 0 newly installed, 17 to remove and 0 not upgraded.After this operation, 6331 kB disk space will be freed.(Reading database ... 6941 files and directories currently installed.)Removing gnupg1 (1.4.23-1) ...Removing libcurl3-gnutls:amd64 (7.64.0-4) ...Removing libgssapi-krb5-2:amd64 (1.17-3) ...Removing libkrb5-3:amd64 (1.17-3) ...Removing libk5crypto3:amd64 (1.17-3) ...Removing libkrb5support0:amd64 (1.17-3) ...Removing libkeyutils1:amd64 (1.6-6) ...Removing libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...Removing libldap-common (2.4.47+dfsg-3+deb10u1) ...Removing libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...Removing libpsl5:amd64 (0.20.2-2) ...Removing libreadline7:amd64 (7.0-5) ...Removing librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...Removing libsasl2-2:amd64 (2.1.27+dfsg-1+deb10u1) ...Removing libsasl2-modules-db:amd64 (2.1.27+dfsg-1+deb10u1) ...Removing libssh2-1:amd64 (1.8.0-2.1) ...Removing readline-common (7.0-5) ...Processing triggers for libc-bin (2.28-10) ...(Reading database ... 6777 files and directories currently installed.)Purging configuration files for libldap-common (2.4.47+dfsg-3+deb10u1) ...Purging configuration files for libgssapi-krb5-2:amd64 (1.17-3) ...Purging configuration files for readline-common (7.0-5) ...+ rm -rf /var/lib/apt/lists/auxfiles /var/lib/apt/lists/deb.debian.org_debian_dists_buster-updates_InRelease /var/lib/apt/lists/deb.debian.org_debian_dists_buster-updates_main_binary-amd64_Packages.lz4 /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease /var/lib/apt/lists/deb.debian.org_debian_dists_buster_main_binary-amd64_Packages.lz4 /var/lib/apt/lists/lock /var/lib/apt/lists/partial /var/lib/apt/lists/security.debian.org_debian-security_dists_buster_updates_InRelease /var/lib/apt/lists/security.debian.org_debian-security_dists_buster_updates_main_binary-amd64_Packages.lz4+ dpkg --print-architecture+ dpkgArch=amd64+ nginxPackages= nginx=1.17.6-1~buster nginx-module-xslt=1.17.6-1~buster nginx-module-geoip=1.17.6-1~buster nginx-module-image-filter=1.17.6-1~buster nginx-module-njs=1.17.6.0.3.7-1~buster+ echo deb https://nginx.org/packages/mainline/debian/ buster nginx+ apt-get updateGet:1 http://security-cdn.debian.org/debian-security buster/updates InRelease [65.4 kB]Get:2 http://deb.debian.org/debian buster InRelease [122 kB]Get:3 https://nginx.org/packages/mainline/debian buster InRelease [2857 B]Get:4 http://security-cdn.debian.org/debian-security buster/updates/main amd64 Packages [167 kB]Get:5 https://nginx.org/packages/mainline/debian buster/nginx amd64 Packages [15.2 kB]Get:6 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]Get:7 http://deb.debian.org/debian buster/main amd64 Packages [7908 kB]Get:7 http://deb.debian.org/debian buster/main amd64 Packages [7908 kB]Get:7 http://deb.debian.org/debian buster/main amd64 Packages [7908 kB]Get:7 http://deb.debian.org/debian buster/main amd64 Packages [7908 kB]Get:7 http://deb.debian.org/debian buster/main amd64 Packages [7908 kB]Get:7 http://deb.debian.org/debian buster/main amd64 Packages [7908 kB]Get:8 http://deb.debian.org/debian buster-updates/main amd64 Packages [5792 B]Fetched 590 kB in 12min 54s (762 B/s)Reading package lists...+ apt-get install --no-install-recommends --no-install-suggests -y nginx=1.17.6-1~buster nginx-module-xslt=1.17.6-1~buster nginx-module-geoip=1.17.6-1~buster nginx-module-image-filter=1.17.6-1~buster nginx-module-njs=1.17.6.0.3.7-1~buster gettext-baseReading package lists...Building dependency tree...Reading state information...The following additional packages will be installed:fontconfig-config fonts-dejavu-core libbsd0 libexpat1 libfontconfig1libfreetype6 libgd3 libgeoip1 libicu63 libjbig0 libjpeg62-turbo libpng16-16libreadline7 libtiff5 libwebp6 libx11-6 libx11-data libxau6 libxcb1libxdmcp6 libxml2 libxpm4 libxslt1.1 lsb-base readline-common sensible-utilsucfSuggested packages:libgd-tools geoip-bin readline-docRecommended packages:geoip-databaseThe following NEW packages will be installed:fontconfig-config fonts-dejavu-core gettext-base libbsd0 libexpat1libfontconfig1 libfreetype6 libgd3 libgeoip1 libicu63 libjbig0libjpeg62-turbo libpng16-16 libreadline7 libtiff5 libwebp6 libx11-6libx11-data libxau6 libxcb1 libxdmcp6 libxml2 libxpm4 libxslt1.1 lsb-basenginx nginx-module-geoip nginx-module-image-filter nginx-module-njsnginx-module-xslt readline-common sensible-utils ucf0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded.Need to get 15.8 MB of archives.After this operation, 54.8 MB of additional disk space will be used.Get:1 http://deb.debian.org/debian buster/main amd64 readline-common all 7.0-5 [70.6 kB]Get:2 http://deb.debian.org/debian buster/main amd64 sensible-utils all 0.0.12 [15.8 kB]Get:3 http://deb.debian.org/debian buster/main amd64 gettext-base amd64 0.19.8.1-9 [123 kB]Get:4 https://nginx.org/packages/mainline/debian buster/nginx amd64 nginx amd64 1.17.6-1~buster [859 kB]Get:5 http://deb.debian.org/debian buster/main amd64 ucf all 3.0038+nmu1 [69.0 kB]Get:6 http://deb.debian.org/debian buster/main amd64 fonts-dejavu-core all 2.37-1 [1068 kB]Get:7 http://deb.debian.org/debian buster/main amd64 fontconfig-config all 2.13.1-2 [280 kB]Get:8 http://deb.debian.org/debian buster/main amd64 libbsd0 amd64 0.9.1-2 [99.5 kB]Get:9 http://deb.debian.org/debian buster/main amd64 libexpat1 amd64 2.2.6-2+deb10u1 [106 kB]Get:10 http://deb.debian.org/debian buster/main amd64 libpng16-16 amd64 1.6.36-6 [292 kB]Get:11 http://deb.debian.org/debian buster/main amd64 libfreetype6 amd64 2.9.1-3+deb10u1 [380 kB]Get:12 http://deb.debian.org/debian buster/main amd64 libfontconfig1 amd64 2.13.1-2 [346 kB]Get:13 http://deb.debian.org/debian buster/main amd64 libjpeg62-turbo amd64 1:1.5.2-2+b1 [134 kB]Get:14 http://deb.debian.org/debian buster/main amd64 libjbig0 amd64 2.1-3.1+b2 [31.0 kB]Get:15 http://deb.debian.org/debian buster/main amd64 libwebp6 amd64 0.6.1-2 [263 kB]Get:16 http://deb.debian.org/debian buster/main amd64 libtiff5 amd64 4.0.10-4 [257 kB]Get:17 http://deb.debian.org/debian buster/main amd64 libxau6 amd64 1:1.0.8-1+b2 [19.9 kB]Get:18 http://deb.debian.org/debian buster/main amd64 libxdmcp6 amd64 1:1.1.2-3 [26.3 kB]Get:19 http://deb.debian.org/debian buster/main amd64 libxcb1 amd64 1.13.1-2 [137 kB]Get:20 http://deb.debian.org/debian buster/main amd64 libx11-data all 2:1.6.7-1 [298 kB]Get:21 http://deb.debian.org/debian buster/main amd64 libx11-6 amd64 2:1.6.7-1 [754 kB]Get:22 http://deb.debian.org/debian buster/main amd64 libxpm4 amd64 1:3.5.12-1 [49.1 kB]Get:23 http://deb.debian.org/debian buster/main amd64 libgd3 amd64 2.2.5-5.2 [136 kB]Get:24 http://deb.debian.org/debian buster/main amd64 libgeoip1 amd64 1.6.12-1 [93.1 kB]Get:25 http://deb.debian.org/debian buster/main amd64 libicu63 amd64 63.1-6 [8292 kB]Get:26 https://nginx.org/packages/mainline/debian buster/nginx amd64 nginx-module-geoip amd64 1.17.6-1~buster [76.5 kB]Get:27 https://nginx.org/packages/mainline/debian buster/nginx amd64 nginx-module-image-filter amd64 1.17.6-1~buster [80.7 kB]Get:28 https://nginx.org/packages/mainline/debian buster/nginx amd64 nginx-module-njs amd64 1.17.6.0.3.7-1~buster [279 kB]Get:29 https://nginx.org/packages/mainline/debian buster/nginx amd64 nginx-module-xslt amd64 1.17.6-1~buster [77.7 kB]Get:30 http://deb.debian.org/debian buster/main amd64 libreadline7 amd64 7.0-5 [151 kB]Get:31 http://deb.debian.org/debian buster/main amd64 libxml2 amd64 2.9.4+dfsg1-7+b3 [687 kB]Get:32 http://deb.debian.org/debian buster/main amd64 libxslt1.1 amd64 1.1.32-2.2~deb10u1 [237 kB]Get:33 http://deb.debian.org/debian buster/main amd64 lsb-base all 10.2019051400 [28.4 kB]debconf: delaying package configuration, since apt-utils is not installedFetched 15.8 MB in 2min 23s (111 kB/s)Selecting previously unselected package readline-common.(Reading database ... 6775 files and directories currently installed.)Preparing to unpack .../00-readline-common_7.0-5_all.deb ...Unpacking readline-common (7.0-5) ...Selecting previously unselected package sensible-utils.Preparing to unpack .../01-sensible-utils_0.0.12_all.deb ...Unpacking sensible-utils (0.0.12) ...Selecting previously unselected package gettext-base.Preparing to unpack .../02-gettext-base_0.19.8.1-9_amd64.deb ...Unpacking gettext-base (0.19.8.1-9) ...Selecting previously unselected package ucf.Preparing to unpack .../03-ucf_3.0038+nmu1_all.deb ...Moving old data out of the wayUnpacking ucf (3.0038+nmu1) ...Selecting previously unselected package fonts-dejavu-core.Preparing to unpack .../04-fonts-dejavu-core_2.37-1_all.deb ...Unpacking fonts-dejavu-core (2.37-1) ...Selecting previously unselected package fontconfig-config.Preparing to unpack .../05-fontconfig-config_2.13.1-2_all.deb ...Unpacking fontconfig-config (2.13.1-2) ...Selecting previously unselected package libbsd0:amd64.Preparing to unpack .../06-libbsd0_0.9.1-2_amd64.deb ...Unpacking libbsd0:amd64 (0.9.1-2) ...Selecting previously unselected package libexpat1:amd64.Preparing to unpack .../07-libexpat1_2.2.6-2+deb10u1_amd64.deb ...Unpacking libexpat1:amd64 (2.2.6-2+deb10u1) ...Selecting previously unselected package libpng16-16:amd64.Preparing to unpack .../08-libpng16-16_1.6.36-6_amd64.deb ...Unpacking libpng16-16:amd64 (1.6.36-6) ...Selecting previously unselected package libfreetype6:amd64.Preparing to unpack .../09-libfreetype6_2.9.1-3+deb10u1_amd64.deb ...Unpacking libfreetype6:amd64 (2.9.1-3+deb10u1) ...Selecting previously unselected package libfontconfig1:amd64.Preparing to unpack .../10-libfontconfig1_2.13.1-2_amd64.deb ...Unpacking libfontconfig1:amd64 (2.13.1-2) ...Selecting previously unselected package libjpeg62-turbo:amd64.Preparing to unpack .../11-libjpeg62-turbo_1%3a1.5.2-2+b1_amd64.deb ...Unpacking libjpeg62-turbo:amd64 (1:1.5.2-2+b1) ...Selecting previously unselected package libjbig0:amd64.Preparing to unpack .../12-libjbig0_2.1-3.1+b2_amd64.deb ...Unpacking libjbig0:amd64 (2.1-3.1+b2) ...Selecting previously unselected package libwebp6:amd64.Preparing to unpack .../13-libwebp6_0.6.1-2_amd64.deb ...Unpacking libwebp6:amd64 (0.6.1-2) ...Selecting previously unselected package libtiff5:amd64.Preparing to unpack .../14-libtiff5_4.0.10-4_amd64.deb ...Unpacking libtiff5:amd64 (4.0.10-4) ...Selecting previously unselected package libxau6:amd64.Preparing to unpack .../15-libxau6_1%3a1.0.8-1+b2_amd64.deb ...Unpacking libxau6:amd64 (1:1.0.8-1+b2) ...Selecting previously unselected package libxdmcp6:amd64.Preparing to unpack .../16-libxdmcp6_1%3a1.1.2-3_amd64.deb ...Unpacking libxdmcp6:amd64 (1:1.1.2-3) ...Selecting previously unselected package libxcb1:amd64.Preparing to unpack .../17-libxcb1_1.13.1-2_amd64.deb ...Unpacking libxcb1:amd64 (1.13.1-2) ...Selecting previously unselected package libx11-data.Preparing to unpack .../18-libx11-data_2%3a1.6.7-1_all.deb ...Unpacking libx11-data (2:1.6.7-1) ...Selecting previously unselected package libx11-6:amd64.Preparing to unpack .../19-libx11-6_2%3a1.6.7-1_amd64.deb ...Unpacking libx11-6:amd64 (2:1.6.7-1) ...Selecting previously unselected package libxpm4:amd64.Preparing to unpack .../20-libxpm4_1%3a3.5.12-1_amd64.deb ...Unpacking libxpm4:amd64 (1:3.5.12-1) ...Selecting previously unselected package libgd3:amd64.Preparing to unpack .../21-libgd3_2.2.5-5.2_amd64.deb ...Unpacking libgd3:amd64 (2.2.5-5.2) ...Selecting previously unselected package libgeoip1:amd64.Preparing to unpack .../22-libgeoip1_1.6.12-1_amd64.deb ...Unpacking libgeoip1:amd64 (1.6.12-1) ...Selecting previously unselected package libicu63:amd64.Preparing to unpack .../23-libicu63_63.1-6_amd64.deb ...Unpacking libicu63:amd64 (63.1-6) ...Selecting previously unselected package libreadline7:amd64.Preparing to unpack .../24-libreadline7_7.0-5_amd64.deb ...Unpacking libreadline7:amd64 (7.0-5) ...Selecting previously unselected package libxml2:amd64.Preparing to unpack .../25-libxml2_2.9.4+dfsg1-7+b3_amd64.deb ...Unpacking libxml2:amd64 (2.9.4+dfsg1-7+b3) ...Selecting previously unselected package libxslt1.1:amd64.Preparing to unpack .../26-libxslt1.1_1.1.32-2.2~deb10u1_amd64.deb ...Unpacking libxslt1.1:amd64 (1.1.32-2.2~deb10u1) ...Selecting previously unselected package lsb-base.Preparing to unpack .../27-lsb-base_10.2019051400_all.deb ...Unpacking lsb-base (10.2019051400) ...Selecting previously unselected package nginx.Preparing to unpack .../28-nginx_1.17.6-1~buster_amd64.deb ...----------------------------------------------------------------------Thanks for using nginx!Please find the official documentation for nginx here:* http://nginx.org/en/docs/Please subscribe to nginx-announce mailing list to getthe most important news about nginx:* http://nginx.org/en/support.htmlCommercial subscriptions for nginx are available on:* http://nginx.com/products/----------------------------------------------------------------------Unpacking nginx (1.17.6-1~buster) ...Selecting previously unselected package nginx-module-geoip.Preparing to unpack .../29-nginx-module-geoip_1.17.6-1~buster_amd64.deb ...Unpacking nginx-module-geoip (1.17.6-1~buster) ...Selecting previously unselected package nginx-module-image-filter.Preparing to unpack .../30-nginx-module-image-filter_1.17.6-1~buster_amd64.deb ...Unpacking nginx-module-image-filter (1.17.6-1~buster) ...Selecting previously unselected package nginx-module-njs.Preparing to unpack .../31-nginx-module-njs_1.17.6.0.3.7-1~buster_amd64.deb ...Unpacking nginx-module-njs (1.17.6.0.3.7-1~buster) ...Selecting previously unselected package nginx-module-xslt.Preparing to unpack .../32-nginx-module-xslt_1.17.6-1~buster_amd64.deb ...Unpacking nginx-module-xslt (1.17.6-1~buster) ...Setting up libexpat1:amd64 (2.2.6-2+deb10u1) ...Setting up lsb-base (10.2019051400) ...Setting up libxau6:amd64 (1:1.0.8-1+b2) ...Setting up nginx (1.17.6-1~buster) ...invoke-rc.d: could not determine current runlevelinvoke-rc.d: policy-rc.d denied execution of start.Setting up gettext-base (0.19.8.1-9) ...Setting up libjbig0:amd64 (2.1-3.1+b2) ...Setting up libicu63:amd64 (63.1-6) ...Setting up libjpeg62-turbo:amd64 (1:1.5.2-2+b1) ...Setting up libx11-data (2:1.6.7-1) ...Setting up libpng16-16:amd64 (1.6.36-6) ...Setting up libwebp6:amd64 (0.6.1-2) ...Setting up fonts-dejavu-core (2.37-1) ...Setting up sensible-utils (0.0.12) ...Setting up libgeoip1:amd64 (1.6.12-1) ...Setting up libtiff5:amd64 (4.0.10-4) ...Setting up libbsd0:amd64 (0.9.1-2) ...Setting up readline-common (7.0-5) ...Setting up libxml2:amd64 (2.9.4+dfsg1-7+b3) ...Setting up libreadline7:amd64 (7.0-5) ...Setting up libxdmcp6:amd64 (1:1.1.2-3) ...Setting up libxcb1:amd64 (1.13.1-2) ...Setting up nginx-module-njs (1.17.6.0.3.7-1~buster) ...----------------------------------------------------------------------The njs dynamic modules for nginx have been installed.To enable these modules, add the following to /etc/nginx/nginx.confand reload nginx:load_module modules/ngx_http_js_module.so;load_module modules/ngx_stream_js_module.so;Please refer to the modules documentation for further details:http://nginx.org/en/docs/njs/http://nginx.org/en/docs/http/ngx_http_js_module.htmlhttp://nginx.org/en/docs/stream/ngx_stream_js_module.html----------------------------------------------------------------------Setting up libfreetype6:amd64 (2.9.1-3+deb10u1) ...Setting up nginx-module-geoip (1.17.6-1~buster) ...----------------------------------------------------------------------The GeoIP dynamic modules for nginx have been installed.To enable these modules, add the following to /etc/nginx/nginx.confand reload nginx:load_module modules/ngx_http_geoip_module.so;load_module modules/ngx_stream_geoip_module.so;Please refer to the modules documentation for further details:http://nginx.org/en/docs/http/ngx_http_geoip_module.htmlhttp://nginx.org/en/docs/stream/ngx_stream_geoip_module.html----------------------------------------------------------------------Setting up ucf (3.0038+nmu1) ...debconf: unable to initialize frontend: Dialogdebconf: (TERM is not set, so the dialog frontend is not usable.)debconf: falling back to frontend: Readlinedebconf: unable to initialize frontend: Readlinedebconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)debconf: falling back to frontend: TeletypeSetting up libxslt1.1:amd64 (1.1.32-2.2~deb10u1) ...Setting up libx11-6:amd64 (2:1.6.7-1) ...Setting up libxpm4:amd64 (1:3.5.12-1) ...Setting up fontconfig-config (2.13.1-2) ...debconf: unable to initialize frontend: Dialogdebconf: (TERM is not set, so the dialog frontend is not usable.)debconf: falling back to frontend: Readlinedebconf: unable to initialize frontend: Readlinedebconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)debconf: falling back to frontend: TeletypeSetting up nginx-module-xslt (1.17.6-1~buster) ...----------------------------------------------------------------------The xslt dynamic module for nginx has been installed.To enable this module, add the following to /etc/nginx/nginx.confand reload nginx:load_module modules/ngx_http_xslt_filter_module.so;Please refer to the module documentation for further details:http://nginx.org/en/docs/http/ngx_http_xslt_module.html----------------------------------------------------------------------Setting up libfontconfig1:amd64 (2.13.1-2) ...Setting up libgd3:amd64 (2.2.5-5.2) ...Setting up nginx-module-image-filter (1.17.6-1~buster) ...----------------------------------------------------------------------The image filter dynamic module for nginx has been installed.To enable this module, add the following to /etc/nginx/nginx.confand reload nginx:load_module modules/ngx_http_image_filter_module.so;Please refer to the module documentation for further details:http://nginx.org/en/docs/http/ngx_http_image_filter_module.html----------------------------------------------------------------------Processing triggers for libc-bin (2.28-10) ...+ apt-get remove --purge --auto-remove -y ca-certificatesReading package lists...Building dependency tree...Reading state information...The following packages will be REMOVED:ca-certificates* openssl*0 upgraded, 0 newly installed, 2 to remove and 5 not upgraded.After this operation, 1887 kB disk space will be freed.(Reading database ... 7510 files and directories currently installed.)Removing ca-certificates (20190110) ...Removing dangling symlinks from /etc/ssl/certs... done.Removing openssl (1.1.1d-0+deb10u2) ...(Reading database ... 7206 files and directories currently installed.)Purging configuration files for ca-certificates (20190110) ...debconf: unable to initialize frontend: Dialogdebconf: (TERM is not set, so the dialog frontend is not usable.)debconf: falling back to frontend: Readlinedebconf: unable to initialize frontend: Readlinedebconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)debconf: falling back to frontend: TeletypeRemoving dangling symlinks from /etc/ssl/certs... done.Purging configuration files for openssl (1.1.1d-0+deb10u2) ...+ rm -rf /var/lib/apt/lists/auxfiles /var/lib/apt/lists/deb.debian.org_debian_dists_buster-updates_InRelease /var/lib/apt/lists/deb.debian.org_debian_dists_buster-updates_main_binary-amd64_Packages.lz4 /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease /var/lib/apt/lists/deb.debian.org_debian_dists_buster_main_binary-amd64_Packages.lz4 /var/lib/apt/lists/lock /var/lib/apt/lists/nginx.org_packages_mainline_debian_dists_buster_InRelease /var/lib/apt/lists/nginx.org_packages_mainline_debian_dists_buster_nginx_binary-amd64_Packages.lz4 /var/lib/apt/lists/partial /var/lib/apt/lists/security.debian.org_debian-security_dists_buster_updates_InRelease /var/lib/apt/lists/security.debian.org_debian-security_dists_buster_updates_main_binary-amd64_Packages.lz4 /etc/apt/sources.list.d/nginx.list+ [ -n ]Removing intermediate container 8938a2bb5f21---> 580b29b7120aStep 7/10 : RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log---> Running in f45c073cb620Removing intermediate container f45c073cb620---> 3b64a06ec79eStep 8/10 : EXPOSE 80---> Running in 96da20df9493Removing intermediate container 96da20df9493---> c090d609cd39Step 9/10 : STOPSIGNAL SIGTERM---> Running in 565f527c0f82Removing intermediate container 565f527c0f82---> 26a432a4ba3dStep 10/10 : CMD ["nginx", "-g", "daemon off;"]---> Running in 5b2179080a3dRemoving intermediate container 5b2179080a3d---> 2acb7d4366b0Successfully built 2acb7d4366b0Successfully tagged nginx:v1.17.6验证:[root@docker nginx]# docker image lsREPOSITORY TAG IMAGE ID CREATED SIZEnginx v1.17.6 2acb7d4366b0 9 seconds ago 126MBdebian buster-slim e1af56d072b8 2 days ago 69.2MBauto-jenkins latest d83c74abb6ca 7 weeks ago 734MBdocker latest cf85f29ec76f 2 months ago 216MBtomcat latest 882487b8be1d 2 months ago 507MBcentos 6 d0957ffdf8a2 9 months ago 194MBcentos latest 9f38484d220f 9 months ago 202MB[root@docker nginx]# docker run -it --name web-nginx -d nginx:v1.17.6ec87ca1b09adf8dcbb3a94b0a23ed13708a75e0be28e9650d8a36a351537787b[root@docker nginx]# docker ps |grep web-nginxec87ca1b09ad nginx:v1.17.6 "nginx -g 'daemon of…" 32 seconds ago Up 31 seconds 80/tcp web-nginx[root@docker nginx]#
