aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test
diff options
context:
space:
mode:
authorAdrian Villin <avillin@cisco.com>2024-07-25 13:17:31 +0200
committerAdrian Villin <avillin@cisco.com>2024-07-25 13:17:31 +0200
commit6a8f26c3abed7a3c26d4ac3b88b80f08966fb3e0 (patch)
tree766de6ee0e95e9734db5b67791d82982f67a1595 /extras/hs-test
parent007be4fa7f869b73a940f4af0988581dd4b8a8ae (diff)
hs-test: fix docker warning message
Type: test Change-Id: I156b6d9e0759bc7d324ac7d618a195ee5803ca75 Signed-off-by: Adrian Villin <avillin@cisco.com>
Diffstat (limited to 'extras/hs-test')
-rw-r--r--extras/hs-test/docker/Dockerfile.nginx-server4
-rwxr-xr-xextras/hs-test/script/nginx_mirroring_entrypoint.sh3
2 files changed, 5 insertions, 2 deletions
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