Attempt Details

Package: npm:ts-proto 2.23.6

Artifact: ts-proto-2.23.6.tgz

Status: Failed

Run ID: deps-dev

Started: 2026-11-22 17:33:30

Created: 2026-11-22 17:33:30

Finished: 2026-11-22 17:39:50

Duration: 6m20s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/stephenh/ts-proto",
    "ref": "179c4ca0b2b0c4397e9e0d2a3c6d1449de0b9b49",
    "dir": "",
    "npm_version": "11.7.0",
    "node_version": "23.0.0",
    "command": "build",
    "registry_time": "2026-11-22T17:29:58.527Z"
  }
}

Full Message

executing rebuild: executing rebuild: build failed in image build phase with exit code 1; the failing command was `/usr/local/bin/npx '--package=npm@11.7.0' -c 'npm_config_registry=http://npm:2026-11-22T17:29:58Z@localhost:8080 npm install --force --no-audit --replace-registry-host=never --allow-remote=all'`

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.21
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 apk add curl
 curl -f https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20261118191906-6a97fe1f62ab/timewarp > timewarp
 chmod +x timewarp
 apk add git npm
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 mkdir /src && cd /src
 git clone https://github.com/stephenh/ts-proto .
 git checkout --force '179c4ca0b2b0c4397e9e0d2a3c6d1449de0b9b49'
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 cd /src
 wget -O - https://unofficial-builds.nodejs.org/download/release/v23.0.0/node-v23.0.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@11.7.0 -c 'npm_config_registry=http://npm:2026-11-22T17:29:58Z@localhost:8080 npm install --force --no-audit --replace-registry-host=never --allow-remote=all'
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@11.7.0 -c 'npm run build && npm pack'
 mkdir /out && cp /src/ts-proto-2.23.6.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]