Attempt Details

Package: npm:firebase 8.10.1

Artifact: firebase-8.10.1.tgz

Status: Failed

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

Started: 2025-12-05 02:15:17

Created: 2025-12-05 02:18:21

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

Duration: 3m4s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/firebase/firebase-js-sdk",
    "ref": "26f9303669b301c10f3e7cd2e1002c200f4cf9a5",
    "dir": "packages/firebase",
    "npm_version": "6.14.13",
    "node_version": "12.22.3",
    "command": "build",
    "registry_time": "2022-01-28T20:18:31.226Z",
    "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/firebase/firebase-js-sdk .
 git checkout --force '26f9303669b301c10f3e7cd2e1002c200f4cf9a5'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v12.22.3/node-v12.22.3-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@6.14.13 -c 'cd packages/firebase && npm_config_registry=http://npm:2022-01-28T20:18:31Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@6.14.13 -c 'cd packages/firebase && npm config set unsafe-perm true && npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/packages/firebase/firebase-8.10.1.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]