Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
docker-nginx/mainline/jessie/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
27 lines (21 sloc)
865 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM debian:jessie | |
| MAINTAINER NGINX Docker Maintainers "docker-maint@nginx.com" | |
| ENV NGINX_VERSION 1.11.5-1~jessie | |
| RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 \ | |
| && echo "deb http://nginx.org/packages/mainline/debian/ jessie nginx" >> /etc/apt/sources.list \ | |
| && apt-get update \ | |
| && apt-get install --no-install-recommends --no-install-suggests -y \ | |
| ca-certificates \ | |
| nginx=${NGINX_VERSION} \ | |
| nginx-module-xslt \ | |
| nginx-module-geoip \ | |
| nginx-module-image-filter \ | |
| nginx-module-perl \ | |
| nginx-module-njs \ | |
| gettext-base \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # forward request and error logs to docker log collector | |
| RUN ln -sf /dev/stdout /var/log/nginx/access.log \ | |
| && ln -sf /dev/stderr /var/log/nginx/error.log | |
| EXPOSE 80 443 | |
| CMD ["nginx", "-g", "daemon off;"] |