Content
View differences
Updated by Markus Kahl about 1 year ago
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 there is still nothing stopping you will have to build from simply building the image yourself on a ppc64 machine, be it native or emulated. machine. This involves some extra steps because the asset compilation is not supported at all under ppc64le. 3 steps.
Attached is 1. Check out the [build-openproject-ppc64le.sh](https://community.openproject.org/attachments/343752/build-openproject-ppc64le.sh) script which takes care of building OpenProject in tag you would like to build, e.g.
1. `git checkout v15.3.2`
2. Build the given version for ppc64le if run on a ppc64le machine. An example for using docker image, e.g.
1. `docker build --build-arg BIM_SUPPORT=false -t mydockeruser/myopenproject:15.3.2-ppc64le -f docker/prod/Dockerfile .`
3. Push 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
```
image, e.g.
1. `docker push mydockeruser/myopenproject:15.3.2-ppc64le`
### 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
* 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
Attached is
1. `git checkout v15.3.2`
2. Build
1. `docker build --build-arg BIM_SUPPORT=false -t mydockeruser/myopenproject:15.3.2-ppc64le -f docker/prod/Dockerfile .`
3. Push
```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
```
1. `docker push mydockeruser/myopenproject:15.3.2-ppc64le`
* [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