summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker/Dockerfile.python2.7
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/docker/Dockerfile.python2.7')
-rw-r--r--pkg/docker/Dockerfile.python2.76
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/docker/Dockerfile.python2.7 b/pkg/docker/Dockerfile.python2.7
index 61a3e655..eb599f95 100644
--- a/pkg/docker/Dockerfile.python2.7
+++ b/pkg/docker/Dockerfile.python2.7
@@ -2,7 +2,7 @@ FROM debian:stretch-slim
LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
-ENV UNIT_VERSION 1.11.0-2~stretch
+ENV UNIT_VERSION 1.12.0-1~stretch
RUN set -x \
&& apt-get update \
@@ -86,4 +86,8 @@ RUN ln -sf /dev/stdout /var/log/unit.log
STOPSIGNAL SIGTERM
+COPY docker-entrypoint.sh /usr/local/bin/
+RUN mkdir /docker-entrypoint.d/
+ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
+
CMD ["unitd", "--no-daemon", "--control", "unix:/var/run/control.unit.sock"]