diff --git a/Dockerfile b/Dockerfile index c49b039..9a17451 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,12 +5,14 @@ FROM ${builder_image} AS tests USER root RUN apt update && apt upgrade -y -o Dpkg::Options::="--force-confdef" RUN apt update && apt install -y --no-install-recommends \ + wget \ curl \ ca-certificates \ jq \ ruby-full \ && rm -rf /var/lib/apt/lists/* ADD assets/ /opt/resource/ +RUN wget "https://github.com/moparisthebest/static-curl/releases/download/v8.4.0/curl-amd64" -O /opt/resource/curl RUN chmod +x /opt/resource/* ADD . /resource WORKDIR /resource @@ -25,7 +27,7 @@ COPY --from=busybox:uclibc /bin/mkdir /bin/ COPY --from=busybox:uclibc /bin/sha256sum /bin/ COPY --from=busybox:uclibc /bin/sha1sum /bin/ COPY --from=stedolan/jq /usr/local/bin/jq /bin/ -COPY --from=curlimages/curl /usr/bin/curl /bin/ +COPY --from=tests /opt/resource/curl /bin/ ADD assets/ /opt/resource/ RUN chmod +x /opt/resource/*