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.74
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/docker/Dockerfile.python2.7 b/pkg/docker/Dockerfile.python2.7
index f7a35109..88fdf1d5 100644
--- a/pkg/docker/Dockerfile.python2.7
+++ b/pkg/docker/Dockerfile.python2.7
@@ -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"]