NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
ae0096
V2EX  ›  NGINX

如何在 nginx 镜像里面添加模块

  •  
  •   ae0096 · Nov 6, 2020 · 2899 views
    This topic created in 2019 days ago, the information mentioned may be changed or developed.

    大佬们,如何在原有的 nginx 镜像里面增加模块,这个镜像是已经线上的镜像,不想重新构建一个镜像,如何在给它怼一个模块呢?

    3 replies    2020-11-07 12:31:49 +08:00
    buliugu
        1
    buliugu  
       Nov 6, 2020
    docker attach 进去怼,但是很有可能你的镜像连 wget 啥都没有搞起来挺麻烦,不如改改 dockerfile 让 ci 干活
    xuanbg
        2
    xuanbg  
       Nov 7, 2020
    写个 dockerfile,from 这个线上的镜像,然后 add 你要增加的模块。
    julyclyde
        3
    julyclyde  
       Nov 7, 2020
    docker 解决了其他社会制度不存在的问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4999 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 01:12 · PVG 09:12 · LAX 18:12 · JFK 21:12
    ♥ Do have faith in what you're doing.