@prover-coder-ai/docker-git 1.0.24 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3430,7 +3430,7 @@ RUN printf "export NVM_DIR=/usr/local/nvm\\n[ -s /usr/local/nvm/nvm.sh ] && . /u
3430
3430
  const renderDockerfileBunPrelude = (config) => `# Tooling: pnpm + Codex CLI + oh-my-opencode (bun) + Claude Code CLI (npm)
3431
3431
  RUN corepack enable && corepack prepare pnpm@${config.pnpmVersion} --activate
3432
3432
  ENV TERM=xterm-256color
3433
- RUN curl -fsSL https://bun.sh/install | BUN_INSTALL=/usr/local/bun bash
3433
+ RUN set -eu; for attempt in 1 2 3 4 5; do if curl -fsSL --retry 5 --retry-all-errors --retry-delay 2 https://bun.sh/install -o /tmp/bun-install.sh && BUN_INSTALL=/usr/local/bun bash /tmp/bun-install.sh; then rm -f /tmp/bun-install.sh; exit 0; fi; echo "bun install attempt \${attempt} failed; retrying..." >&2; rm -f /tmp/bun-install.sh; sleep $((attempt * 2)); done; echo "bun install failed after retries" >&2; exit 1
3434
3434
  RUN ln -sf /usr/local/bun/bin/bun /usr/local/bin/bun
3435
3435
  RUN BUN_INSTALL=/usr/local/bun script -q -e -c "bun add -g @openai/codex@latest oh-my-opencode@latest" /dev/null
3436
3436
  RUN ln -sf /usr/local/bun/bin/codex /usr/local/bin/codex
@@ -5654,7 +5654,19 @@ RUN apt-get update \
5654
5654
  && rm -rf /var/lib/apt/lists/*
5655
5655
  ENV BUN_INSTALL=/usr/local/bun
5656
5656
  ENV PATH="/usr/local/bun/bin:$PATH"
5657
- RUN curl -fsSL https://bun.sh/install | bash
5657
+ RUN set -eu; \
5658
+ for attempt in 1 2 3 4 5; do \
5659
+ if curl -fsSL --retry 5 --retry-all-errors --retry-delay 2 https://bun.sh/install -o /tmp/bun-install.sh \
5660
+ && BUN_INSTALL=/usr/local/bun bash /tmp/bun-install.sh; then \
5661
+ rm -f /tmp/bun-install.sh; \
5662
+ exit 0; \
5663
+ fi; \
5664
+ echo "bun install attempt \${attempt} failed; retrying..." >&2; \
5665
+ rm -f /tmp/bun-install.sh; \
5666
+ sleep $((attempt * 2)); \
5667
+ done; \
5668
+ echo "bun install failed after retries" >&2; \
5669
+ exit 1
5658
5670
  RUN ln -sf /usr/local/bun/bin/bun /usr/local/bin/bun
5659
5671
  RUN script -q -e -c "bun add -g @openai/codex@latest" /dev/null
5660
5672
  RUN ln -sf /usr/local/bun/bin/codex /usr/local/bin/codex