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

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.
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  import { NodeContext, NodeRuntime } from "@effect/platform-node";
2
3
  import { Either, Effect, pipe, Data, Match, Option, Schedule, Duration, Fiber as Fiber$1 } from "effect";
3
4
  import * as FileSystem from "@effect/platform/FileSystem";
@@ -3430,7 +3431,7 @@ RUN printf "export NVM_DIR=/usr/local/nvm\\n[ -s /usr/local/nvm/nvm.sh ] && . /u
3430
3431
  const renderDockerfileBunPrelude = (config) => `# Tooling: pnpm + Codex CLI + oh-my-opencode (bun) + Claude Code CLI (npm)
3431
3432
  RUN corepack enable && corepack prepare pnpm@${config.pnpmVersion} --activate
3432
3433
  ENV TERM=xterm-256color
3433
- RUN curl -fsSL https://bun.sh/install | BUN_INSTALL=/usr/local/bun bash
3434
+ 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
3435
  RUN ln -sf /usr/local/bun/bin/bun /usr/local/bin/bun
3435
3436
  RUN BUN_INSTALL=/usr/local/bun script -q -e -c "bun add -g @openai/codex@latest oh-my-opencode@latest" /dev/null
3436
3437
  RUN ln -sf /usr/local/bun/bin/codex /usr/local/bin/codex
@@ -5654,7 +5655,19 @@ RUN apt-get update \
5654
5655
  && rm -rf /var/lib/apt/lists/*
5655
5656
  ENV BUN_INSTALL=/usr/local/bun
5656
5657
  ENV PATH="/usr/local/bun/bin:$PATH"
5657
- RUN curl -fsSL https://bun.sh/install | bash
5658
+ RUN set -eu; \
5659
+ for attempt in 1 2 3 4 5; do \
5660
+ if curl -fsSL --retry 5 --retry-all-errors --retry-delay 2 https://bun.sh/install -o /tmp/bun-install.sh \
5661
+ && BUN_INSTALL=/usr/local/bun bash /tmp/bun-install.sh; then \
5662
+ rm -f /tmp/bun-install.sh; \
5663
+ exit 0; \
5664
+ fi; \
5665
+ echo "bun install attempt \${attempt} failed; retrying..." >&2; \
5666
+ rm -f /tmp/bun-install.sh; \
5667
+ sleep $((attempt * 2)); \
5668
+ done; \
5669
+ echo "bun install failed after retries" >&2; \
5670
+ exit 1
5658
5671
  RUN ln -sf /usr/local/bun/bin/bun /usr/local/bin/bun
5659
5672
  RUN script -q -e -c "bun add -g @openai/codex@latest" /dev/null
5660
5673
  RUN ln -sf /usr/local/bun/bin/codex /usr/local/bin/codex