From 5b175eca2d6389bfb0c09839436df83cf8df334c Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Fri, 6 Sep 2024 15:30:59 +0200 Subject: hs-test: upload via proxy tests Type: test Change-Id: Id6b4e2348735081c827f814a814c976b601432ec Signed-off-by: Matus Fabian --- extras/hs-test/docker/Dockerfile.curl | 1 + extras/hs-test/docker/Dockerfile.nginx-server | 1 + 2 files changed, 2 insertions(+) (limited to 'extras/hs-test/docker') diff --git a/extras/hs-test/docker/Dockerfile.curl b/extras/hs-test/docker/Dockerfile.curl index 90f415f2990..fe9b4d917c7 100644 --- a/extras/hs-test/docker/Dockerfile.curl +++ b/extras/hs-test/docker/Dockerfile.curl @@ -7,6 +7,7 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* COPY script/build_curl.sh /build_curl.sh +RUN fallocate -l 10MB /tmp/testFile RUN apt-get update && apt-get install wget RUN /build_curl.sh diff --git a/extras/hs-test/docker/Dockerfile.nginx-server b/extras/hs-test/docker/Dockerfile.nginx-server index 08f428d6a4b..ecb8f590f89 100644 --- a/extras/hs-test/docker/Dockerfile.nginx-server +++ b/extras/hs-test/docker/Dockerfile.nginx-server @@ -11,5 +11,6 @@ COPY script/nginx_server_entrypoint.sh /usr/bin/nginx_server_entrypoint.sh COPY resources/nginx/html/index.html /usr/share/nginx/index.html RUN fallocate -l 10MB /usr/share/nginx/httpTestFile +RUN mkdir /usr/share/nginx/upload && chmod 777 /usr/share/nginx/upload ENTRYPOINT ["nginx_server_entrypoint.sh"] -- cgit 1.2.3-korg