在Docker中安装rpm时,rpm包中的非致命POSTIN scriptlet失败
我正进入(状态
Non-fatal POSTIN scriptlet failure in rpm package
当我尝试在Dockerfile中安装我的应用程序
我的Dockerfile看起来像:
FROM centos:latest RUN yum install -y net-tools wget zip unzip epel-release COPY MySoftware.bin /opt/MySoftware.bin RUN yum makecache RUN java -version EXPOSE 8443 RUN chmod +x /opt/MySoftware.bin RUN /opt/MySoftware.bin
当“ RUN /opt/MySoftware.bin ”尝试安装依赖项时,出现错误非致命POSTIN scriptlet失败
这在RHEL / CentOS VM上运行完美,但在dockerfile失败任何人都可以指向正确的方向吗?
谢谢