1 docker文件制作
1.1 docker文件编写
1.1.1 编写常用命令
from base镜像
LABEL maintainer 作者
run 执行命令
copy 把文件拷贝到镜像中
add 添加文件
expose 暴露端口号
copy能拷贝命令和 文件夹,add可以添加远程的文件,比如ftp上的
entrypoint 容器入口
workdir 指定路径
env 设定环境变量
user 指定用户
1.1.2 示例
FROM centos:7
LABEL maintainer shenzhen
RUN yum install lrzsz -y
COPY nginx.tar /opt
CMD cat
1.2 执行生成命令
docker build -t test -f dockerfile . docker build -t test -f dockerfile .
1.3 执行过程
[root@KunPeng nginx]# docker build -t test -f dockerfile .
Sending build context to Docker daemon 144.1MB
Step 1/5 : FROM centos:7
Head "https://registry-1.docker.io/v2/library/centos/manifests/7": Get "https://auth.docker.io/token?scope=repository%3Alibrary%2Fcentos%3Apull&service=registry.docker.io": net/http: TLS handshake timeout
[root@KunPeng nginx]#
[root@KunPeng nginx]#
[root@KunPeng nginx]# docker build -t test -f dockerfile .
Sending build context to Docker daemon 144.1MB
Step 1/5 : FROM centos:7
7: Pulling from library/centos
2d473b07cdd5: Pull complete
Digest: sha256:c73f515d06b0fa07bb18d8202035e739a494ce760aa73129f60f4bf2bd22b407
Status: Downloaded newer image for centos:7
---> eeb6ee3f44bd
Step 2/5 : LABEL maintainer shenzhen
---> Running in 1ec60be0404b
Removing intermediate container 1ec60be0404b
---> a9571db74f70
Step 3/5 : RUN yum install lrzsz -y
---> Running in c0d35ded5004
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
* base: mirrors.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.njupt.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package lrzsz.x86_64 0:0.12.20-36.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
lrzsz x86_64 0.12.20-36.el7 base 78 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 78 k
Installed size: 181 k
Downloading packages:
warning: /var/cache/yum/x86_64/7/base/packages/lrzsz-0.12.20-36.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for lrzsz-0.12.20-36.el7.x86_64.rpm is not installed
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package : centos-release-7-9.2009.0.el7.centos.x86_64 (@CentOS)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : lrzsz-0.12.20-36.el7.x86_64 1/1
Verifying : lrzsz-0.12.20-36.el7.x86_64 1/1
Installed:
lrzsz.x86_64 0:0.12.20-36.el7
Complete!
Removing intermediate container c0d35ded5004
---> 5cebc4ba2515
Step 4/5 : COPY nginx.tar /opt
---> db2f94393ddf
Step 5/5 : CMD cat
---> Running in 8d7b4b805171
Removing intermediate container 8d7b4b805171
---> 3b64406a5a17
Successfully built 3b64406a5a17
Successfully tagged test:latest
1.4 验证生成的dockfile
[root@KunPeng nginx]# docker image
Usage: docker image COMMAND
Manage images
Commands:
build Build an image from a Dockerfile
history Show the history of an image
import Import the contents from a tarball to create a filesystem image
inspect Display detailed information on one or more images
load Load an image from a tar archive or STDIN
ls List images
prune Remove unused images
pull Pull an image or a repository from a registry
push Push an image or a repository to a registry
rm Remove one or more images
save Save one or more images to a tar archive (streamed to STDOUT by default)
tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
Run 'docker image COMMAND --help' for more information on a command.
[root@KunPeng nginx]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
test latest 3b64406a5a17 4 minutes ago 530MB
nginx latest b692a91e4e15 2 weeks ago 142MB
busybox latest 7a80323521cc 3 weeks ago 1.24MB
centos 7 eeb6ee3f44bd 11 months ago 204MB
[root@KunPeng nginx]#
[root@KunPeng nginx]# docker run -itd test
b3f798b33a3ab1f9611f60b4045fae366ce8595959353bf69717becf4e48c55d
[root@KunPeng nginx]#
[root@KunPeng nginx]# docker ps -l
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b3f798b33a3a test "/bin/sh -c cat" 9 seconds ago Up 8 seconds admiring_lalande
[root@KunPeng nginx]# docker exec -it b3f798b33a3a bash
[root@b3f798b33a3a /]# ls /opt
nginx.tar
[root@b3f798b33a3a /]#
1.5 制作方法
1、先创建一个容器
2、先按照文档,把步骤执行一遍,看能不能跑通
3、然后在制作dockerfile
4、验证dockerfile是否正确
1.6 安装文件获取方式
1、直接从官网下载
2、直接从公司服务器下载
3、从本地拷贝
2 常用docker文件
2.1 nginx
2.1.1 nginx的dockerfile
FROM centos:7
LABEL maintainer www.ctnrs.com
RUN yum install -y gcc gcc-c++ make \
openssl-devel pcre-devel gd-devel \
iproute net-tools telnet wget curl && \
yum clean all && \
rm -rf /var/cache/yum/*
#COPY nginx-1.15.5.tar.gz /
RUN wget http://nginx.org/download/nginx-1.15.5.tar.gz && \
tar zxf nginx-1.15.5.tar.gz && \
cd nginx-1.15.5 && \
./configure --prefix=/usr/local/nginx \
--with-http_ssl_module \
--with-http_stub_status_module && \
make -j 4 && make install && \
rm -rf /usr/local/nginx/html/* && \
echo "ok" >> /usr/local/nginx/html/status.html && \
cd / && rm -rf nginx-1.15.5* && \
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV PATH $PATH:/usr/local/nginx/sbin
COPY nginx.conf /usr/local/nginx/conf/nginx.conf
WORKDIR /usr/local/nginx
EXPOSE 80
#放到前台去运行
CMD ["nginx", "-g", "daemon off;"]
2.1.2 执行命令
docker build -t nginx:v1 -f Dockerfile-nginx .
2.1.3 安装执行结果
Sending build context to Docker daemon 119.3kB
Step 1/9 : FROM centos:7
---> eeb6ee3f44bd
Step 2/9 : LABEL maintainer www.ctnrs.com
---> Using cache
---> cf97dc16d82a
Step 3/9 : RUN yum install -y gcc gcc-c++ make openssl-devel pcre-devel gd-devel iproute net-tools telnet wget curl && yum clean all && rm -rf /var/cache/yum/*
---> Using cache
---> ee12cb97aed0
Step 4/9 : RUN wget http://nginx.org/download/nginx-1.15.5.tar.gz && tar zxf nginx-1.15.5.tar.gz && cd nginx-1.15.5 && ./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_stub_status_module && make -j 4 && make install && rm -rf /usr/local/nginx/html/* && echo "ok" >> /usr/local/nginx/html/status.html && cd / && rm -rf nginx-1.15.5* && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
---> Using cache
---> 8e6ed54639cd
Step 5/9 : ENV PATH $PATH:/usr/local/nginx/sbin
---> Using cache
---> 75888b374deb
Step 6/9 : COPY nginx.conf /usr/local/nginx/conf/nginx.conf
---> Using cache
---> dee23b705e2e
Step 7/9 : WORKDIR /usr/local/nginx
---> Using cache
---> d32c2a87fc8a
Step 8/9 : EXPOSE 80
---> Using cache
---> a9a401cb4a62
Step 9/9 : CMD ["nginx", "-g", "daemon off;"]
---> Using cache
---> cf736c7614e1
Successfully built cf736c7614e1
Successfully tagged nginx:v1
[root@KunPeng dockerfile]# docker images ps
REPOSITORY TAG IMAGE ID CREATED SIZE
[root@KunPeng dockerfile]#
[root@KunPeng dockerfile]# Step 1/9 : FROM centos:7
-bash: Step: command not found
[root@KunPeng dockerfile]# ---> eeb6ee3f44bd
-bash: ---: command not found
[root@KunPeng dockerfile]# Step 2/9 : LABEL maintainer www.ctnrs.com
-bash: Step: command not found
[root@KunPeng dockerfile]# ---> Using cache
-bash: ---: command not found
[root@KunPeng dockerfile]# ---> cf97dc16d82a
-bash: ---: command not found
[root@KunPeng dockerfile]# Step 3/9 : RUN yum install -y gcc gcc-c++ make openssl-devel pcre-devel gd-devel iproute net-tools telnet wget curl && yum clean all && rm -rf /var/cache/yum/*
-bash: Step: command not found
[root@KunPeng dockerfile]# ---> Using cache
-bash: ---: command not found
[root@KunPeng dockerfile]# ---> ee12cb97aed0
-bash: ---: command not found
[root@KunPeng dockerfile]# Step 4/9 : RUN wget http://nginx.org/download/nginx-1.15.5.tar.gz && tar zxf nginx-1.15.5.tar.gz && cd nginx-1.15.5 && ./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_stub_status_module && make -j 4 && make install && rm -rf /usr/local/nginx/html/* && echo "ok" >> /usr/local/nginx/html/status.html && cd / && rm -rf nginx-1.15.5* && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
-bash: Step: command not found
[root@KunPeng dockerfile]# ---> Using cache
-bash: ---: command not found
[root@KunPeng dockerfile]# ---> 8e6ed54639cd
-bash: ---: command not found
[root@KunPeng dockerfile]# Step 5/9 : ENV PATH $PATH:/usr/local/nginx/sbin
-bash: Step: command not found
[root@KunPeng dockerfile]# ---> Using cache
-bash: ---: command not found
---> 75888b374deb
[root@KunPeng dockerfile]# ---> 75888b374deb
-bash: ---: command not found
[root@KunPeng dockerfile]# Step 6/9 : COPY nginx.conf /usr/local/nginx/conf/nginx.conf
-bash: Step: command not found
[root@KunPeng dockerfile]# ---> Using cache
-bash: ---: command not found
[root@KunPeng dockerfile]# ---> dee23b705e2e
-bash: ---: command not found
[root@KunPeng dockerfile]# Step 7/9 : WORKDIR /usr/local/nginx
-bash: Step: command not found
[root@KunPeng dockerfile]# ---> Using cache
-bash: ---: command not found
[root@KunPeng dockerfile]# ---> d32c2a87fc8a
-bash: ---: command not found
[root@KunPeng dockerfile]# Step 8/9 : EXPOSE 80
-bash: Step: command not found
[root@KunPeng dockerfile]# ---> Using cache
-bash: ---: command not found
[root@KunPeng dockerfile]# ---> a9a401cb4a62
-bash: ---: command not found
[root@KunPeng dockerfile]# Step 9/9 : CMD ["nginx", "-g", "daemon off;"]
-bash: Step: command not found
[root@KunPeng dockerfile]# ---> Using cache
-bash: ---: command not found
[root@KunPeng dockerfile]# ---> cf736c7614e1
-bash: ---: command not found
[root@KunPeng dockerfile]# Successfully built cf736c7614e1
-bash: Successfully: command not found
[root@KunPeng dockerfile]# clear
[root@KunPeng dockerfile]# ls
75888b374deb a9a401cb4a62 cf97dc16d82a dee23b705e2e Dockerfile-php ee12cb97aed0 nginx.conf php.ini
8e6ed54639cd cf736c7614e1 d32c2a87fc8a Dockerfile-nginx Dockerfile-tomcat eeb6ee3f44bd php-fpm.conf Using
[root@KunPeng dockerfile]# ls
75888b374deb a9a401cb4a62 cf97dc16d82a dee23b705e2e Dockerfile-php ee12cb97aed0 nginx.conf php.ini
8e6ed54639cd cf736c7614e1 d32c2a87fc8a Dockerfile-nginx Dockerfile-tomcat eeb6ee3f44bd php-fpm.conf Using
[root@KunPeng dockerfile]#
[root@KunPeng dockerfile]# cd ..
[root@KunPeng ~]# ls
锛 anaconda-ks.cfg dockerfile mylog.log nginx wwwroot
[root@KunPeng ~]#
[root@KunPeng ~]# docker images ls
REPOSITORY TAG IMAGE ID CREATED SIZE
[root@KunPeng ~]#
[root@KunPeng ~]# docker images ps
REPOSITORY TAG IMAGE ID CREATED SIZE
[root@KunPeng ~]#
[root@KunPeng ~]# docker containers ps
docker: 'containers' is not a docker command.
See 'docker --help'
[root@KunPeng ~]#
[root@KunPeng ~]# docker container ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[root@KunPeng ~]#
[root@KunPeng ~]#
[root@KunPeng ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
nginx v1 cf736c7614e1 45 minutes ago 373MB
test latest 3b64406a5a17 4 hours ago 530MB
nginx latest b692a91e4e15 2 weeks ago 142MB
busybox latest 7a80323521cc 3 weeks ago 1.24MB
centos 7 eeb6ee3f44bd 11 months ago 204MB
[root@KunPeng ~]# docker rm -rf images nginx
unknown shorthand flag: 'r' in -rf
See 'docker rm --help'.
[root@KunPeng ~]#
[root@KunPeng ~]# docker rm -rf images ^C
[root@KunPeng ~]#
[root@KunPeng ~]# docker rm -rf images cf736c7614e1
unknown shorthand flag: 'r' in -rf
See 'docker rm --help'.
[root@KunPeng ~]# docker rm -f images cf736c7614e1
Error: No such container: images
Error: No such container: cf736c7614e1
[root@KunPeng ~]#
[root@KunPeng ~]# docker rm -f cf736c7614e1
Error: No such container: cf736c7614e1
[root@KunPeng ~]# docker stop $(docker ps -a -q)
"docker stop" requires at least 1 argument.
See 'docker stop --help'.
Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]
Stop one or more running containers
[root@KunPeng ~]#
[root@KunPeng ~]#
[root@KunPeng ~]#
[root@KunPeng ~]#
[root@KunPeng ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
nginx v1 cf736c7614e1 51 minutes ago 373MB
test latest 3b64406a5a17 4 hours ago 530MB
nginx latest b692a91e4e15 2 weeks ago 142MB
busybox latest 7a80323521cc 3 weeks ago 1.24MB
centos 7 eeb6ee3f44bd 11 months ago 204MB
[root@KunPeng ~]# docker rmi cf736c7614e1
Untagged: nginx:v1
Deleted: sha256:cf736c7614e17c956e769da18bcc092521a2771e945bb57f15fbba9d1646b851
Deleted: sha256:a9a401cb4a6298705ad9729f2acc00b14a344bccc2ce63cb6309851d862d15be
Deleted: sha256:d32c2a87fc8ae57fb2be13bb2d61f86ec14c167b5b75c287d947fcc950abe2ee
Deleted: sha256:dee23b705e2e952b96de26752b75b14f6bf197ff3650d76afaa9ff48cf9fc8da
Deleted: sha256:ea1e40bb0dfee63f4c0915498e26ad18c5c5067ae20da6c70c6edf9ed28f24f0
Deleted: sha256:75888b374deb3125e7bbd1bed8274d3769d51a9c8d7721cc3a5d6146ee71e66e
Deleted: sha256:8e6ed54639cd8158100829988a6f871a7e3a0b055a874598f4378ac6b255b8bf
Deleted: sha256:a919025f093fd8cf6e500056b2b5d937d86a74e0a6e219cbeff7dd583c15408b
Deleted: sha256:ee12cb97aed08d88e85aa9095c4ebbff73f46e46b5f1116e21c4c7b1385f6303
Deleted: sha256:f78caa96ec8dbc773f5d3da6aed6626335a78df6ee687eee2f28394bfcffe14d
Deleted: sha256:cf97dc16d82abd3c8275e7d33ae31bbcdf99e3ad583f226cfd9556c4e9ff1639
[root@KunPeng ~]#
[root@KunPeng ~]#
[root@KunPeng ~]#
[root@KunPeng ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
test latest 3b64406a5a17 4 hours ago 530MB
nginx latest b692a91e4e15 2 weeks ago 142MB
busybox latest 7a80323521cc 3 weeks ago 1.24MB
centos 7 eeb6ee3f44bd 11 months ago 204MB
[root@KunPeng ~]#
[root@KunPeng ~]#
[root@KunPeng ~]# clear
[root@KunPeng ~]# ls
锛 anaconda-ks.cfg dockerfile mylog.log nginx wwwroot
[root@KunPeng ~]# cd dockerfile/
[root@KunPeng dockerfile]# ls
Dockerfile-nginx Dockerfile-php Dockerfile-tomcat nginx.conf php-fpm.conf php.ini
[root@KunPeng dockerfile]# docker build -t nginx:v1 -f Dockerfile-nginx .
Sending build context to Docker daemon 119.3kB
Step 1/9 : FROM centos:7
---> eeb6ee3f44bd
Step 2/9 : LABEL maintainer www.ctnrs.com
---> Running in 832e03764998
Removing intermediate container 832e03764998
---> 2d3731584d53
Step 3/9 : RUN yum install -y gcc gcc-c++ make openssl-devel pcre-devel gd-devel iproute net-tools telnet wget curl && yum clean all && rm -rf /var/cache/yum/*
---> Running in 420e4dad7909
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
* base: mirrors.neusoft.edu.cn
* extras: mirrors.neusoft.edu.cn
* updates: mirrors.neusoft.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package curl.x86_64 0:7.29.0-59.el7 will be updated
---> Package curl.x86_64 0:7.29.0-59.el7_9.1 will be an update
--> Processing Dependency: libcurl = 7.29.0-59.el7_9.1 for package: curl-7.29.0-59.el7_9.1.x86_64
---> Package gcc.x86_64 0:4.8.5-44.el7 will be installed
--> Processing Dependency: libgomp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: cpp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-44.el7.x86_64
--> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.8.5-44.el7.x86_64
---> Package gcc-c++.x86_64 0:4.8.5-44.el7 will be installed
--> Processing Dependency: libstdc++-devel = 4.8.5-44.el7 for package: gcc-c++-4.8.5-44.el7.x86_64
---> Package gd-devel.x86_64 0:2.0.35-27.el7_9 will be installed
--> Processing Dependency: gd = 2.0.35-27.el7_9 for package: gd-devel-2.0.35-27.el7_9.x86_64
--> Processing Dependency: zlib-devel for package: gd-devel-2.0.35-27.el7_9.x86_64
--> Processing Dependency: libpng-devel for package: gd-devel-2.0.35-27.el7_9.x86_64
--> Processing Dependency: libjpeg-devel for package: gd-devel-2.0.35-27.el7_9.x86_64
--> Processing Dependency: libXpm-devel for package: gd-devel-2.0.35-27.el7_9.x86_64
--> Processing Dependency: libX11-devel for package: gd-devel-2.0.35-27.el7_9.x86_64
--> Processing Dependency: freetype-devel for package: gd-devel-2.0.35-27.el7_9.x86_64
--> Processing Dependency: fontconfig-devel for package: gd-devel-2.0.35-27.el7_9.x86_64
--> Processing Dependency: libgd.so.2()(64bit) for package: gd-devel-2.0.35-27.el7_9.x86_64
---> Package iproute.x86_64 0:4.11.0-30.el7 will be installed
--> Processing Dependency: libmnl.so.0(LIBMNL_1.0)(64bit) for package: iproute-4.11.0-30.el7.x86_64
--> Processing Dependency: libxtables.so.10()(64bit) for package: iproute-4.11.0-30.el7.x86_64
--> Processing Dependency: libmnl.so.0()(64bit) for package: iproute-4.11.0-30.el7.x86_64
---> Package make.x86_64 1:3.82-24.el7 will be installed
---> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be installed
---> Package openssl-devel.x86_64 1:1.0.2k-25.el7_9 will be installed
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-25.el7_9 for package: 1:openssl-devel-1.0.2k-25.el7_9.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-25.el7_9.x86_64
---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed
---> Package telnet.x86_64 1:0.17-66.el7 will be installed
---> Package wget.x86_64 0:1.14-18.el7_6.1 will be installed
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-44.el7 will be installed
---> Package fontconfig-devel.x86_64 0:2.13.0-4.3.el7 will be installed
--> Processing Dependency: fontconfig(x86-64) = 2.13.0-4.3.el7 for package: fontconfig-devel-2.13.0-4.3.el7.x86_64
--> Processing Dependency: pkgconfig(uuid) for package: fontconfig-devel-2.13.0-4.3.el7.x86_64
--> Processing Dependency: pkgconfig(expat) for package: fontconfig-devel-2.13.0-4.3.el7.x86_64
--> Processing Dependency: gettext for package: fontconfig-devel-2.13.0-4.3.el7.x86_64
--> Processing Dependency: libfontconfig.so.1()(64bit) for package: fontconfig-devel-2.13.0-4.3.el7.x86_64
---> Package freetype-devel.x86_64 0:2.8-14.el7_9.1 will be installed
--> Processing Dependency: freetype = 2.8-14.el7_9.1 for package: freetype-devel-2.8-14.el7_9.1.x86_64
--> Processing Dependency: libfreetype.so.6()(64bit) for package: freetype-devel-2.8-14.el7_9.1.x86_64
---> Package gd.x86_64 0:2.0.35-27.el7_9 will be installed
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: gd-2.0.35-27.el7_9.x86_64
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: gd-2.0.35-27.el7_9.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: gd-2.0.35-27.el7_9.x86_64
--> Processing Dependency: libjpeg.so.62()(64bit) for package: gd-2.0.35-27.el7_9.x86_64
--> Processing Dependency: libXpm.so.4()(64bit) for package: gd-2.0.35-27.el7_9.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: gd-2.0.35-27.el7_9.x86_64
---> Package glibc-devel.x86_64 0:2.17-326.el7_9 will be installed
--> Processing Dependency: glibc-headers = 2.17-326.el7_9 for package: glibc-devel-2.17-326.el7_9.x86_64
--> Processing Dependency: glibc = 2.17-326.el7_9 for package: glibc-devel-2.17-326.el7_9.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-326.el7_9.x86_64
---> Package iptables.x86_64 0:1.4.21-35.el7 will be installed
--> Processing Dependency: libnfnetlink.so.0()(64bit) for package: iptables-1.4.21-35.el7.x86_64
--> Processing Dependency: libnetfilter_conntrack.so.3()(64bit) for package: iptables-1.4.21-35.el7.x86_64
---> Package krb5-devel.x86_64 0:1.15.1-54.el7_9 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-54.el7_9 for package: krb5-devel-1.15.1-54.el7_9.x86_64
--> Processing Dependency: krb5-libs(x86-64) = 1.15.1-54.el7_9 for package: krb5-devel-1.15.1-54.el7_9.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-54.el7_9.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-54.el7_9.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-54.el7_9.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-54.el7_9.x86_64
---> Package libX11-devel.x86_64 0:1.6.7-4.el7_9 will be installed
--> Processing Dependency: pkgconfig(xcb) >= 1.11.1 for package: libX11-devel-1.6.7-4.el7_9.x86_64
--> Processing Dependency: pkgconfig(xproto) for package: libX11-devel-1.6.7-4.el7_9.x86_64
--> Processing Dependency: pkgconfig(xcb) for package: libX11-devel-1.6.7-4.el7_9.x86_64
--> Processing Dependency: pkgconfig(kbproto) for package: libX11-devel-1.6.7-4.el7_9.x86_64
---> Package libXpm-devel.x86_64 0:3.5.12-1.el7 will be installed
--> Processing Dependency: libXt.so.6()(64bit) for package: libXpm-devel-3.5.12-1.el7.x86_64
--> Processing Dependency: libXext.so.6()(64bit) for package: libXpm-devel-3.5.12-1.el7.x86_64
---> Package libcurl.x86_64 0:7.29.0-59.el7 will be updated
---> Package libcurl.x86_64 0:7.29.0-59.el7_9.1 will be an update
---> Package libgomp.x86_64 0:4.8.5-44.el7 will be installed
---> Package libjpeg-turbo-devel.x86_64 0:1.2.90-8.el7 will be installed
---> Package libmnl.x86_64 0:1.0.3-7.el7 will be installed
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package libpng-devel.x86_64 2:1.5.13-8.el7 will be installed
---> Package libstdc++-devel.x86_64 0:4.8.5-44.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
---> Package openssl-libs.x86_64 1:1.0.2k-19.el7 will be updated
---> Package openssl-libs.x86_64 1:1.0.2k-25.el7_9 will be an update
---> Package zlib-devel.x86_64 0:1.2.7-20.el7_9 will be installed
--> Processing Dependency: zlib = 1.2.7-20.el7_9 for package: zlib-devel-1.2.7-20.el7_9.x86_64
--> Running transaction check
---> Package expat-devel.x86_64 0:2.1.0-14.el7_9 will be installed
--> Processing Dependency: expat = 2.1.0-14.el7_9 for package: expat-devel-2.1.0-14.el7_9.x86_64
---> Package fontconfig.x86_64 0:2.13.0-4.3.el7 will be installed
--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.13.0-4.3.el7.x86_64
--> Processing Dependency: dejavu-sans-fonts for package: fontconfig-2.13.0-4.3.el7.x86_64
---> Package freetype.x86_64 0:2.8-14.el7_9.1 will be installed
---> Package gettext.x86_64 0:0.19.8.1-3.el7 will be installed
--> Processing Dependency: gettext-libs(x86-64) = 0.19.8.1-3.el7 for package: gettext-0.19.8.1-3.el7.x86_64
--> Processing Dependency: libunistring.so.0()(64bit) for package: gettext-0.19.8.1-3.el7.x86_64
--> Processing Dependency: libgettextsrc-0.19.8.1.so()(64bit) for package: gettext-0.19.8.1-3.el7.x86_64
--> Processing Dependency: libgettextlib-0.19.8.1.so()(64bit) for package: gettext-0.19.8.1-3.el7.x86_64
--> Processing Dependency: libcroco-0.6.so.3()(64bit) for package: gettext-0.19.8.1-3.el7.x86_64
---> Package glibc.x86_64 0:2.17-317.el7 will be updated
--> Processing Dependency: glibc = 2.17-317.el7 for package: glibc-common-2.17-317.el7.x86_64
---> Package glibc.x86_64 0:2.17-326.el7_9 will be an update
---> Package glibc-headers.x86_64 0:2.17-326.el7_9 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-326.el7_9.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-326.el7_9.x86_64
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package krb5-libs.x86_64 0:1.15.1-50.el7 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-54.el7_9 will be an update
---> Package libX11.x86_64 0:1.6.7-4.el7_9 will be installed
--> Processing Dependency: libX11-common >= 1.6.7-4.el7_9 for package: libX11-1.6.7-4.el7_9.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.7-4.el7_9.x86_64
---> Package libXext.x86_64 0:1.3.3-3.el7 will be installed
---> Package libXpm.x86_64 0:3.5.12-1.el7 will be installed
---> Package libXt.x86_64 0:1.1.5-3.el7 will be installed
--> Processing Dependency: libSM.so.6()(64bit) for package: libXt-1.1.5-3.el7.x86_64
--> Processing Dependency: libICE.so.6()(64bit) for package: libXt-1.1.5-3.el7.x86_64
---> Package libcom_err-devel.x86_64 0:1.42.9-19.el7 will be installed
---> Package libjpeg-turbo.x86_64 0:1.2.90-8.el7 will be installed
---> Package libkadm5.x86_64 0:1.15.1-54.el7_9 will be installed
---> Package libnetfilter_conntrack.x86_64 0:1.0.6-1.el7_3 will be installed
---> Package libnfnetlink.x86_64 0:1.0.1-4.el7 will be installed
---> Package libpng.x86_64 2:1.5.13-8.el7 will be installed
---> Package libselinux-devel.x86_64 0:2.5-15.el7 will be installed
--> Processing Dependency: libsepol-devel(x86-64) >= 2.5-10 for package: libselinux-devel-2.5-15.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-15.el7.x86_64
---> Package libuuid-devel.x86_64 0:2.23.2-65.el7_9.1 will be installed
--> Processing Dependency: libuuid = 2.23.2-65.el7_9.1 for package: libuuid-devel-2.23.2-65.el7_9.1.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
---> Package libxcb-devel.x86_64 0:1.13-1.el7 will be installed
--> Processing Dependency: pkgconfig(xau) >= 0.99.2 for package: libxcb-devel-1.13-1.el7.x86_64
---> Package xorg-x11-proto-devel.noarch 0:2018.4-1.el7 will be installed
---> Package zlib.x86_64 0:1.2.7-18.el7 will be updated
---> Package zlib.x86_64 0:1.2.7-20.el7_9 will be an update
--> Running transaction check
---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch
---> Package expat.x86_64 0:2.1.0-12.el7 will be updated
---> Package expat.x86_64 0:2.1.0-14.el7_9 will be an update
---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
---> Package gettext-libs.x86_64 0:0.19.8.1-3.el7 will be installed
---> Package glibc-common.x86_64 0:2.17-317.el7 will be updated
---> Package glibc-common.x86_64 0:2.17-326.el7_9 will be an update
---> Package kernel-headers.x86_64 0:3.10.0-1160.76.1.el7 will be installed
---> Package libICE.x86_64 0:1.0.9-9.el7 will be installed
---> Package libSM.x86_64 0:1.2.2-2.el7 will be installed
---> Package libX11-common.noarch 0:1.6.7-4.el7_9 will be installed
---> Package libXau-devel.x86_64 0:1.0.8-2.1.el7 will be installed
--> Processing Dependency: libXau = 1.0.8-2.1.el7 for package: libXau-devel-1.0.8-2.1.el7.x86_64
--> Processing Dependency: libXau.so.6()(64bit) for package: libXau-devel-1.0.8-2.1.el7.x86_64
---> Package libcroco.x86_64 0:0.6.12-6.el7_9 will be installed
---> Package libsepol-devel.x86_64 0:2.5-10.el7 will be installed
---> Package libunistring.x86_64 0:0.9.3-9.el7 will be installed
---> Package libuuid.x86_64 0:2.23.2-65.el7 will be updated
--> Processing Dependency: libuuid = 2.23.2-65.el7 for package: libmount-2.23.2-65.el7.x86_64
--> Processing Dependency: libuuid = 2.23.2-65.el7 for package: util-linux-2.23.2-65.el7.x86_64
--> Processing Dependency: libuuid = 2.23.2-65.el7 for package: libblkid-2.23.2-65.el7.x86_64
---> Package libuuid.x86_64 0:2.23.2-65.el7_9.1 will be an update
---> Package libxcb.x86_64 0:1.13-1.el7 will be installed
--> Running transaction check
---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
---> Package libblkid.x86_64 0:2.23.2-65.el7 will be updated
---> Package libblkid.x86_64 0:2.23.2-65.el7_9.1 will be an update
---> Package libmount.x86_64 0:2.23.2-65.el7 will be updated
---> Package libmount.x86_64 0:2.23.2-65.el7_9.1 will be an update
---> Package util-linux.x86_64 0:2.23.2-65.el7 will be updated
---> Package util-linux.x86_64 0:2.23.2-65.el7_9.1 will be an update
--> Processing Dependency: libsmartcols = 2.23.2-65.el7_9.1 for package: util-linux-2.23.2-65.el7_9.1.x86_64
--> Running transaction check
---> Package libsmartcols.x86_64 0:2.23.2-65.el7 will be updated
---> Package libsmartcols.x86_64 0:2.23.2-65.el7_9.1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
gcc x86_64 4.8.5-44.el7 base 16 M
gcc-c++ x86_64 4.8.5-44.el7 base 7.2 M
gd-devel x86_64 2.0.35-27.el7_9 updates 79 k
iproute x86_64 4.11.0-30.el7 base 805 k
make x86_64 1:3.82-24.el7 base 421 k
net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k
openssl-devel x86_64 1:1.0.2k-25.el7_9 updates 1.5 M
pcre-devel x86_64 8.32-17.el7 base 480 k
telnet x86_64 1:0.17-66.el7 updates 64 k
wget x86_64 1.14-18.el7_6.1 base 547 k
Updating:
curl x86_64 7.29.0-59.el7_9.1 updates 271 k
Installing for dependencies:
cpp x86_64 4.8.5-44.el7 base 5.9 M
dejavu-fonts-common noarch 2.33-6.el7 base 64 k
dejavu-sans-fonts noarch 2.33-6.el7 base 1.4 M
expat-devel x86_64 2.1.0-14.el7_9 updates 58 k
fontconfig x86_64 2.13.0-4.3.el7 base 254 k
fontconfig-devel x86_64 2.13.0-4.3.el7 base 138 k
fontpackages-filesystem noarch 1.44-8.el7 base 9.9 k
freetype x86_64 2.8-14.el7_9.1 updates 380 k
freetype-devel x86_64 2.8-14.el7_9.1 updates 447 k
gd x86_64 2.0.35-27.el7_9 updates 146 k
gettext x86_64 0.19.8.1-3.el7 base 1.0 M
gettext-libs x86_64 0.19.8.1-3.el7 base 502 k
glibc-devel x86_64 2.17-326.el7_9 updates 1.1 M
glibc-headers x86_64 2.17-326.el7_9 updates 691 k
iptables x86_64 1.4.21-35.el7 base 432 k
kernel-headers x86_64 3.10.0-1160.76.1.el7 updates 9.1 M
keyutils-libs-devel x86_64 1.5.8-3.el7 base 37 k
krb5-devel x86_64 1.15.1-54.el7_9 updates 273 k
libICE x86_64 1.0.9-9.el7 base 66 k
libSM x86_64 1.2.2-2.el7 base 39 k
libX11 x86_64 1.6.7-4.el7_9 updates 607 k
libX11-common noarch 1.6.7-4.el7_9 updates 164 k
libX11-devel x86_64 1.6.7-4.el7_9 updates 981 k
libXau x86_64 1.0.8-2.1.el7 base 29 k
libXau-devel x86_64 1.0.8-2.1.el7 base 14 k
libXext x86_64 1.3.3-3.el7 base 39 k
libXpm x86_64 3.5.12-1.el7 base 55 k
libXpm-devel x86_64 3.5.12-1.el7 base 36 k
libXt x86_64 1.1.5-3.el7 base 173 k
libcom_err-devel x86_64 1.42.9-19.el7 base 32 k
libcroco x86_64 0.6.12-6.el7_9 updates 105 k
libgomp x86_64 4.8.5-44.el7 base 159 k
libjpeg-turbo x86_64 1.2.90-8.el7 base 135 k
libjpeg-turbo-devel x86_64 1.2.90-8.el7 base 99 k
libkadm5 x86_64 1.15.1-54.el7_9 updates 179 k
libmnl x86_64 1.0.3-7.el7 base 23 k
libmpc x86_64 1.0.1-3.el7 base 51 k
libnetfilter_conntrack x86_64 1.0.6-1.el7_3 base 55 k
libnfnetlink x86_64 1.0.1-4.el7 base 26 k
libpng x86_64 2:1.5.13-8.el7 base 213 k
libpng-devel x86_64 2:1.5.13-8.el7 base 122 k
libselinux-devel x86_64 2.5-15.el7 base 187 k
libsepol-devel x86_64 2.5-10.el7 base 77 k
libstdc++-devel x86_64 4.8.5-44.el7 base 1.5 M
libunistring x86_64 0.9.3-9.el7 base 293 k
libuuid-devel x86_64 2.23.2-65.el7_9.1 updates 93 k
libverto-devel x86_64 0.2.5-4.el7 base 12 k
libxcb x86_64 1.13-1.el7 base 214 k
libxcb-devel x86_64 1.13-1.el7 base 1.1 M
mpfr x86_64 3.1.1-4.el7 base 203 k
xorg-x11-proto-devel noarch 2018.4-1.el7 base 280 k
zlib-devel x86_64 1.2.7-20.el7_9 updates 50 k
Updating for dependencies:
expat x86_64 2.1.0-14.el7_9 updates 83 k
glibc x86_64 2.17-326.el7_9 updates 3.6 M
glibc-common x86_64 2.17-326.el7_9 updates 12 M
krb5-libs x86_64 1.15.1-54.el7_9 updates 810 k
libblkid x86_64 2.23.2-65.el7_9.1 updates 183 k
libcurl x86_64 7.29.0-59.el7_9.1 updates 223 k
libmount x86_64 2.23.2-65.el7_9.1 updates 185 k
libsmartcols x86_64 2.23.2-65.el7_9.1 updates 143 k
libuuid x86_64 2.23.2-65.el7_9.1 updates 84 k
openssl-libs x86_64 1:1.0.2k-25.el7_9 updates 1.2 M
util-linux x86_64 2.23.2-65.el7_9.1 updates 2.0 M
zlib x86_64 1.2.7-20.el7_9 updates 90 k
Transaction Summary
================================================================================
Install 10 Packages (+52 Dependent packages)
Upgrade 1 Package (+12 Dependent packages)
Total download size: 77 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7/base/packages/dejavu-fonts-common-2.33-6.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for dejavu-fonts-common-2.33-6.el7.noarch.rpm is not installed
Public key for expat-2.1.0-14.el7_9.x86_64.rpm is not installed
--------------------------------------------------------------------------------
Total 839 kB/s | 77 MB 01:33
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package : centos-release-7-9.2009.0.el7.centos.x86_64 (@CentOS)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : glibc-common-2.17-326.el7_9.x86_64 1/88
Updating : glibc-2.17-326.el7_9.x86_64 2/88
Updating : zlib-1.2.7-20.el7_9.x86_64 3/88
Updating : libuuid-2.23.2-65.el7_9.1.x86_64 4/88
Installing : zlib-devel-1.2.7-20.el7_9.x86_64 5/88
Installing : mpfr-3.1.1-4.el7.x86_64 6/88
Installing : libmpc-1.0.1-3.el7.x86_64 7/88
Installing : 2:libpng-1.5.13-8.el7.x86_64 8/88
Installing : freetype-2.8-14.el7_9.1.x86_64 9/88
Updating : krb5-libs-1.15.1-54.el7_9.x86_64 10/88
Updating : 1:openssl-libs-1.0.2k-25.el7_9.x86_64 11/88
Installing : libgomp-4.8.5-44.el7.x86_64 12/88
Installing : 2:libpng-devel-1.5.13-8.el7.x86_64 13/88
Installing : freetype-devel-2.8-14.el7_9.1.x86_64 14/88
Updating : libblkid-2.23.2-65.el7_9.1.x86_64 15/88
Installing : libnfnetlink-1.0.1-4.el7.x86_64 16/88
Installing : libXau-1.0.8-2.1.el7.x86_64 17/88
Installing : libxcb-1.13-1.el7.x86_64 18/88
Installing : libcroco-0.6.12-6.el7_9.x86_64 19/88
Installing : libmnl-1.0.3-7.el7.x86_64 20/88
Installing : libunistring-0.9.3-9.el7.x86_64 21/88
Installing : libICE-1.0.9-9.el7.x86_64 22/88
Installing : libjpeg-turbo-1.2.90-8.el7.x86_64 23/88
Updating : expat-2.1.0-14.el7_9.x86_64 24/88
Installing : fontpackages-filesystem-1.44-8.el7.noarch 25/88
Installing : xorg-x11-proto-devel-2018.4-1.el7.noarch 26/88
Installing : libXau-devel-1.0.8-2.1.el7.x86_64 27/88
Installing : libxcb-devel-1.13-1.el7.x86_64 28/88
Installing : dejavu-fonts-common-2.33-6.el7.noarch 29/88
Installing : dejavu-sans-fonts-2.33-6.el7.noarch 30/88
Installing : fontconfig-2.13.0-4.3.el7.x86_64 31/88
Installing : expat-devel-2.1.0-14.el7_9.x86_64 32/88
Installing : libjpeg-turbo-devel-1.2.90-8.el7.x86_64 33/88
Installing : libSM-1.2.2-2.el7.x86_64 34/88
Installing : gettext-libs-0.19.8.1-3.el7.x86_64 35/88
Installing : gettext-0.19.8.1-3.el7.x86_64 36/88
install-info: No such file or directory for /usr/share/info/gettext.info.gz
Installing : libnetfilter_conntrack-1.0.6-1.el7_3.x86_64 37/88
Installing : iptables-1.4.21-35.el7.x86_64 38/88
Updating : libmount-2.23.2-65.el7_9.1.x86_64 39/88
Updating : libcurl-7.29.0-59.el7_9.1.x86_64 40/88
Installing : libkadm5-1.15.1-54.el7_9.x86_64 41/88
Installing : cpp-4.8.5-44.el7.x86_64 42/88
Installing : libuuid-devel-2.23.2-65.el7_9.1.x86_64 43/88
Installing : fontconfig-devel-2.13.0-4.3.el7.x86_64 44/88
Updating : libsmartcols-2.23.2-65.el7_9.1.x86_64 45/88
Installing : libX11-common-1.6.7-4.el7_9.noarch 46/88
Installing : libX11-1.6.7-4.el7_9.x86_64 47/88
Installing : libX11-devel-1.6.7-4.el7_9.x86_64 48/88
Installing : libXpm-3.5.12-1.el7.x86_64 49/88
Installing : gd-2.0.35-27.el7_9.x86_64 50/88
Installing : libXext-1.3.3-3.el7.x86_64 51/88
Installing : libXt-1.1.5-3.el7.x86_64 52/88
Installing : libXpm-devel-3.5.12-1.el7.x86_64 53/88
Installing : libstdc++-devel-4.8.5-44.el7.x86_64 54/88
Installing : libcom_err-devel-1.42.9-19.el7.x86_64 55/88
Installing : pcre-devel-8.32-17.el7.x86_64 56/88
Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64 57/88
Installing : kernel-headers-3.10.0-1160.76.1.el7.x86_64 58/88
Installing : glibc-headers-2.17-326.el7_9.x86_64 59/88
Installing : glibc-devel-2.17-326.el7_9.x86_64 60/88
Installing : gcc-4.8.5-44.el7.x86_64 61/88
Installing : libsepol-devel-2.5-10.el7.x86_64 62/88
Installing : libselinux-devel-2.5-15.el7.x86_64 63/88
Installing : libverto-devel-0.2.5-4.el7.x86_64 64/88
Installing : krb5-devel-1.15.1-54.el7_9.x86_64 65/88
Installing : 1:openssl-devel-1.0.2k-25.el7_9.x86_64 66/88
Installing : gcc-c++-4.8.5-44.el7.x86_64 67/88
Installing : gd-devel-2.0.35-27.el7_9.x86_64 68/88
Updating : util-linux-2.23.2-65.el7_9.1.x86_64 69/88
Updating : curl-7.29.0-59.el7_9.1.x86_64 70/88
Installing : iproute-4.11.0-30.el7.x86_64 71/88
Installing : wget-1.14-18.el7_6.1.x86_64 72/88
install-info: No such file or directory for /usr/share/info/wget.info.gz
Installing : net-tools-2.0-0.25.20131004git.el7.x86_64 73/88
Installing : 1:make-3.82-24.el7.x86_64 74/88
Installing : 1:telnet-0.17-66.el7.x86_64 75/88
Cleanup : util-linux-2.23.2-65.el7.x86_64 76/88
Cleanup : libmount-2.23.2-65.el7.x86_64 77/88
Cleanup : curl-7.29.0-59.el7.x86_64 78/88
Cleanup : libcurl-7.29.0-59.el7.x86_64 79/88
Cleanup : 1:openssl-libs-1.0.2k-19.el7.x86_64 80/88
Cleanup : krb5-libs-1.15.1-50.el7.x86_64 81/88
Cleanup : libblkid-2.23.2-65.el7.x86_64 82/88
Cleanup : libuuid-2.23.2-65.el7.x86_64 83/88
Cleanup : zlib-1.2.7-18.el7.x86_64 84/88
Cleanup : libsmartcols-2.23.2-65.el7.x86_64 85/88
Cleanup : expat-2.1.0-12.el7.x86_64 86/88
Cleanup : glibc-common-2.17-317.el7.x86_64 87/88
Cleanup : glibc-2.17-317.el7.x86_64 88/88
Verifying : libXext-1.3.3-3.el7.x86_64 1/88
Verifying : gcc-c++-4.8.5-44.el7.x86_64 2/88
Verifying : libblkid-2.23.2-65.el7_9.1.x86_64 3/88
Verifying : net-tools-2.0-0.25.20131004git.el7.x86_64 4/88
Verifying : libverto-devel-0.2.5-4.el7.x86_64 5/88
Verifying : xorg-x11-proto-devel-2018.4-1.el7.noarch 6/88
Verifying : cpp-4.8.5-44.el7.x86_64 7/88
Verifying : libX11-devel-1.6.7-4.el7_9.x86_64 8/88
Verifying : libsmartcols-2.23.2-65.el7_9.1.x86_64 9/88
Verifying : libXpm-3.5.12-1.el7.x86_64 10/88
Verifying : 1:make-3.82-24.el7.x86_64 11/88
Verifying : dejavu-sans-fonts-2.33-6.el7.noarch 12/88
Verifying : libcurl-7.29.0-59.el7_9.1.x86_64 13/88
Verifying : libsepol-devel-2.5-10.el7.x86_64 14/88
Verifying : iptables-1.4.21-35.el7.x86_64 15/88
Verifying : libnfnetlink-1.0.1-4.el7.x86_64 16/88
Verifying : kernel-headers-3.10.0-1160.76.1.el7.x86_64 17/88
Verifying : gettext-0.19.8.1-3.el7.x86_64 18/88
Verifying : libXau-1.0.8-2.1.el7.x86_64 19/88
Verifying : freetype-2.8-14.el7_9.1.x86_64 20/88
Verifying : libXau-devel-1.0.8-2.1.el7.x86_64 21/88
Verifying : 2:libpng-devel-1.5.13-8.el7.x86_64 22/88
Verifying : keyutils-libs-devel-1.5.8-3.el7.x86_64 23/88
Verifying : glibc-2.17-326.el7_9.x86_64 24/88
Verifying : gettext-libs-0.19.8.1-3.el7.x86_64 25/88
Verifying : libuuid-devel-2.23.2-65.el7_9.1.x86_64 26/88
Verifying : libcroco-0.6.12-6.el7_9.x86_64 27/88
Verifying : libkadm5-1.15.1-54.el7_9.x86_64 28/88
Verifying : libXpm-devel-3.5.12-1.el7.x86_64 29/88
Verifying : util-linux-2.23.2-65.el7_9.1.x86_64 30/88
Verifying : gd-devel-2.0.35-27.el7_9.x86_64 31/88
Verifying : zlib-1.2.7-20.el7_9.x86_64 32/88
Verifying : libmpc-1.0.1-3.el7.x86_64 33/88
Verifying : zlib-devel-1.2.7-20.el7_9.x86_64 34/88
Verifying : krb5-devel-1.15.1-54.el7_9.x86_64 35/88
Verifying : curl-7.29.0-59.el7_9.1.x86_64 36/88
Verifying : libgomp-4.8.5-44.el7.x86_64 37/88
Verifying : libselinux-devel-2.5-15.el7.x86_64 38/88
Verifying : fontconfig-2.13.0-4.3.el7.x86_64 39/88
Verifying : libmnl-1.0.3-7.el7.x86_64 40/88
Verifying : libunistring-0.9.3-9.el7.x86_64 41/88
Verifying : pcre-devel-8.32-17.el7.x86_64 42/88
Verifying : libICE-1.0.9-9.el7.x86_64 43/88
Verifying : fontpackages-filesystem-1.44-8.el7.noarch 44/88
Verifying : fontconfig-devel-2.13.0-4.3.el7.x86_64 45/88
Verifying : libjpeg-turbo-1.2.90-8.el7.x86_64 46/88
Verifying : 1:openssl-devel-1.0.2k-25.el7_9.x86_64 47/88
Verifying : 2:libpng-1.5.13-8.el7.x86_64 48/88
Verifying : gd-2.0.35-27.el7_9.x86_64 49/88
Verifying : libuuid-2.23.2-65.el7_9.1.x86_64 50/88
Verifying : libSM-1.2.2-2.el7.x86_64 51/88
Verifying : libX11-1.6.7-4.el7_9.x86_64 52/88
Verifying : mpfr-3.1.1-4.el7.x86_64 53/88
Verifying : libcom_err-devel-1.42.9-19.el7.x86_64 54/88
Verifying : wget-1.14-18.el7_6.1.x86_64 55/88
Verifying : krb5-libs-1.15.1-54.el7_9.x86_64 56/88
Verifying : expat-2.1.0-14.el7_9.x86_64 57/88
Verifying : libjpeg-turbo-devel-1.2.90-8.el7.x86_64 58/88
Verifying : libmount-2.23.2-65.el7_9.1.x86_64 59/88
Verifying : libnetfilter_conntrack-1.0.6-1.el7_3.x86_64 60/88
Verifying : glibc-devel-2.17-326.el7_9.x86_64 61/88
Verifying : libXt-1.1.5-3.el7.x86_64 62/88
Verifying : 1:telnet-0.17-66.el7.x86_64 63/88
Verifying : dejavu-fonts-common-2.33-6.el7.noarch 64/88
Verifying : glibc-headers-2.17-326.el7_9.x86_64 65/88
Verifying : libxcb-1.13-1.el7.x86_64 66/88
Verifying : iproute-4.11.0-30.el7.x86_64 67/88
Verifying : 1:openssl-libs-1.0.2k-25.el7_9.x86_64 68/88
Verifying : freetype-devel-2.8-14.el7_9.1.x86_64 69/88
Verifying : expat-devel-2.1.0-14.el7_9.x86_64 70/88
Verifying : glibc-common-2.17-326.el7_9.x86_64 71/88
Verifying : libxcb-devel-1.13-1.el7.x86_64 72/88
Verifying : gcc-4.8.5-44.el7.x86_64 73/88
Verifying : libstdc++-devel-4.8.5-44.el7.x86_64 74/88
Verifying : libX11-common-1.6.7-4.el7_9.noarch 75/88
Verifying : glibc-common-2.17-317.el7.x86_64 76/88
Verifying : 1:openssl-libs-1.0.2k-19.el7.x86_64 77/88
Verifying : zlib-1.2.7-18.el7.x86_64 78/88
Verifying : libblkid-2.23.2-65.el7.x86_64 79/88
Verifying : libuuid-2.23.2-65.el7.x86_64 80/88
Verifying : libcurl-7.29.0-59.el7.x86_64 81/88
Verifying : curl-7.29.0-59.el7.x86_64 82/88
Verifying : krb5-libs-1.15.1-50.el7.x86_64 83/88
Verifying : expat-2.1.0-12.el7.x86_64 84/88
Verifying : glibc-2.17-317.el7.x86_64 85/88
Verifying : libsmartcols-2.23.2-65.el7.x86_64 86/88
Verifying : util-linux-2.23.2-65.el7.x86_64 87/88
Verifying : libmount-2.23.2-65.el7.x86_64 88/88
Installed:
gcc.x86_64 0:4.8.5-44.el7
gcc-c++.x86_64 0:4.8.5-44.el7
gd-devel.x86_64 0:2.0.35-27.el7_9
iproute.x86_64 0:4.11.0-30.el7
make.x86_64 1:3.82-24.el7
net-tools.x86_64 0:2.0-0.25.20131004git.el7
openssl-devel.x86_64 1:1.0.2k-25.el7_9
pcre-devel.x86_64 0:8.32-17.el7
telnet.x86_64 1:0.17-66.el7
wget.x86_64 0:1.14-18.el7_6.1
Dependency Installed:
cpp.x86_64 0:4.8.5-44.el7
dejavu-fonts-common.noarch 0:2.33-6.el7
dejavu-sans-fonts.noarch 0:2.33-6.el7
expat-devel.x86_64 0:2.1.0-14.el7_9
fontconfig.x86_64 0:2.13.0-4.3.el7
fontconfig-devel.x86_64 0:2.13.0-4.3.el7
fontpackages-filesystem.noarch 0:1.44-8.el7
freetype.x86_64 0:2.8-14.el7_9.1
freetype-devel.x86_64 0:2.8-14.el7_9.1
gd.x86_64 0:2.0.35-27.el7_9
gettext.x86_64 0:0.19.8.1-3.el7
gettext-libs.x86_64 0:0.19.8.1-3.el7
glibc-devel.x86_64 0:2.17-326.el7_9
glibc-headers.x86_64 0:2.17-326.el7_9
iptables.x86_64 0:1.4.21-35.el7
kernel-headers.x86_64 0:3.10.0-1160.76.1.el7
keyutils-libs-devel.x86_64 0:1.5.8-3.el7
krb5-devel.x86_64 0:1.15.1-54.el7_9
libICE.x86_64 0:1.0.9-9.el7
libSM.x86_64 0:1.2.2-2.el7
libX11.x86_64 0:1.6.7-4.el7_9
libX11-common.noarch 0:1.6.7-4.el7_9
libX11-devel.x86_64 0:1.6.7-4.el7_9
libXau.x86_64 0:1.0.8-2.1.el7
libXau-devel.x86_64 0:1.0.8-2.1.el7
libXext.x86_64 0:1.3.3-3.el7
libXpm.x86_64 0:3.5.12-1.el7
libXpm-devel.x86_64 0:3.5.12-1.el7
libXt.x86_64 0:1.1.5-3.el7
libcom_err-devel.x86_64 0:1.42.9-19.el7
libcroco.x86_64 0:0.6.12-6.el7_9
libgomp.x86_64 0:4.8.5-44.el7
libjpeg-turbo.x86_64 0:1.2.90-8.el7
libjpeg-turbo-devel.x86_64 0:1.2.90-8.el7
libkadm5.x86_64 0:1.15.1-54.el7_9
libmnl.x86_64 0:1.0.3-7.el7
libmpc.x86_64 0:1.0.1-3.el7
libnetfilter_conntrack.x86_64 0:1.0.6-1.el7_3
libnfnetlink.x86_64 0:1.0.1-4.el7
libpng.x86_64 2:1.5.13-8.el7
libpng-devel.x86_64 2:1.5.13-8.el7
libselinux-devel.x86_64 0:2.5-15.el7
libsepol-devel.x86_64 0:2.5-10.el7
libstdc++-devel.x86_64 0:4.8.5-44.el7
libunistring.x86_64 0:0.9.3-9.el7
libuuid-devel.x86_64 0:2.23.2-65.el7_9.1
libverto-devel.x86_64 0:0.2.5-4.el7
libxcb.x86_64 0:1.13-1.el7
libxcb-devel.x86_64 0:1.13-1.el7
mpfr.x86_64 0:3.1.1-4.el7
xorg-x11-proto-devel.noarch 0:2018.4-1.el7
zlib-devel.x86_64 0:1.2.7-20.el7_9
Updated:
curl.x86_64 0:7.29.0-59.el7_9.1
Dependency Updated:
expat.x86_64 0:2.1.0-14.el7_9 glibc.x86_64 0:2.17-326.el7_9
glibc-common.x86_64 0:2.17-326.el7_9 krb5-libs.x86_64 0:1.15.1-54.el7_9
libblkid.x86_64 0:2.23.2-65.el7_9.1 libcurl.x86_64 0:7.29.0-59.el7_9.1
libmount.x86_64 0:2.23.2-65.el7_9.1 libsmartcols.x86_64 0:2.23.2-65.el7_9.1
libuuid.x86_64 0:2.23.2-65.el7_9.1 openssl-libs.x86_64 1:1.0.2k-25.el7_9
util-linux.x86_64 0:2.23.2-65.el7_9.1 zlib.x86_64 0:1.2.7-20.el7_9
Complete!
Loaded plugins: fastestmirror, ovl
Cleaning repos: base extras updates
Cleaning up list of fastest mirrors
Removing intermediate container 420e4dad7909
---> 4acae085e2c3
Step 4/9 : RUN wget http://nginx.org/download/nginx-1.15.5.tar.gz && tar zxf nginx-1.15.5.tar.gz && cd nginx-1.15.5 && ./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_stub_status_module && make -j 4 && make install && rm -rf /usr/local/nginx/html/* && echo "ok" >> /usr/local/nginx/html/status.html && cd / && rm -rf nginx-1.15.5* && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
---> Running in 40b4382df556
--2022-08-22 13:23:38-- http://nginx.org/download/nginx-1.15.5.tar.gz
Resolving nginx.org (nginx.org)... 3.125.197.172, 52.58.199.22, 2a05:d014:edb:5702::6, ...
Connecting to nginx.org (nginx.org)|3.125.197.172|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1024791 (1001K) [application/octet-stream]
Saving to: 'nginx-1.15.5.tar.gz'
0K .......... .......... .......... .......... .......... 4% 101K 9s
50K .......... .......... .......... .......... .......... 9% 197K 7s
100K .......... .......... .......... .......... .......... 14% 2.42M 4s
150K .......... .......... .......... .......... .......... 19% 1.11M 3s
200K .......... .......... .......... .......... .......... 24% 284K 3s
250K .......... .......... .......... .......... .......... 29% 668K 2s
300K .......... .......... .......... .......... .......... 34% 252K 2s
350K .......... .......... .......... .......... .......... 39% 203K 2s
400K .......... .......... .......... .......... .......... 44% 143K 2s
450K .......... .......... .......... .......... .......... 49% 173K 2s
500K .......... .......... .......... .......... .......... 54% 1.13M 2s
550K .......... .......... .......... .......... .......... 59% 177K 2s
600K .......... .......... .......... .......... .......... 64% 188K 1s
650K .......... .......... .......... .......... .......... 69% 175K 1s
700K .......... .......... .......... .......... .......... 74% 209K 1s
750K .......... .......... .......... .......... .......... 79% 423K 1s
800K .......... .......... .......... .......... .......... 84% 140K 1s
850K .......... .......... .......... .......... .......... 89% 169K 0s
900K .......... .......... .......... .......... .......... 94% 205K 0s
950K .......... .......... .......... .......... .......... 99% 179K 0s
1000K 100% 1473G=4.6s
2022-08-22 13:23:44 (220 KB/s) - 'nginx-1.15.5.tar.gz' saved [1024791/1024791]
checking for OS
+ Linux 3.10.0-1160.el7.x86_64 x86_64
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
checking for gcc -pipe switch ... found
checking for -Wl,-E switch ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for gcc builtin 64 bit byteswap ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
checking for epoll ... found
checking for EPOLLRDHUP ... found
checking for EPOLLEXCLUSIVE ... not found
checking for O_PATH ... found
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found
checking for prctl(PR_SET_KEEPCAPS) ... found
checking for capabilities ... found
checking for crypt_r() ... found
checking for sys/vfs.h ... found
checking for nobody group ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for sched_setaffinity() ... found
checking for SO_SETFIB ... not found
checking for SO_REUSEPORT ... found
checking for SO_ACCEPTFILTER ... not found
checking for SO_BINDANY ... not found
checking for IP_TRANSPARENT ... found
checking for IP_BINDANY ... not found
checking for IP_BIND_ADDRESS_NO_PORT ... found
checking for IP_RECVDSTADDR ... not found
checking for IP_SENDSRCADDR ... not found
checking for IP_PKTINFO ... found
checking for IPV6_RECVPKTINFO ... found
checking for TCP_DEFER_ACCEPT ... found
checking for TCP_KEEPIDLE ... found
checking for TCP_FASTOPEN ... found
checking for TCP_INFO ... found
checking for accept4() ... found
checking for eventfd() ... found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint32_t ... found
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for AF_INET6 ... found
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for pwritev() ... found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for clock_gettime(CLOCK_MONOTONIC) ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
checking for PCRE library ... found
checking for PCRE JIT support ... found
checking for OpenSSL library ... found
checking for zlib library ... found
creating objs/Makefile
Configuration summary
+ using system PCRE library
+ using system OpenSSL library
+ using system zlib library
nginx 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/Makefile
make[1]: Entering directory `/nginx-1.15.5'
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.c
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/ngx_log.o \
src/core/ngx_log.c
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/ngx_palloc.o \
src/core/ngx_palloc.c
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/ngx_array.o \
src/core/ngx_array.c
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/ngx_list.o \
src/core/ngx_list.c
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/ngx_hash.o \
src/core/ngx_hash.c
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/ngx_buf.o \
src/core/ngx_buf.c
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/ngx_queue.o \
src/core/ngx_queue.c
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/ngx_output_chain.o \
src/core/ngx_output_chain.c
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/ngx_string.o \
src/core/ngx_string.c
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/ngx_parse.o \
src/core/ngx_parse.c
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/ngx_parse_time.o \
src/core/ngx_parse_time.c
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/ngx_inet.o \
src/core/ngx_inet.c
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/ngx_file.o \
src/core/ngx_file.c
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/ngx_crc32.o \
src/core/ngx_crc32.c
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/ngx_murmurhash.o \
src/core/ngx_murmurhash.c
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/ngx_md5.o \
src/core/ngx_md5.c
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/ngx_sha1.o \
src/core/ngx_sha1.c
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/ngx_rbtree.o \
src/core/ngx_rbtree.c
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/ngx_radix_tree.o \
src/core/ngx_radix_tree.c
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/ngx_slab.o \
src/core/ngx_slab.c
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/ngx_times.o \
src/core/ngx_times.c
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/ngx_shmtx.o \
src/core/ngx_shmtx.c
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/ngx_connection.o \
src/core/ngx_connection.c
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/ngx_cycle.o \
src/core/ngx_cycle.c
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/ngx_spinlock.o \
src/core/ngx_spinlock.c
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/ngx_rwlock.o \
src/core/ngx_rwlock.c
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/ngx_cpuinfo.o \
src/core/ngx_cpuinfo.c
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/ngx_conf_file.o \
src/core/ngx_conf_file.c
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/ngx_module.o \
src/core/ngx_module.c
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/ngx_resolver.o \
src/core/ngx_resolver.c
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/ngx_open_file_cache.o \
src/core/ngx_open_file_cache.c
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/ngx_crypt.o \
src/core/ngx_crypt.c
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/ngx_proxy_protocol.o \
src/core/ngx_proxy_protocol.c
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/ngx_syslog.o \
src/core/ngx_syslog.c
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/event/ngx_event.o \
src/event/ngx_event.c
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/event/ngx_event_timer.o \
src/event/ngx_event_timer.c
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/event/ngx_event_posted.o \
src/event/ngx_event_posted.c
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/event/ngx_event_accept.o \
src/event/ngx_event_accept.c
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/event/ngx_event_udp.o \
src/event/ngx_event_udp.c
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/event/ngx_event_connect.o \
src/event/ngx_event_connect.c
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/event/ngx_event_pipe.o \
src/event/ngx_event_pipe.c
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/os/unix/ngx_time.o \
src/os/unix/ngx_time.c
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/os/unix/ngx_errno.o \
src/os/unix/ngx_errno.c
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/os/unix/ngx_alloc.o \
src/os/unix/ngx_alloc.c
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/os/unix/ngx_files.o \
src/os/unix/ngx_files.c
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/os/unix/ngx_socket.o \
src/os/unix/ngx_socket.c
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/os/unix/ngx_recv.o \
src/os/unix/ngx_recv.c
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/os/unix/ngx_readv_chain.o \
src/os/unix/ngx_readv_chain.c
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/os/unix/ngx_udp_recv.o \
src/os/unix/ngx_udp_recv.c
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/os/unix/ngx_send.o \
src/os/unix/ngx_send.c
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/os/unix/ngx_writev_chain.o \
src/os/unix/ngx_writev_chain.c
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/os/unix/ngx_udp_send.o \
src/os/unix/ngx_udp_send.c
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/os/unix/ngx_udp_sendmsg_chain.o \
src/os/unix/ngx_udp_sendmsg_chain.c
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/os/unix/ngx_channel.o \
src/os/unix/ngx_channel.c
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/os/unix/ngx_shmem.o \
src/os/unix/ngx_shmem.c
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/os/unix/ngx_process.o \
src/os/unix/ngx_process.c
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/os/unix/ngx_daemon.o \
src/os/unix/ngx_daemon.c
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/os/unix/ngx_setaffinity.o \
src/os/unix/ngx_setaffinity.c
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/os/unix/ngx_setproctitle.o \
src/os/unix/ngx_setproctitle.c
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/os/unix/ngx_posix_init.o \
src/os/unix/ngx_posix_init.c
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/os/unix/ngx_user.o \
src/os/unix/ngx_user.c
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/os/unix/ngx_dlopen.o \
src/os/unix/ngx_dlopen.c
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/os/unix/ngx_process_cycle.o \
src/os/unix/ngx_process_cycle.c
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/os/unix/ngx_linux_init.o \
src/os/unix/ngx_linux_init.c
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/event/modules/ngx_epoll_module.o \
src/event/modules/ngx_epoll_module.c
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/os/unix/ngx_linux_sendfile_chain.o \
src/os/unix/ngx_linux_sendfile_chain.c
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/event/ngx_event_openssl.o \
src/event/ngx_event_openssl.c
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/event/ngx_event_openssl_stapling.o \
src/event/ngx_event_openssl_stapling.c
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/ngx_regex.o \
src/core/ngx_regex.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http.o \
src/http/ngx_http.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_core_module.o \
src/http/ngx_http_core_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_special_response.o \
src/http/ngx_http_special_response.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_request.o \
src/http/ngx_http_request.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_parse.o \
src/http/ngx_http_parse.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_log_module.o \
src/http/modules/ngx_http_log_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_request_body.o \
src/http/ngx_http_request_body.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_variables.o \
src/http/ngx_http_variables.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_script.o \
src/http/ngx_http_script.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_upstream.o \
src/http/ngx_http_upstream.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_upstream_round_robin.o \
src/http/ngx_http_upstream_round_robin.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_file_cache.o \
src/http/ngx_http_file_cache.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_write_filter_module.o \
src/http/ngx_http_write_filter_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_header_filter_module.o \
src/http/ngx_http_header_filter_module.c
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 -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.c
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 -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.c
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 -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.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_postpone_filter_module.o \
src/http/ngx_http_postpone_filter_module.c
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 -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.c
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 -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.c
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 -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.c
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 -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.c
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 -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_copy_filter_module.o \
src/http/ngx_http_copy_filter_module.c
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 -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.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_static_module.o \
src/http/modules/ngx_http_static_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_autoindex_module.o \
src/http/modules/ngx_http_autoindex_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_index_module.o \
src/http/modules/ngx_http_index_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_mirror_module.o \
src/http/modules/ngx_http_mirror_module.c
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 -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.c
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 -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.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_access_module.o \
src/http/modules/ngx_http_access_module.c
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 -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.c
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 -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.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_geo_module.o \
src/http/modules/ngx_http_geo_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_map_module.o \
src/http/modules/ngx_http_map_module.c
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 -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.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_referer_module.o \
src/http/modules/ngx_http_referer_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_rewrite_module.o \
src/http/modules/ngx_http_rewrite_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_ssl_module.o \
src/http/modules/ngx_http_ssl_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_proxy_module.o \
src/http/modules/ngx_http_proxy_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_fastcgi_module.o \
src/http/modules/ngx_http_fastcgi_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_uwsgi_module.o \
src/http/modules/ngx_http_uwsgi_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_scgi_module.o \
src/http/modules/ngx_http_scgi_module.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_memcached_module.o \
src/http/modules/ngx_http_memcached_module.c
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 -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.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_browser_module.o \
src/http/modules/ngx_http_browser_module.c
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 -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.c
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 -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.c
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 -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.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_upstream_random_module.o \
src/http/modules/ngx_http_upstream_random_module.c
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 -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.c
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 -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.c
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 -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_stub_status_module.o \
src/http/modules/ngx_http_stub_status_module.c
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/ngx_modules.o \
objs/ngx_modules.c
sed -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.8
cc -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_udp.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/event/ngx_event_openssl.o \
objs/src/event/ngx_event_openssl_stapling.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_ssl_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_random_module.o \
objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
objs/src/http/modules/ngx_http_upstream_zone_module.o \
objs/src/http/modules/ngx_http_stub_status_module.o \
objs/ngx_modules.o \
-ldl -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lpthread -lz \
-Wl,-E
make[1]: Leaving directory `/nginx-1.15.5'
make -f objs/Makefile install
make[1]: Entering directory `/nginx-1.15.5'
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 `/nginx-1.15.5'
Removing intermediate container 40b4382df556
---> 68fbc40dd636
Step 5/9 : ENV PATH $PATH:/usr/local/nginx/sbin
---> Running in a1672f1dc3aa
Removing intermediate container a1672f1dc3aa
---> 9f68832a3d1a
Step 6/9 : COPY nginx.conf /usr/local/nginx/conf/nginx.conf
---> d6acff733d15
Step 7/9 : WORKDIR /usr/local/nginx
---> Running in a2286ae14b1f
Removing intermediate container a2286ae14b1f
---> c19a0a3dfe84
Step 8/9 : EXPOSE 80
---> Running in b2d255168933
Removing intermediate container b2d255168933
---> 0f1ef8098356
Step 9/9 : CMD ["nginx", "-g", "daemon off;"]
---> Running in 0d45c562d33e
Removing intermediate container 0d45c562d33e
---> cc0ebc72c35b
Successfully built cc0ebc72c35b
Successfully tagged nginx:v1
2.2 nginx.conf
user nobody;
worker_processes 4;
worker_rlimit_nofile 65535;
error_log logs/error.log notice;
pid /var/run/nginx.pid;
events {
use epoll;
worker_connections 4096;
}
http {
include mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log off;
keepalive_timeout 65;
client_max_body_size 64m;
server {
listen 80;
server_name www.ctnrs.com;
index index.php index.html;
access_log logs/www.ctnrs.com_access.log;
error_log logs/www.ctnrs.com_error.log;
# location ~ .*\.(js|css|html|png|gif|jpg|jpeg)$ {
location / {
root /wwwroot;
}
location ~* \.php$ {
root /wwwroot;
fastcgi_pass lnmp_php:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
}
2.3 php
2.3.1 php的dockerfile
FROM centos:7
LABEL maintainer www.ctnrs.com
RUN yum install epel-release -y && \
yum install -y gcc gcc-c++ make gd-devel libxml2-devel \
libcurl-devel libjpeg-devel libpng-devel openssl-devel \
libmcrypt-devel libxslt-devel libtidy-devel autoconf \
iproute net-tools telnet wget curl && \
yum clean all && \
rm -rf /var/cache/yum/*
RUN wget http://docs.php.net/distributions/php-5.6.36.tar.gz && \
tar zxf php-5.6.36.tar.gz && \
cd php-5.6.36 && \
./configure --prefix=/usr/local/php \
--with-config-file-path=/usr/local/php/etc \
--enable-fpm --enable-opcache \
--with-mysql --with-mysqli --with-pdo-mysql \
--with-openssl --with-zlib --with-curl --with-gd \
--with-jpeg-dir --with-png-dir --with-freetype-dir \
--enable-mbstring --with-mcrypt --enable-hash && \
make -j 4 && make install && \
cp php.ini-production /usr/local/php/etc/php.ini && \
cp sapi/fpm/php-fpm.conf /usr/local/php/etc/php-fpm.conf && \
sed -i "90a \daemonize = no" /usr/local/php/etc/php-fpm.conf && \
mkdir /usr/local/php/log && \
cd / && rm -rf php* && \
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV PATH $PATH:/usr/local/php/sbin
COPY php.ini /usr/local/php/etc/
COPY php-fpm.conf /usr/local/php/etc/
WORKDIR /usr/local/php
EXPOSE 9000
CMD ["php-fpm"]
2.3.2 执行命令
docker build -t php:v1 -f Dockerfile-php .
2.3.3 安装执行结果
Wrote PEAR system config file at: /usr/local/php/etc/pear.conf
You may want to add: /usr/local/php/lib/php to your php.ini include_path
/php-5.6.36/build/shtool install -c ext/phar/phar.phar /usr/local/php/bin
ln -s -f phar.phar /usr/local/php/bin/phar
Installing PDO headers: /usr/local/php/include/php/ext/pdo/
Removing intermediate container 6defbd00f5cc
---> 8ffa6793b271
Step 5/10 : ENV PATH $PATH:/usr/local/php/sbin
---> Running in c38bbdca5dc1
Removing intermediate container c38bbdca5dc1
---> e5930f81541d
Step 6/10 : COPY php.ini /usr/local/php/etc/
---> 32d1559d5961
Step 7/10 : COPY php-fpm.conf /usr/local/php/etc/
---> b7811b7f7f0a
Step 8/10 : WORKDIR /usr/local/php
---> Running in 9466b058e0e5
Removing intermediate container 9466b058e0e5
---> b8f6b086c5a5
Step 9/10 : EXPOSE 9000
---> Running in 2b13dd561449
Removing intermediate container 2b13dd561449
---> fa3dbeaeb4c5
Step 10/10 : CMD ["php-fpm"]
---> Running in f1d24346afc7
Removing intermediate container f1d24346afc7
---> 8ab3e01cfa3c
Successfully built 8ab3e01cfa3c
Successfully tagged php:v1
2.4 tomcat
FROM centos:7
LABEL maintainer www.ctnrs.com
#根据实际情况修改成对应的版本
ENV VERSION=8.0.52
RUN yum install java-1.8.0-openjdk wget curl unzip iproute net-tools -y && \
yum clean all && \
rm -rf /var/cache/yum/*
RUN wget http://mirrors.shu.edu.cn/apache/tomcat/tomcat-8/v${VERSION}/bin/apache-tomcat-${VERSION}.tar.gz && \
tar zxf apache-tomcat-${VERSION}.tar.gz && \
mv apache-tomcat-${VERSION} /usr/local/tomcat && \
rm -rf apache-tomcat-${VERSION}.tar.gz /usr/local/tomcat/webapps/* && \
mkdir /usr/local/tomcat/webapps/test && \
echo "ok" > /usr/local/tomcat/webapps/test/status.html && \
sed -i '1a JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom"' /usr/local/tomcat/bin/catalina.sh && \
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV PATH $PATH:/usr/local/tomcat/bin
WORKDIR /usr/local/tomcat
EXPOSE 8080
CMD ["catalina.sh", "run"]