On 8/25/2015 11:26 PM, Atul Sowani wrote:
> Hi,
> 
> I checked nginx code repository as well as Internet to see if I can
> get a Dockerfile to build nginx. I got a few references (like
> https://github.com/dockerfile/nginx) but those are essentially to
> _run_ nginx, not _build_ it.
> 
> I am looking to build different versions of nginx (say
> top-of-the-tree, latest-stable etc.) easily. It would be very
> convenient if a Dockerfile is presented with the source code which
> will build one of the versions mentioned above. If required, a slight
> modification can then build any version of nginx.
> 
> I would highly appreciate if somebody could point me to a source where
> I can get a Dockerfile which builds nginx.

The official Dockerfile is here:

https://github.com/nginxinc/docker-nginx/blob/master/Dockerfile

You can replace the apt-get commands with commands which build nginx,
just like you would on a normal linux system. Or you could even build a
custom .deb and use that.

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to