From e9023b7c9a01aea8c34cc2274e7ce55baf4c6b48 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 15 Mar 2022 14:01:44 +0300 Subject: t/i/docker: use tini in server --- test/integration/docker/server/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/integration/docker/server/Dockerfile b/test/integration/docker/server/Dockerfile index a6283d0..dcce923 100644 --- a/test/integration/docker/server/Dockerfile +++ b/test/integration/docker/server/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:3.11 -RUN apk --no-cache add bash git openssh-server && \ +RUN apk --no-cache add bash git openssh-server tini && \ echo 'root:root' | chpasswd && \ git config --global user.name 'John Doe' && \ git config --global user.email 'John.Doe@example.com' && \ @@ -19,4 +19,5 @@ RUN chmod 0600 -- /etc/ssh/ssh_host_ed25519_key && \ COPY ["server/setup_repo.sh", "./"] RUN ./setup_repo.sh +ENTRYPOINT ["/sbin/tini", "--"] CMD ["/usr/sbin/sshd", "-D"] -- cgit v1.2.3