-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apisix-dashboard DockerFile build fail #2926
Comments
@Abd-elr4hman Could you give us more error log? |
|
@zll600 Any idea how to get around this? |
@bravonaut I think this problem should be fixed by #2918. So could you use https://github.com/apache/apisix-dashboard/blob/master/Dockerfile to have a try? |
@Abd-elr4hman I can not reproduce your problem.
|
@zll600 using the dockerfile you linked, both with proxy on or off, i am now getting the exact same output as @Abd-elr4hman Following the build more closely, I cannot figure out what exactly is causing the issue, but it is definitely in the build step of the frontend. I've also managed to build the frontend with the same version of node and yarn as defined in the dockerfile in an attempt to find the source of the problem. Tying into what I said earlier, I was wrongfully referring to the all-in-one folder of apisix-docker, but, assuming the docker build works fine, what is the reason that a patch has not been released? There was clearly an issue when building a docker image with the dockerfile in 3.0.1 vs current master. |
@bravonaut I fix a build problem in master. It is not backport to release/3.0 #2918 |
im following @Abd-elr4hman but instead i get this error: |
Issue description
I am following the Rebuild Docker image from docs to build the apisix dashboard image.
I made sure I have the prerequisites installed:
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
git clone https://github.com/apache/apisix-dashboard.git
cd apisix-dashboard
docker build -t apisix-dashboard:dev .
Screenshots
Environment
uname -a
): macOS ventura 13.0.1etcd --version
): 3.5.12Additional context
No response
The text was updated successfully, but these errors were encountered: