Skip to content

Commit 8b38121

Browse files
authored
Removed docker build script and moved it into RUN commands
1 parent 9165e47 commit 8b38121

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile.release

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ RUN chmod +x /go/bin/minio
2727
RUN curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc -o /go/bin/mc && \
2828
chmod +x /go/bin/mc
2929

30-
COPY dockerscripts/download-static-curl.sh /build/download-static-curl
31-
RUN chmod +x /build/download-static-curl && \
32-
/build/download-static-curl
30+
RUN curl -f -L -s -q https://github.com/moparisthebest/static-curl/releases/latest/download/curl-amd64 -o /go/bin/curl
31+
RUN chmod +x /go/bin/curl
3332

3433
FROM registry.access.redhat.com/ubi9/ubi-micro:latest
3534

0 commit comments

Comments
 (0)