On Raspberry Pi, I got an error when I tried to set up ODK-X Sync Endpoint.
I referred to the instruction from https://docs.odk-x.org/sync-endpoint-manual-setup/
This is the command I ran:
$ mvn clean install
The error message is as below:
Failed to execute goal io.fabric8:docker-maven-plugin:0.34.1:build (start) on project sync-endpoint-docker-swarm: Unable to pull 'tomcat:8.5' : no matching manifest for linux/arm/v7 in the manifest list entries
How can I solve this problem?
The error is fairly clear:
tomcat:8.5, whichsync-endpointdepends on, does not provide a manifest for thearmv7architecture. You can see this on the page for tomcat's 8.5 tag, showing that it only provides images forlinux/amd64andlinux/arm64/v8.If you need to use that Dockerfile as is and cannot change the
tomcatversion used, you will need to use a device with a matching architecture. If you are able to modify the Dockerfile and are willing to use a different version oftomcat, it appears that there are other tags which do supportlinux/arm32/v7.