From 6a8f26c3abed7a3c26d4ac3b88b80f08966fb3e0 Mon Sep 17 00:00:00 2001 From: Adrian Villin Date: Thu, 25 Jul 2024 13:17:31 +0200 Subject: hs-test: fix docker warning message Type: test Change-Id: I156b6d9e0759bc7d324ac7d618a195ee5803ca75 Signed-off-by: Adrian Villin --- extras/hs-test/docker/Dockerfile.nginx-server | 4 ++-- extras/hs-test/script/nginx_mirroring_entrypoint.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 extras/hs-test/script/nginx_mirroring_entrypoint.sh diff --git a/extras/hs-test/docker/Dockerfile.nginx-server b/extras/hs-test/docker/Dockerfile.nginx-server index 0720c6f2cb7..ce397ec7b83 100644 --- a/extras/hs-test/docker/Dockerfile.nginx-server +++ b/extras/hs-test/docker/Dockerfile.nginx-server @@ -7,6 +7,6 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* COPY resources/nginx/nginx_server_mirroring.conf /nginx.conf +COPY script/nginx_mirroring_entrypoint.sh /usr/bin/nginx_mirroring_entrypoint.sh - -ENTRYPOINT nginx -c /nginx.conf +ENTRYPOINT ["nginx_mirroring_entrypoint.sh"] diff --git a/extras/hs-test/script/nginx_mirroring_entrypoint.sh b/extras/hs-test/script/nginx_mirroring_entrypoint.sh new file mode 100755 index 00000000000..6581c8b74d3 --- /dev/null +++ b/extras/hs-test/script/nginx_mirroring_entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +nginx -c /nginx.conf -- cgit 1.2.3-korg