File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,14 @@ FROM ${builder_image} AS tests
55USER root
66RUN apt update && apt upgrade -y -o Dpkg::Options::="--force-confdef"
77RUN apt update && apt install -y --no-install-recommends \
8+ wget \
89 curl \
910 ca-certificates \
1011 jq \
1112 ruby-full \
1213 && rm -rf /var/lib/apt/lists/*
1314ADD assets/ /opt/resource/
15+ RUN wget "https://github.com/moparisthebest/static-curl/releases/download/v8.4.0/curl-amd64" -O /opt/resource/curl
1416RUN chmod +x /opt/resource/*
1517ADD . /resource
1618WORKDIR /resource
@@ -25,7 +27,7 @@ COPY --from=busybox:uclibc /bin/mkdir /bin/
2527COPY --from=busybox:uclibc /bin/sha256sum /bin/
2628COPY --from=busybox:uclibc /bin/sha1sum /bin/
2729COPY --from=stedolan/jq /usr/local/bin/jq /bin/
28- COPY --from=curlimages/curl /usr/bin /curl /bin/
30+ COPY --from=tests /opt/resource /curl /bin/
2931
3032ADD assets/ /opt/resource/
3133RUN chmod +x /opt/resource/*
You can’t perform that action at this time.
0 commit comments