1. [scott@sob-desktop]/tmp/family-tasks% sudo docker build -t myapp .
  2. DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
  3. Install the buildx component to build images with BuildKit:
  4. https://docs.docker.com/go/buildx/
  5. Sending build context to Docker daemon 424.4kB
  6. Step 1/25 : FROM node:18-alpine AS base
  7. ---> 73088e107431
  8. Step 2/25 : FROM base AS deps
  9. ---> 73088e107431
  10. Step 3/25 : RUN apk add --no-cache libc6-compat gcompat
  11. ---> Running in c2fa654cb0a6
  12. fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
  13. fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
  14. (1/3) Installing musl-obstack (1.2.3-r2)
  15. (2/3) Installing libucontext (1.2-r3)
  16. (3/3) Installing gcompat (1.1.0-r4)
  17. OK: 11 MiB in 19 packages
  18. Removing intermediate container c2fa654cb0a6
  19. ---> f6967ca8d606
  20. Step 4/25 : WORKDIR /app
  21. ---> Running in 4d5be8bffc69
  22. Removing intermediate container 4d5be8bffc69
  23. ---> 465b1d6d9a29
  24. Step 5/25 : COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
  25. ---> 594db68f9096
  26. Step 6/25 : RUN if [ -f yarn.lock ]; then yarn --frozen-lockfile; elif [ -f package-lock.json ]; then npm ci; elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; else echo "Lockfile not found." && exit 1; fi
  27. ---> Running in c364c106829a
  28. npm notice
  29. npm notice New minor version of npm available! 10.7.0 -> 10.8.2
  30. npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2
  31. npm notice To update run: npm install -g [email protected]
  32. npm notice
  33. npm error code 127
  34. npm error path /app/node_modules/@prisma/client
  35. npm error command failed
  36. npm error command sh -c node scripts/postinstall.js
  37. npm error Error relocating /app/node_modules/node/bin/node: fcntl64: symbol not found
  38. npm error A complete log of this run can be found in: /root/.npm/_logs/2024-07-18T22_06_33_643Z-debug-0.log
  39. The command '/bin/sh -c if [ -f yarn.lock ]; then yarn --frozen-lockfile; elif [ -f package-lock.json ]; then npm ci; elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; else echo "Lockfile not found." && exit 1; fi' returned a non-zero code: 127