Skip to content
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

bug: docker build failed with dashboard not found #1173

Closed
hoffer32 opened this issue Feb 28, 2020 · 2 comments
Closed

bug: docker build failed with dashboard not found #1173

hoffer32 opened this issue Feb 28, 2020 · 2 comments

Comments

@hoffer32
Copy link

Issue description

docker build -t apisix:0.8-alpine --build-arg APISIX_VERSION=0.8 -f alpine/Dockerfile alpine

Cloning into 'incubator-apisix'...
Warning: unmatched variable LUA_LIBDIR
make: Nothing to be done for 'default'.
install -d /usr/local/apisix/dashboard
cd `mktemp -d /tmp/apisix.XXXXXX` && \
	git clone https://github.com/iresty/apisix.git && \
	cd apisix && \
	git submodule update --init --recursive && \
	cp -r dashboard/* /usr/local/apisix/dashboard
Cloning into 'apisix'...
cp: can't stat 'dashboard/*': No such file or directory
make: *** [Makefile:102: install] Error 1

Error: Build error: Failed installing.
The command '/bin/sh -c cd /tmp 	&& luarocks install apisix-${APISIX_VERSION}-0.rockspec --tree=/usr/local/apisix/deps' returned a non-zero code: 1
@membphis
Copy link
Member

@moonming Do you have time to look at this?

@membphis
Copy link
Member

membphis commented Jul 1, 2020

you need to run git submodule init before you build the dashboard.

@membphis membphis closed this as completed Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants