Attempt Details

Package: npm:react-hook-form 7.56.0

Artifact: react-hook-form-7.56.0.tgz

Status: Failed

Run ID: deps-dev

Started: 2025-04-27 07:39:04

Created: 2025-04-27 07:41:48

Finished: 0001-01-01 00:00:00

Duration: 2m44s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/react-hook-form/react-hook-form",
    "ref": "3a968fed139b2c3c08b01396f2592ddd26d8eb9c",
    "dir": ".",
    "npm_version": "9.6.4",
    "node_version": "20.0.0",
    "command": "build",
    "registry_time": "2025-04-20T09:26:31.821Z"
  }
}

Full Message

executing rebuild: rebuilding: rebuild failed: performing build: GCB build failed: 

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.19
RUN <<'EOF'
 set -eux
 wget https://google-rebuild-bootstrap-tools.storage.googleapis.com/v0.0.0-20250210190002-d5b4426b9c2d/timewarp
 chmod +x timewarp
 apk add git npm
EOF
RUN <<'EOF'
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 mkdir /src && cd /src
 git clone https://github.com/react-hook-form/react-hook-form .
 git checkout --force '3a968fed139b2c3c08b01396f2592ddd26d8eb9c'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v20.0.0/node-v20.0.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@9.6.4 -c 'npm_config_registry=http://npm:2025-04-20T09:26:31Z@localhost:8080 npm install --force'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@9.6.4 -c 'npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/react-hook-form-7.56.0.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]