aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/docker/Dockerfile.curl
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/docker/Dockerfile.curl')
-rw-r--r--extras/hs-test/docker/Dockerfile.curl11
1 files changed, 9 insertions, 2 deletions
diff --git a/extras/hs-test/docker/Dockerfile.curl b/extras/hs-test/docker/Dockerfile.curl
index 81d15e86c82..0722068b2f7 100644
--- a/extras/hs-test/docker/Dockerfile.curl
+++ b/extras/hs-test/docker/Dockerfile.curl
@@ -1,7 +1,14 @@
-FROM hs-test/build
+ARG UBUNTU_VERSION
+
+FROM ubuntu:${UBUNTU_VERSION}
+
+RUN apt-get update \
+ && apt-get install -y xz-utils wget \
+ && rm -rf /var/lib/apt/lists/*
COPY script/build_curl.sh /build_curl.sh
-RUN apt-get update && apt-get install wget
+COPY resources/curl/* /tmp/
+RUN fallocate -l 10MB /tmp/testFile
RUN /build_curl.sh
CMD ["/bin/sh"]