nginx dockerfile.

Atul Sowani sowani at gmail.com
Fri Aug 28 09:27:33 UTC 2015


Hi Kevin,

Many thanks for the pointer. That is exactly what I am looking for.

Now counting on my own experience, I think such dockerfiles should be
integrated with the nginx source code itself. This will make the nginx
source code self-contained and build process consistent. Otherwise,
developers like me will go in every direction looking out for a
dockerfile and there could be different versions of it available from
multiple sources. Having an official version along with source code
will save a lot of pain and will bring good things along. It's just
like having Makefile along with the code. As long as the base image
for container is available, I don't see any reason not to include a
dockerfile with source code. -- Just a thought.

Thanks again for pointing me to the right source!

Best regards,
Atul.

On Fri, Aug 28, 2015 at 12:35 PM, Kevin Jones <kevin at nginx.com> wrote:
> Hello Atul,
>
> Is this what you are looking for? Keep in mind I just threw this together to give you an idea of how you could do this and it should be tested. Let me know if you have any suggestions or questions.
>
> https://github.com/kmjones1979/docker-nginx-compiled/blob/master/Dockerfile
>
> git at github.com:kmjones1979/docker-nginx-compiled.git
>
> ---
> Kevin
> http://nginx.org/
>
>
>
>
>
>
>
> On 8/26/15, 9:16 PM, "nginx on behalf of Atul Sowani" <nginx-bounces at nginx.org on behalf of sowani at gmail.com> 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.
>>
>>Thanks,
>>Atul.
>>
>>_______________________________________________
>>nginx mailing list
>>nginx at nginx.org
>>http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list