summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/docker
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2024-09-06 15:30:59 +0200
committerFlorin Coras <florin.coras@gmail.com>2024-09-10 16:35:23 +0000
commit5b175eca2d6389bfb0c09839436df83cf8df334c (patch)
treedeccee366af3239f0d132f6a58aa8c88004b8ce9 /extras/hs-test/docker
parent6e129e3a4522f429fc6cee7f5bde2fde8082af83 (diff)
hs-test: upload via proxy tests
Type: test Change-Id: Id6b4e2348735081c827f814a814c976b601432ec Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'extras/hs-test/docker')
-rw-r--r--extras/hs-test/docker/Dockerfile.curl1
-rw-r--r--extras/hs-test/docker/Dockerfile.nginx-server1
2 files changed, 2 insertions, 0 deletions
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"]