diff options
Diffstat (limited to '')
-rw-r--r-- | pkg/docker/Dockerfile.full | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/docker/Dockerfile.full b/pkg/docker/Dockerfile.full index ae700b32..c6646fda 100644 --- a/pkg/docker/Dockerfile.full +++ b/pkg/docker/Dockerfile.full @@ -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"] |