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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to