etherpad-lite icon indicating copy to clipboard operation
etherpad-lite copied to clipboard

Docker build issue on ARM64 (linux/arm64)

Open lucaguindani opened this issue 2 months ago • 3 comments

Docker build fails during pnpm install in the adminbuild stage on ARM64 architecture (linux/arm64) with exit code 1.

[adminbuild 5/6] RUN pnpm install ERROR: process "/bin/sh -c pnpm install" did not complete successfully: exit code: 1

To Reproduce Steps to reproduce the behavior:

  1. Clone the project (target 3.3.4 tag)
  2. Build the image on an ARM64 architecture docker build -t etherpad:test .

Expected behavior Build should finish and pnpm install should complete successfully.

lucaguindani avatar Sep 07 '26 12:09 lucaguindani

Adding ENV pnpm_config_pm_on_fail=ignore below FROM node:24-alpine AS adminbuild will allow the build to finish successfully.

lucaguindani avatar Sep 07 '26 13:09 lucaguindani

This was solved by https://github.com/ether/etherpad/commit/dc75fe4bc53545e815c5b19df338e15cdbd6465a, but still present in the 3.3.4 release.

@SamTV12345 is it possible to create a new release for the pnpm v12 upgrade ?

Many thanks !

lucaguindani avatar Sep 17 '26 06:09 lucaguindani

Release 3.3.5 solves this issue, thanks !

lucaguindani avatar Sep 17 '26 09:09 lucaguindani