Abd-elr4hman opened a new issue, #2926:
URL: https://github.com/apache/apisix-dashboard/issues/2926

   ### Issue description
   
   I am following the [Rebuild Docker 
image](https://github.com/apache/apisix-dashboard/blob/master/docs/en/latest/deploy-with-docker.md)
 from docs to build the apisix dashboard image.
   
   I made sure I have the prerequisites installed:
   - docker
   - etcd 3.4.0 + 
   
   when i run the command:
   ```docker build -t apisix-dashboard:dev.```
   i get the error message:
   ```ERROR: failed to solve: process "/bin/sh -c if [ \"$ENABLE_PROXY\" = 
\"true\" ] ; then yarn config set registry https://registry.npmmirror.com/ ; fi 
    && yarn install     && yarn build" did not complete successfully: exit 
code: 1```
   
   
   ### Expected behavior
   
   for the docker image to finish building.
   
   ### How to Reproduce
   
   1. clone the apisix-dashboard repo:
   ```git clone https://github.com/apache/apisix-dashboard.git```
   2. cd into apisix-dashboard
   ```cd apisix-dashboard```
   3. run the command:
   ```docker build -t apisix-dashboard:dev .```
   
   ### Screenshots
   
   <img width="1217" alt="Screenshot 2024-02-07 at 1 55 53 PM" 
src="https://github.com/apache/apisix-dashboard/assets/87248009/a84a81e6-838e-467a-9fd2-59fce0baf522";>
   <img width="1409" alt="Screenshot 2024-02-07 at 1 46 55 PM" 
src="https://github.com/apache/apisix-dashboard/assets/87248009/a37abd85-7838-43e3-81cd-ca276e5f145f";>
   
   
   
   ### Environment
   
   - OS (cmd: `uname -a`): macOS ventura 13.0.1
   - etcd version, if have (cmd: run `etcd --version`): 3.5.12
   
   
   
   ### Additional context
   
   _No response_


-- 
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