apisix-java-plugin-runner
apisix-java-plugin-runner copied to clipboard
help request: windows打包docker镜像
Description
我在windows上打包apisix和java-plugin-runner的镜像,报错:
我之前在apisix-java-plugin-runner还是0.2.0版本的时候使用过这样打包,当时没有问题,由于现在我换电脑了,没办法获取之前的电脑环境,但是实际上我也没有配置什么东西,都是默认配置。现在打镜像却报这样的错,不太明白是哪里出了问题?
Environment
- APISIX version (run
apisix version
): apache/apisix:2.99.0-debian - Operating system (run
uname -a
): - OpenResty / Nginx version (run
openresty -V
ornginx -V
): - etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info
): - APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run
luarocks --version
):
我发现使用2.15.0-alpine就可以打包镜像,使用2.99.0-debian就不行
我发现使用2.15.0-alpine就可以打包镜像,使用2.99.0-debian就不行
I don't think the problem is project related, it's your privatization changes that are causing the image build to fail.
You should analyze it according to the error prompt.
apisix:2.99.0-debian
uses apt
as package management tool instead of apk
, the problem is very basic. You need to tweak some commands instead of simply changing the base image.
RUN apt -y install openjdk-11-jdk
can be an alternative command @MorganArthur