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

docker-compose occurres error which is cause by no exist url #34

Closed
zhjdotxmsme opened this issue Jan 6, 2020 · 3 comments
Closed

docker-compose occurres error which is cause by no exist url #34

zhjdotxmsme opened this issue Jan 6, 2020 · 3 comments
Labels

Comments

@zhjdotxmsme
Copy link

Error: Error fetching file: Failed downloading https://github.com/iresty/apisix/raw/master/rockspec/apisix-master-0.rockspec - apisix-master-0.rockspec
Service 'apisix' failed to build: The command '/bin/sh -c apk add --no-cache --virtual .builddeps automake autoconf libtool pkgconfig cmake git && luarocks install https://github.com/iresty/apisix/raw/master/rockspec/apisix-${APISIX_VERSION}-0.rockspec --tree=/usr/local/apisix/deps && cp /usr/local/apisix/deps/lib/luarocks/rocks-5.1/apisix/${APISIX_VERSION}-0/bin/apisix /usr/bin/ && bin='#! /usr/local/openresty/luajit/bin/luajit' && sed -i "1s@.*@$bin@" /usr/bin/apisix && apk del .builddeps' returned a non-zero code: 1
Failed to deploy 'Compose: example': docker-compose process finished with exit code 1

error occurres when excuting dockerfile which contains no exist url ([https://github.com/iresty/apisix/raw/master/rockspec/apisix-${APISIX_VERSION}-0.rockspec --tree=/usr/local/apisix/deps]) in blow place:

for APISIX
RUN apk add --no-cache --virtual .builddeps
automake
autoconf
libtool
pkgconfig
cmake
git
&& luarocks install https://github.com/iresty/apisix/raw/master/rockspec/apisix-${APISIX_VERSION}-0.rockspec --tree=/usr/local/apisix/deps
&& cp /usr/local/apisix/deps/lib/luarocks/rocks-5.1/apisix/${APISIX_VERSION}-0/bin/apisix /usr/bin/
&& bin='#! /usr/local/openresty/luajit/bin/luajit'
&& sed -i "1s@.*@$bin@" /usr/bin/apisix
&& apk del .builddeps

@zhjdotxmsme
Copy link
Author

Akayeshmantha pushed a commit to Akayeshmantha/incubator-apisix-docker that referenced this issue Mar 7, 2020
* doc: added doc.

* update

* added  more examples
@github-actions
Copy link

This issue has been marked as stale due to 30 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Oct 18, 2021
@github-actions
Copy link

github-actions bot commented Nov 1, 2021

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

@github-actions github-actions bot closed this as completed Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant