Attempt Details

Package: npm:firebase 11.6.1-firebase-studio-sdk-integration.fe1264c00

Artifact: firebase-11.6.1-firebase-studio-sdk-integration.fe1264c00.tgz

Status: Failed

Run ID: deps-dev

Started: 2025-05-14 14:30:16

Created: 2025-05-14 14:34:18

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

Duration: 4m2s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/firebase/firebase-js-sdk",
    "ref": "fe1264c00e0985baa624c1eba2d18088ac089005",
    "dir": "packages/firebase",
    "npm_version": "10.9.0",
    "node_version": "22.10.0",
    "version_override": "11.6.1-firebase-studio-sdk-integration.fe1264c00",
    "command": "build",
    "registry_time": "2025-05-06T22:28:37.449Z",
    "prepack_remove_deps": true
  }
}

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-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 'fe1264c00e0985baa624c1eba2d18088ac089005'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v22.10.0/node-v22.10.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@10.9.0 -c 'cd packages/firebase && npm_config_registry=http://npm:2025-05-06T22:28:37Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 PATH=/usr/bin:/bin:/usr/local/bin npm version --prefix packages/firebase --no-git-tag-version 11.6.1-firebase-studio-sdk-integration.fe1264c00
 /usr/local/bin/npx --package=npm@10.9.0 -c 'cd packages/firebase && npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/packages/firebase/firebase-11.6.1-firebase-studio-sdk-integration.fe1264c00.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]