- nginx-tengine: 编译拆分为 make / make install 两步,改用绝对路径校验版本 - nginx.conf: 日志输出到 stdout/stderr,启用 gzip、epoll、open_file_cache,调整超时与并发参数 - System: 注释掉 yum update,避免升级导致的 nginx 编译失败等问题 - 删除 System/VULNERABILITY_FIX.md 与 System/pip.conf
7 lines
265 B
Docker
7 lines
265 B
Docker
FROM alibaba-cloud-linux-3-registry.cn-hangzhou.cr.aliyuncs.com/alinux3/alinux3:220901.1
|
|
LABEL MAINTAINER="tianjun@odboy.cn"
|
|
ENV TimeZone=Asia/Shanghai
|
|
WORKDIR /home/admin
|
|
|
|
# 升级会有很多问题,比如nginx编译失败等
|
|
#RUN yum update -y && yum clean all; |