# Code maintenance OP-16733 - [docker] Remove support for ppc64le

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-16733

## OPEN POINTS

_No work packages_

## Subtasks

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Designer |  |
| Developers |  |
| Requires doc change | Yes |
| Date |  |
| Priority | Medium |
| Target versions | 15.4.0 |
| Sprint | 15.4.0 |
| Backlog bucket |  |
| Module |  |
| Accessibility | No |
| List |  |
| Labels |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |
| Remaining work |  |

## Description

We have been offering docker builds for the following architectures:

  - amd64

  - arm64

  - ppc64le

Since we do not have access to a ppc64-based github or self-hosted runner, we have to rely on QEMU emulation in the github actions. This has failed repeatedly in the past few releases due to segfaults the cause of which we can't find. We have put in considerable effort trying to keep this running nontheless, but it keeps causing disproportionate maintenance effort.

Without a native runner it is therefore not practical to keep supporting this.

We shall remove support for ppc64le until further notice.

### Notes

  - github runners do support ppc64 since they are based on dotnet which does not seem to be supported on ppc64le

  - so even with our own ppc64 server this issue remains because it can't be used as a runner as it stands

### Info for users

If you want to use OpenProject on ppc64le you will have to build the image yourself on a ppc64 machine, be it native or emulated. This involves some extra steps because the asset compilation is not supported at all under ppc64le.

Attached is the [build-openproject-ppc64le.sh](https://community.openproject.org/attachments/343752/build-openproject-ppc64le.sh) script which takes care of building OpenProject in the given version for ppc64le if run on a ppc64le machine. An example for using the script is the following.

``` bash
git clone https://github.com/opf/openproject.git
cd openproject
curl -L https://community.openproject.org/attachments/343752/build-openproject-ppc64le.sh > ./build-openproject-ppc64le.sh
bash build-openproject-ppc64le.sh 15.4.0 mydockerorg/myopenprojectrepo
```

### Checklist

- [x] remove ppc64le from build matrix
- [x] remove custom vendor bundle cache for ppc64 in [bundle-install.sh](https://github.com/opf/openproject/blob/dev/docker/prod/setup/bundle-install.sh#L6-L12)
- [x] update [docs](https://www.openproject.org/docs/installation-and-operations/installation/docker/#supported-architectures) to no longer include the architecture
