Skip to content

Commit 08a9fb2

Browse files
skscursoragent
andcommitted
fix(aiden-runner): download release tarball with curl instead of wget
Alpine's wget 1.25 (musl) rejects the --fail flag, which broke the download_binary stage in CI. curl -fsSL provides equivalent fail-on-HTTP-error behavior and was validated with local buildx builds for linux/amd64 and linux/arm64. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent abaee4b commit 08a9fb2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

aiden-runner/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ ARG AIDEN_RUNNER_VERSION
44
ARG TARGETOS
55
ARG TARGETARCH
66

7-
# install wget
7+
# curl -f: Alpine's wget lacks --fail in this image
88
RUN apk update && \
9-
apk add --no-cache wget && \
9+
apk add --no-cache curl && \
1010
rm -rf /var/cache/apk/*
1111

1212
RUN URL="https://releases.stackgen.com/binaries/aios-remote/v${AIDEN_RUNNER_VERSION}/aiden-runner_${AIDEN_RUNNER_VERSION}_${TARGETOS}_${TARGETARCH}.tar.gz" && \
13-
wget --fail -O aiden-runner.tar.gz "$URL" || { echo "Error: failed to download aiden-runner from $URL" >&2; exit 1; } && \
13+
curl -fsSL -o aiden-runner.tar.gz "$URL" || { echo "Error: failed to download aiden-runner from $URL" >&2; exit 1; } && \
1414
tar -xzf aiden-runner.tar.gz && \
1515
test -f aiden-runner || { echo "Error: extracted archive does not contain aiden-runner binary" >&2; exit 1; } && \
1616
mv aiden-runner /tmp/aiden-runner && \

0 commit comments

Comments
 (0)