File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,18 @@ RUN bun run --cwd packages/api build
7474RUN bun scripts/skiller-apply-docker-git-patches.mjs
7575RUN test -f third_party/skiller-desktop-skills-manager/package.json \
7676 && cd third_party/skiller-desktop-skills-manager \
77- && bun install --frozen-lockfile --silent \
77+ && for attempt in 1 2 3 4 5; do \
78+ if bun install --frozen-lockfile --silent; then \
79+ break; \
80+ fi; \
81+ if [ "$attempt" = "5" ]; then \
82+ echo "skiller bun install failed after retries" >&2; \
83+ exit 1; \
84+ fi; \
85+ echo "skiller bun install attempt ${attempt} failed; retrying..." >&2; \
86+ rm -rf /root/.bun/install/cache node_modules; \
87+ sleep $((attempt * 2)); \
88+ done \
7889 && bun run build \
7990 && touch out/.docker-git-browser-folder-picker.patch \
8091 && mkdir -p out/preload \
You can’t perform that action at this time.
0 commit comments