diff --git a/Dockerfile b/Dockerfile index 1f92393..2af7c89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ FROM ubuntu:jammy-20240427 as build -RUN apt-get update -y && apt-get install -y --no-install-recommends gcc=4:11.2.0-1ubuntu1 build-essential=12.9ubuntu3 wget=1.21.2-2ubuntu1 +RUN apt-get update -y && apt-get install -y --no-install-recommends gcc=4:11.2.0-1ubuntu1 build-essential=12.9ubuntu3 curl=7.81.0-1ubuntu1.16 ca-certificates=20230311ubuntu0.22.04.1 WORKDIR /app -RUN wget -q https://github.com/ColinIanKing/stress-ng/archive/refs/tags/V0.17.08.tar.gz && \ - tar xavf V0.17.08.tar.gz && \ - cd stress-ng-0.17.08 && \ - make && make install +RUN curl -OL https://github.com/ColinIanKing/stress-ng/archive/refs/tags/V0.17.08.tar.gz +RUN tar xavf V0.17.08.tar.gz +RUN cd stress-ng-0.17.08 && make && make install FROM ubuntu:jammy-20240427