Attempt Details

Package: npm:react-hook-form 5.7.2

Artifact: react-hook-form-5.7.2.tgz

Status: Failed

Run ID: 2025-12-05T00:26:00Z

Started: 2025-12-05 00:51:48

Created: 2025-12-05 00:54:31

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

Duration: 2m43s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/react-hook-form/react-hook-form",
    "ref": "8bfbc059573f2411208a87f44446e2cb0a24d78a",
    "dir": ".",
    "npm_version": "6.13.4",
    "node_version": "12.16.1",
    "command": "build",
    "registry_time": "2020-05-12T08:27:12.598Z",
    "prepack_remove_deps": true,
    "keep_root": true
  }
}

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 '8bfbc059573f2411208a87f44446e2cb0a24d78a'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v12.16.1/node-v12.16.1-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@6.13.4 -c 'npm_config_registry=http://npm:2020-05-12T08:27:12Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@6.13.4 -c 'npm config set unsafe-perm true && npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/react-hook-form-5.7.2.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]