为什么 WLP installUtility 无法从功能库中获取资产?

Why is WLP installUtility not able obtain assets from feature repo?

我 运行 docker 使用以下 Docker 文件构建,主要想法是按照 https://github.com/WASdev/ci.docker#installing-liberty-features-from-local-repository-19008:

所述使用功能回购
    FROM websphere-liberty-kernel-ubi-min:19.0.0.9
    COPY usr/ /opt/ibm/wlp/usr/
    USER root
    ARG FEATURE_REPO_URL=http://xyz.openshift.local/19.0.0.9/repo.zip
    ARG VERBOSE=true
    RUN configure.sh
    RUN  chown -R 1001:0 /tmp \
      && chmod -R g+rw /tmp \
      && chown -R 1001:0 /opt/ibm/wlp/output \
      && chmod -R g+rw /opt/ibm/wlp/output \
      && chown -R 1001:0 /opt/ibm/wlp/usr/servers/defaultServer \
      && chmod -R g+rw /opt/ibm/wlp/usr/servers/defaultServer \
      && chown -R 1001:0 /opt/ibm/wlp/usr/shared/resources \
      && chmod -R g+rw /opt/ibm/wlp/usr/shared/resources
    USER 1001

Docker 构建输出显示 repo.zip 已下载并检测到缺少的功能:

+ '[' http://xyz.openshift.local/19.0.0.9/repo.zip ']'
+ curl -k --fail http://xyz.openshift.local/19.0.0.9/repo.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 14 311M 14 44.8M 0 0 55.0M 0 0:00:05 --:--:-- 0:00:05 54.9M 31 311M 31 99.4M 0 0 54.8M 0 0:00:05 0:00:01 0:00:04 54.7M 49 311M 49 152M 0 0 54.2M 0 0:00:05 0:00:02 0:00:03 54.2M 66 311M 66 207M 0 0 54.4M 0 0:00:05 0:00:03 0:00:02 54.4M 83 311M 83 260M 0 0 54.0M 0 0:00:05 0:00:04 0:00:01 54.0M 99 311M 99 310M 0 0 53.4M 0 0:00:05 0:00:05 --:--:-- 53.1M100 311M 100 311M 0 0 53.4M 0 0:00:05 0:00:05 --:--:-- 52.7M
+ installUtility install --acceptLicense defaultServer --from=/tmp/repo.zip
Checking for missing features required by the server ...
The server requires the following additional features: mpconfig-1.3 transportsecurity-1.0 cdi-2.0 mpopenapi-1.0 jaxws-2.2 jsonp-1.1 jpa-2.2 mprestclient-1.3 mphealth-2.1 wssecurity-1.1 jaxrs-2.1. Installing features from the repository ...
Successfully connected to the configured repository.

但是所有功能的安装都失败了:

Preparing assets for installation. This process might take several minutes to complete.
CWWKF1259E: Unable to obtain the following assets: mpconfig-1.3 transportsecurity-1.0 cdi-2.0 mpopenapi-1.0 jaxws-2.2 jsonp-1.1 jpa-2.2 mprestclient-1.3 mphealth-2.1 wssecurity-1.1 jaxrs-2.1. Ensure that the specified assets are valid. To find the IDs of applicable assets, run the installUtility find command.

我查看了下载的 repo.zip,我可以找到以下文件(应该与缺少的功能之一匹配):

那么,错误的原因是什么?

使用不同的图像 (ibmcom/websphere-liberty:some21.0.0.3version) 并将 FEATURE_REPO_URL 指向托管 21.0.0.3 存储库的地方。

所以无论谁为我准备了 19.0.0.3 图像并说要使用哪个功能回购,都向我指出了一些不兼容的人工制品。

有趣的是,当我将不同版本的图像与 repo 组合在一起时,configure.sh 非常冗长(它解释了不兼容),但这个错误 CWWKF1259E: Unable to obtain the following assets 确实没有帮助。