Attempt Details

Package: npm:openai 3.3.0

Artifact: openai-3.3.0.tgz

Status: Success

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

Started: 2025-10-10 20:28:43

Created: 2025-10-10 20:32:01

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

Duration: 3m18s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/openai/openai-node",
    "ref": "dc821be3018c832650e21285bade265099f99efb",
    "dir": ".",
    "npm_version": "8.1.0",
    "node_version": "16.13.0",
    "command": "build",
    "registry_time": "2023-06-13T17:11:41.684Z",
    "prepack_remove_deps": true
  }
}

Full Message



    

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/openai/openai-node .
 git checkout --force 'dc821be3018c832650e21285bade265099f99efb'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v16.13.0/node-v16.13.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@8.1.0 -c 'npm_config_registry=http://npm:2023-06-13T17:11:41Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@8.1.0 -c 'npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/openai-3.3.0.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]