myesn opened a new issue, #3166:
URL: https://github.com/apache/incubator-shenyu/issues/3166

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   Docker-Compose file:
   
   
[master/shenyu-dist/shenyu-docker-compose-dist/src/main/resources/stand-alone-mysql/docker-compose.yaml](https://github.com/apache/incubator-shenyu/blob/master/shenyu-dist/shenyu-docker-compose-dist/src/main/resources/stand-alone-mysql/docker-compose.yaml)
   
   `shenyu-admin` Docker file:
   
[master/shenyu-dist/shenyu-admin-dist/Dockerfile](https://github.com/apache/incubator-shenyu/blob/master/shenyu-dist/shenyu-admin-dist/Dockerfile)
   
   `shenyu-bootstrap` Docker file:
   
[master/shenyu-dist/shenyu-bootstrap-dist/Dockerfile](https://github.com/apache/incubator-shenyu/blob/master/shenyu-dist/shenyu-bootstrap-dist/Dockerfile)
   
   I noticed that `shenyu-admin` and `shenyu-bootstrap` are both built on the  
`openjdk:8-jre-alpine` image, but this image does not support the arm64 CPU 
architecture of the Raspberry Pi 4 Model B, which prevents the `shenyu` 
services from running successfully.
   
   The `openjdk:8-jre-alpine` image does not support the arm64 CPU architecture:
   
![image](https://user-images.githubusercontent.com/18598579/161221814-589af2cb-2575-43a0-b354-993782d9b4da.png)
   
   ### Expected Behavior
   
   Make it work, thanks.
   
   ### Steps To Reproduce
   
   An error occurs after executing the following command:
   ```bash
   curl 
https://raw.githubusercontent.com/apache/incubator-shenyu/master/shenyu-dist/shenyu-docker-compose-dist/src/main/resources/install.sh
 | bash -s master mysql
   ```
   
   ### Environment
   
   ```markdown
   ShenYu version(s): 2.4.2
   ```
   
   
   ### Debug logs
   
   ```bash
   ubuntu@ubuntu:~/apache-shenyu/shenyu-master$ docker-compose ps
         Name                    Command                  State                 
       Ports
   
-----------------------------------------------------------------------------------------------------------
   db                 /usr/local/bin/docker-entr ...   Up (healthy)   
0.0.0.0:3310->3306/tcp,:::3310->3306/tcp
   shenyu-admin       /bin/sh entrypoint.sh            Exit 1
   shenyu-bootstrap   /bin/sh entrypoint.sh            Exit 1
   ubuntu@ubuntu:~/apache-shenyu/shenyu-master$ docker-compose logs -f 
shenyu-admin
   Attaching to shenyu-admin
   shenyu-admin        | standard_init_linux.go:228: exec user process caused: 
exec format error
   shenyu-admin        | standard_init_linux.go:228: exec user process caused: 
exec format error
   shenyu-admin exited with code 1
   ubuntu@ubuntu:~/apache-shenyu/shenyu-master$ docker-compose logs -f 
shenyu-bootstrap
   Attaching to shenyu-bootstrap
   shenyu-bootstrap    | standard_init_linux.go:228: exec user process caused: 
exec format error
   shenyu-bootstrap    | standard_init_linux.go:228: exec user process caused: 
exec format error
   shenyu-bootstrap exited with code 1
   ```
   
   ### Anything else?
   
   Using the `arm64v8/openjdk:8-jre` image in our project can run 
successfully(I'm actually using `arm64v8/openjdk:8` 😂).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to