diff options
Diffstat (limited to 'pkg/docker/Dockerfile.minimal')
-rw-r--r-- | pkg/docker/Dockerfile.minimal | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/docker/Dockerfile.minimal b/pkg/docker/Dockerfile.minimal index 38744ed9..1bdec9bb 100644 --- a/pkg/docker/Dockerfile.minimal +++ b/pkg/docker/Dockerfile.minimal @@ -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"] |