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/09/10 02:03:01 UTC
[GitHub] [apisix-docker] 18300618319 opened a new issue #220: apisix构建镜像,在镜像内编译时老是失败
18300618319 opened a new issue #220:
URL: https://github.com/apache/apisix-docker/issues/220
#11 68.07 Turn off this advice by setting config variable advice.detachedHead to false
#11 68.07
#11 68.10 Missing dependencies for lua-resty-healthcheck-api7 2.2.0-0:
#11 68.10 lua-resty-worker-events 1.0.0 (not installed)
#11 68.10
#11 68.10 lua-resty-healthcheck-api7 2.2.0-0 depends on lua-resty-worker-events 1.0.0 (not installed)
#11 68.10 Installing https://luarocks.cn/lua-resty-worker-events-1.0.0-1.src.rock
#11 69.64
#11 69.66 lua-resty-worker-events 1.0.0-1 is now installed in /apisix/deps (license: Apache 2.0)
#11 69.66
#11 69.70 lua-resty-healthcheck-api7 2.2.0-0 is now installed in /apisix/deps (license: Apache 2.0)
#11 69.70
#11 69.70 apisix master-0 depends on lua-resty-jwt 0.2.0 (not installed)
#11 69.70 Installing https://luarocks.cn/lua-resty-jwt-0.2.0-0.src.rock
#11 70.48
#11 70.48 lua-resty-jwt 0.2.0-0 depends on lua >= 5.1 (5.1-1 provided by VM)
#11 70.52 lua-resty-jwt 0.2.0-0 is now installed in /apisix/deps (license: Apache License Version 2)
#11 70.52
#11 70.52 apisix master-0 depends on lua-resty-hmac-ffi 0.05 (not installed)
#11 70.52 Installing https://luarocks.cn/lua-resty-hmac-ffi-0.05-0.rockspec
#11 71.45 Cloning into 'lua-resty-hmac'...
#11 73.57 Note: switching to 'd3c44a0cd804c496e1f2d38275a583a1d3caa3c6'.
#11 73.57
#11 73.57 You are in 'detached HEAD' state. You can look around, make experimental
#11 73.57 changes and commit them, and you can discard any commits you make in this
#11 73.57 state without impacting any branches by switching back to a branch.
#11 73.57
#11 73.57 If you want to create a new branch to retain commits you create, you may
#11 73.57 do so (now or later) by using -c with the switch command. Example:
#11 73.57
#11 73.57 git switch -c <new-branch-name>
#11 73.57
#11 73.57 Or undo this operation with:
#11 73.57
#11 73.57 git switch -
#11 73.57
#11 73.57 Turn off this advice by setting config variable advice.detachedHead to false
#11 73.57
#11 73.58
#11 73.58 lua-resty-hmac-ffi 0.05-0 depends on lua 5.1 (5.1-1 provided by VM)
#11 73.62 lua-resty-hmac-ffi 0.05-0 is now installed in /apisix/deps (license: BSD-2-Clause License)
#11 73.62
#11 73.62 apisix master-0 depends on lua-resty-cookie 0.1.0 (not installed)
#11 73.62 Installing https://luarocks.cn/lua-resty-cookie-0.1.0-1.rockspec
#11 74.42 Cloning into 'lua-resty-cookie'...
#11 76.10 Note: switching to 'bbd0df6bca3cac22138225d6a36243ce767d5881'.
#11 76.10
#11 76.10 You are in 'detached HEAD' state. You can look around, make experimental
#11 76.10 changes and commit them, and you can discard any commits you make in this
#11 76.10 state without impacting any branches by switching back to a branch.
#11 76.10
#11 76.10 If you want to create a new branch to retain commits you create, you may
#11 76.10 do so (now or later) by using -c with the switch command. Example:
#11 76.10
#11 76.10 git switch -c <new-branch-name>
#11 76.10
#11 76.10 Or undo this operation with:
#11 76.10
#11 76.10 git switch -
#11 76.10
#11 76.10 Turn off this advice by setting config variable advice.detachedHead to false
#11 76.10
#11 76.12
#11 76.12 lua-resty-cookie 0.1.0-1 depends on lua >= 5.1 (5.1-1 provided by VM)
#11 76.15 lua-resty-cookie 0.1.0-1 is now installed in /apisix/deps (license: BSD)
#11 76.15
#11 76.15 apisix master-0 depends on lua-resty-session 2.24 (not installed)
#11 76.15 Installing https://luarocks.cn/lua-resty-session-2.24-1.src.rock
#11 77.37
#11 77.37 lua-resty-session 2.24-1 depends on lua >= 5.1 (5.1-1 provided by VM)
#11 77.45 lua-resty-session 2.24-1 is now installed in /apisix/deps (license: BSD)
#11 77.45
#11 77.45 apisix master-0 depends on opentracing-openresty 0.1 (not installed)
#11 77.45 Installing https://luarocks.cn/opentracing-openresty-0.1-0.rockspec
#11 78.74 Cloning into 'opentracing-openresty'...
#11 80.43 Note: switching to '6b336fbe01e8bd20cdfc310f5e488ffe99426556'.
#11 80.43
#11 80.43 You are in 'detached HEAD' state. You can look around, make experimental
#11 80.43 changes and commit them, and you can discard any commits you make in this
#11 80.43 state without impacting any branches by switching back to a branch.
#11 80.43
#11 80.43 If you want to create a new branch to retain commits you create, you may
#11 80.43 do so (now or later) by using -c with the switch command. Example:
#11 80.43
#11 80.43 git switch -
#11 80.43
#11 80.43 Turn off this advice by setting config variable advice.detachedHead to false
#11 80.43
#11 80.47
#11 80.47 opentracing-openresty 0.1-0 depends on lua >= 5.1 (5.1-1 provided by VM)
#11 80.51 opentracing-openresty 0.1-0 is now installed in /apisix/deps (license: Apache 2.0)
#11 80.51
#11 80.51 apisix master-0 depends on lua-resty-radixtree 2.8.1 (not installed)
#11 80.51 Installing https://luarocks.cn/lua-resty-radixtree-2.8.1-0.src.rock
#11 81.92 Missing dependencies for lua-resty-radixtree 2.8.1-0:
#11 81.92 lua-resty-ipmatcher (not installed)
#11 81.92 lua-resty-expr 1.3.0 (not installed)
#11 81.92
#11 81.92 lua-resty-radixtree 2.8.1-0 depends on lua-resty-ipmatcher (not installed)
#11 81.92 Installing https://luarocks.cn/lua-resty-ipmatcher-0.6.1-0.src.rock
#11 82.96
#11 83.02 lua-resty-ipmatcher 0.6.1-0 is now installed in /apisix/deps (license: Apache License 2.0)
#11 83.02
#11 83.02 lua-resty-radixtree 2.8.1-0 depends on lua-resty-expr 1.3.0 (not installed)
#11 83.02 Installing https://luarocks.cn/lua-resty-expr-1.3.0-0.rockspec
#11 83.94 Cloning into 'lua-resty-expr'...
#11 95.80 fatal: expected flush after ref listing
#11 95.81
#11 95.81 Error: Failed installing dependency: https://luarocks.cn/lua-resty-radixtree-2.8.1-0.src.rock - Failed installing dependency: https://luarocks.cn/lua-resty-expr-1.3.0-0.rockspec - Failed cloning git repository.
#11 95.88 make: *** [Makefile:73: deps] Error 1_**
--
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] tokers commented on issue #220: apisix构建镜像,在镜像内编译时老是失败
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #220:
URL: https://github.com/apache/apisix-docker/issues/220#issuecomment-916584885
Maybe it's due to the network problem, have you tried to build it in other machines which network is more stable.
--
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] 18300618319 commented on issue #220: apisix构建镜像,在镜像内编译时老是失败
Posted by GitBox <gi...@apache.org>.
18300618319 commented on issue #220:
URL: https://github.com/apache/apisix-docker/issues/220#issuecomment-916577715
FROM openresty/openresty:1.19.3.1-alpine-fat AS production-stage
COPY ./ ./apisix
RUN set -x \
&& (/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 \
&& cd apisix \
&& make deps \
&& cp -v bin/apisix /usr/bin/ \
&& mv ../apisix /usr/local/apisix \
&& apk del .builddeps build-base make unzip
FROM alpine:3.13 AS last-stage
# add runtime for Apache APISIX
RUN set -x \
&& (/bin/sed -i 's,http://dl-cdn.alpinelinux.org,https://mirrors.aliyun.com,g' /etc/apk/repositories) \
&& apk add --no-cache bash libstdc++ curl tzdata
WORKDIR /home/zyb/apps/apisix
COPY --from=production-stage /usr/local/openresty/ /usr/local/openresty/
COPY --from=production-stage /usr/local/apisix/ /home/zyb/apps/apisix/
COPY --from=production-stage /usr/bin/apisix /usr/bin/apisix
# forward request and error logs to docker log collector
RUN mkdir -p logs && touch logs/access.log && touch logs/error.log
RUN ln -sf /home/zyb/apps/apisix/logs/access.log /home/logs/apisix/access.log
RUN ln -sf /home/zyb/apps/apisix/logs/error.log /home/logs/apisix/error.log
ENV PATH=$PATH:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin
EXPOSE 9080 9443 80
CMD ["sh", "-c", "/usr/bin/apisix init && /usr/bin/apisix init_etcd && /usr/local/openresty/bin/openresty -p /usr/local/apisix -g 'daemon off;'"]
STOPSIGNAL SIGQUIT
--
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] github-actions[bot] closed issue #220: apisix构建镜像,在镜像内编译时老是失败
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #220:
URL: https://github.com/apache/apisix-docker/issues/220
--
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] github-actions[bot] commented on issue #220: apisix构建镜像,在镜像内编译时老是失败
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #220:
URL: https://github.com/apache/apisix-docker/issues/220#issuecomment-975358979
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.
--
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] github-actions[bot] commented on issue #220: apisix构建镜像,在镜像内编译时老是失败
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #220:
URL: https://github.com/apache/apisix-docker/issues/220#issuecomment-962582576
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.
--
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