Skip to content

fix(docker): retry apk add on transient Alpine mirror failures#185

Merged
sacha-l merged 1 commit into
developfrom
fix/dockerfile-apk-retry
Jun 17, 2026
Merged

fix(docker): retry apk add on transient Alpine mirror failures#185
sacha-l merged 1 commit into
developfrom
fix/dockerfile-apk-retry

Conversation

@sacha-l

@sacha-l sacha-l commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

A flaky Alpine package mirror made apk add --no-cache python3 make g++ fail with exit code 15, breaking a Railway deploy (which stranded a RESEND_FROM_EMAIL env change → all email stuck failing on the old build). Retries the apk step up to 5x with backoff so a transient CDN blip can't fail the build.

Infra-only; no app code touched. Takes effect on the next build after merge+deploy. The immediate fix for the stuck deploy is a Railway Redeploy.

A flaky Alpine CDN made 'apk add python3 make g++' fail with exit 15,
breaking a Railway deploy (and stranding an env-var change). Retry up to
5x with backoff so a transient mirror blip can't fail the build.
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stadium Ready Ready Preview, Comment Jun 17, 2026 8:07am

@sacha-l sacha-l merged commit 1da4db8 into develop Jun 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant