Attempt Details

Package: npm:tailwindcss 4.1.4

Artifact: tailwindcss-4.1.4.tgz

Status: Failed

Run ID: deps-dev

Started: 2025-04-21 14:32:22

Created: 2025-04-21 14:34:26

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

Duration: 2m4s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/tailwindlabs/tailwindcss",
    "ref": "25539e3533849d6d3d09942bbd18421fb5197008",
    "dir": "packages/tailwindcss",
    "npm_version": "10.8.2",
    "node_version": "21.0.0",
    "command": "build",
    "registry_time": "2025-04-14T17:25:43.664Z"
  }
}

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-20250210190002-d5b4426b9c2d/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/tailwindlabs/tailwindcss .
 git checkout --force '25539e3533849d6d3d09942bbd18421fb5197008'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v21.0.0/node-v21.0.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@10.8.2 -c 'cd packages/tailwindcss && npm_config_registry=http://npm:2025-04-14T17:25:43Z@localhost:8080 npm install --force'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@10.8.2 -c 'cd packages/tailwindcss && npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/packages/tailwindcss/tailwindcss-4.1.4.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]