vmware / photon

Minimal Linux container host
https://vmware.github.io/photon
Other
3.03k stars 698 forks source link

Based on Photon 4.0 to build the redis image of arm64 architecture Run error: <jemalloc>: Unsupported system page size #1208

Open Jeremy-boo opened 3 years ago

Jeremy-boo commented 3 years ago

Basic server information: [root@localhost ~]# uname -a Linux localhost 4.19.90-17.5.ky10.aarch64 #1 SMP Fri Aug 7 13:35:33 CST 2020 aarch64 aarch64 aarch64 GNU/Linux [root@localhost ~]# uname -r 4.19.90-17.5.ky10.aarch64 [root@localhost ~]#

server pagesize: [root@localhost ~]# getconf PAGE_SIZE 65536

Run the redis image built based on photon 4.0 to report an error, image address: https://hub.docker.com/repository/docker/harborarmpro/redis-photon

Error Message:

: Unsupported system page size : Unsupported system page size
Jeremy-boo commented 3 years ago

The official redis image does not solve this problem from the source level. Instead, it adapts the dockerfile when building the image for different architectures. For specific modifications, please refer to this pr, pr address is https://github.com/docker-library/redis/pull/254