Attempt Details

Package: npm:react-hook-form 7.65.0

Artifact: react-hook-form-7.65.0.tgz

Status: Failed

Run ID: deps-dev

Started: 2025-10-10 22:47:34

Created: 2025-10-10 22:49:18

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

Duration: 1m44s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/react-hook-form/react-hook-form",
    "ref": "1ebe316f71eb90ca6bf4c55c0881754f2d868ccf",
    "dir": ".",
    "npm_version": "9.6.4",
    "node_version": "20.0.0",
    "command": "build",
    "registry_time": "2025-10-10T22:43:28.298Z"
  }
}

Full Message

executing rebuild: executing rebuild: GCB build failed: 

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.19
RUN <<'EOF'
 set -eux
 wget https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20250428204534-b35098b3c7b7/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 '1ebe316f71eb90ca6bf4c55c0881754f2d868ccf'
 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-10-10T22:43:28Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@9.6.4 -c 'npm run build && npm pack'
 mkdir /out && cp /src/react-hook-form-7.65.0.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]