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 2021/11/24 06:40:35 UTC

[GitHub] [apisix-docker] farsking opened a new issue #248: occur docker build error via apisix-docker/all-in-one/apisix

farsking opened a new issue #248:
URL: https://github.com/apache/apisix-docker/issues/248


   (38/40) Installing libldapcpp (2.4.50-r2)
   (39/40) Installing openldap-dev (2.4.50-r2)
   (40/40) Installing .builddeps (20211124.062630)
   Executing busybox-1.31.1-r20.trigger
   OK: 366 MiB in 127 packages
   + luarocks install https://github.com/apache/apisix/blob/master/rockspec/apisix-master-0.rockspec '--tree=/usr/local/apisix/deps'
   
   Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-AfU5Ji/apisix-master-0.rockspec (Error loading **file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master-0-AfU5Ji/apisix-m..."]:7: unexpected symbol near '<')**
   The command '/bin/sh -c set -x     && (test "${ENABLE_PROXY}" != "true" || /bin/sed -i 's,http://dl-cdn.alpinelinux.org,https://mirrors.aliyun.com,g' /etc/apk/repositories)     && apk add --no-cache --virtual .builddeps     automake     autoconf     libtool     pkgconfig     cmake     git     pcre     pcre-dev     openldap-dev     && luarocks install https://github.com/apache/apisix/blob/master/rockspec/apisix-${APISIX_VERSION}-0.rockspec --tree=/usr/local/apisix/deps     && cp -v /usr/local/apisix/deps/lib/luarocks/rocks-5.1/apisix/${APISIX_VERSION}-0/bin/apisix /usr/bin/     && (if [ "$APISIX_VERSION" = "master" ] || [ "$APISIX_VERSION" \> "2.2" ]; then echo 'use shell ';else bin='#! /usr/local/openresty/luajit/bin/luajit\npackage.path = "/usr/local/apisix/?.lua;" .. package.path'; sed -i "1s@.*@$bin@" /usr/bin/apisix ; fi;)     && mv /usr/local/apisix/deps/share/lua/5.1/apisix /usr/local/apisix     && apk del .builddeps build-base make unzip' returned a non-zero code: 1
   ----------------------------------------------------------------------------------------
   I try to build images via docker command "docker build -t apache/apisix ." and failed , any helps for me pls


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] spacewander closed issue #248: occur docker build error via apisix-docker/all-in-one/apisix

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #248:
URL: https://github.com/apache/apisix-docker/issues/248


   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] spacewander commented on issue #248: occur docker build error via apisix-docker/all-in-one/apisix

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #248:
URL: https://github.com/apache/apisix-docker/issues/248#issuecomment-977615309


   We need to change https://github.com/apache/apisix-docker/blob/829d45559c303bea7edde5bebe9fcf4938071601/all-in-one/apisix/Dockerfile#L27 to https://github.com/apache/apisix-docker/blob/829d45559c303bea7edde5bebe9fcf4938071601/alpine/Dockerfile#L24
   
   PR is welcome!


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] mohitsaxenaknoldus commented on issue #248: occur docker build error via apisix-docker/all-in-one/apisix

Posted by GitBox <gi...@apache.org>.
mohitsaxenaknoldus commented on issue #248:
URL: https://github.com/apache/apisix-docker/issues/248#issuecomment-980185810


   @spacewander PR: https://github.com/apache/apisix-docker/pull/249


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org