aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/docker/Dockerfile.curl
blob: 8e9b579aad45c6fe1c0b24df6a68e4b4296260a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ARG UBUNTU_VERSION=22.04

FROM ubuntu:${UBUNTU_VERSION}

ARG TARGETARCH

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
COPY resources/curl/* /tmp/
RUN fallocate -l 10MB /tmp/testFile
RUN /build_curl.sh

CMD ["/bin/sh"]