Attempt Details

Package: npm:ts-proto 2.23.3

Artifact: ts-proto-2.23.3.tgz

Status: Failed

Run ID: deps-dev

Started: 2026-11-20 02:16:51

Created: 2026-11-20 02:16:51

Finished: 2026-11-20 02:20:56

Duration: 4m5s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/stephenh/ts-proto",
    "ref": "278a62866b4922bb70ac350a99631c5b1ca6e2a5",
    "dir": "",
    "npm_version": "11.7.0",
    "node_version": "23.0.0",
    "command": "build",
    "registry_time": "2026-11-20T02:14:49.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-20T02:14:49Z@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 '278a62866b4922bb70ac350a99631c5b1ca6e2a5'
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-20T02:14:49Z@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.3.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]