Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion scripts/build-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ say "work dir: $WORK"

# ----------------------------------------------------------------------------
say "[1/5] pulling + creating container..."
docker pull -q "$IMAGE"
# Skip the registry pull when the image already exists locally — e.g. a
# recipe-built wrapped image (coding-agent tags one as
# forkd-coding-agent:tmp-$$). Pulling such a local-only tag forces a
# needless registry round-trip that 429s behind a throttled mirror and
# aborts the build.
docker image inspect "$IMAGE" >/dev/null 2>&1 || docker pull -q "$IMAGE"
docker create --name "$CONTAINER" "$IMAGE" /bin/true >/dev/null

# ----------------------------------------------------------------------------
Expand Down
Loading