Matus Fabian | 8792e5c | 2024-08-14 12:38:20 +0200 | [diff] [blame] | 1 | ARG UBUNTU_VERSION |
| 2 | |
| 3 | FROM ubuntu:${UBUNTU_VERSION} |
| 4 | |
| 5 | RUN apt-get update \ |
Matus Fabian | 80ae7e5 | 2024-11-14 10:56:19 +0100 | [diff] [blame] | 6 | && apt-get install -y xz-utils wget \ |
Matus Fabian | 8792e5c | 2024-08-14 12:38:20 +0200 | [diff] [blame] | 7 | && rm -rf /var/lib/apt/lists/* |
Filip Tehlar | 31eaea9 | 2023-06-15 10:06:57 +0200 | [diff] [blame] | 8 | |
| 9 | COPY script/build_curl.sh /build_curl.sh |
Matus Fabian | 05f7137 | 2024-09-20 13:25:39 +0200 | [diff] [blame] | 10 | COPY resources/curl/* /tmp/ |
Matus Fabian | 5b175ec | 2024-09-06 15:30:59 +0200 | [diff] [blame] | 11 | RUN fallocate -l 10MB /tmp/testFile |
Filip Tehlar | 31eaea9 | 2023-06-15 10:06:57 +0200 | [diff] [blame] | 12 | RUN /build_curl.sh |
| 13 | |
| 14 | CMD ["/bin/sh"] |