You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/01/06 10:14:47 UTC

[GitHub] [incubator-apisix-docker] alexzhu0592 opened a new issue #34: docker-compose occurres error which is cause by no exist url

alexzhu0592 opened a new issue #34: docker-compose occurres error which is cause by no exist url
URL: https://github.com/apache/incubator-apisix-docker/issues/34
 
 
   > 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

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix-docker] alexzhu0592 commented on issue #34: docker-compose occurres error which is cause by no exist url

Posted by GitBox <gi...@apache.org>.
alexzhu0592 commented on issue #34: docker-compose occurres error which is cause by no exist url
URL: https://github.com/apache/incubator-apisix-docker/issues/34#issuecomment-571085295
 
 
   i change the url to _https://github.com/apache/incubator-apisix/tree/master/rockspec/apisix-${APISIX_VERSION}-0.rockspec_, and it works.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services