publiclab / plots2

a collaborative knowledge-exchange platform in Rails; we welcome first-time contributors! :balloon:
https://publiclab.org
GNU General Public License v3.0
961 stars 1.83k forks source link

Avoid nginx compilation step #3311

Open icarito opened 6 years ago

icarito commented 6 years ago

In https://github.com/publiclab/plots2/pull/3288 we added an explicit compilation step. I believe we should be using binaries either from Debian or Phusion, not recompiling every time. This would speed up testing and deployment.

jywarren commented 6 years ago

On my last publish to production just now, I see it compiled nginx twice -- once just before Step 1/19, and once on Step 19/19 : RUN passenger-config compile-nginx-engine --connect-timeout 60 --idle-timeout 60... odd!