Attempt Details

Package: npm:firebase 7.24.0

Artifact: firebase-7.24.0.tgz

Status: Failed

Run ID: 2025-10-10T17:09:25Z

Started: 2025-10-10 19:33:41

Created: 2025-10-10 19:36:32

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

Duration: 2m52s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/firebase/firebase-js-sdk",
    "ref": "d5ce3bbc66a5de98936cf0ed932257b30a3abd18",
    "dir": "packages/firebase",
    "npm_version": "6.14.4",
    "node_version": "10.21.0",
    "command": "build",
    "registry_time": "2020-10-15T21:30:54.312Z",
    "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/firebase/firebase-js-sdk .
 git checkout --force 'd5ce3bbc66a5de98936cf0ed932257b30a3abd18'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v10.21.0/node-v10.21.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@6.14.4 -c 'cd packages/firebase && npm_config_registry=http://npm:2020-10-15T21:30:54Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@6.14.4 -c 'cd packages/firebase && npm config set unsafe-perm true && npm run build && npm pack'
 mkdir /out && cp /src/packages/firebase/firebase-7.24.0.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]