Attempt Details

Package: npm:discord.js 13.17.1

Artifact: discord.js-13.17.1.tgz

Status: Success

Run ID: 2025-12-12T18:47:25Z

Started: 2025-12-13 00:26:27

Created: 2025-12-13 00:29:37

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

Duration: 3m10s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/discordjs/discord.js",
    "ref": "1e0603551573e7bab65b9f8c325081507849bdbb",
    "dir": ".",
    "npm_version": "8.19.4",
    "node_version": "16.20.2",
    "command": "",
    "registry_time": "2023-11-12T21:56:12.219Z"
  }
}

Full Message



    

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.21
RUN <<'EOF'
 set -eux
 wget https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20251211001310-499b5fb97512/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/discordjs/discord.js .
 git checkout --force '1e0603551573e7bab65b9f8c325081507849bdbb'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v16.20.2/node-v16.20.2-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@8.19.4 -c 'npm_config_registry=http://npm:2023-11-12T21:56:12Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@8.19.4 -c 'npm pack'
 mkdir /out && cp /src/discord.js-13.17.1.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]