Welcome! Log In Create A New Profile

Advanced

Re: nginx dockerfile.

Ahmed Charles
September 02, 2015 11:18AM
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
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

nginx dockerfile.

Atul Sowani 640 August 26, 2015 02:28AM

Re: nginx dockerfile.

Ahmed Charles 239 September 02, 2015 11:18AM

Re: nginx dockerfile.

Atul Sowani 266 September 03, 2015 03:14AM

Re: nginx dockerfile.

Konstantin Pavlov 254 September 03, 2015 08:28AM

Re: nginx dockerfile.

Atul Sowani 344 September 04, 2015 02:38AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 84
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready