首页 > 解决方案 > 无法解析配置文件的完整路径,/opt/mule/conf/wrapper.conf: No such file or directory

问题描述

尝试在 Kubernetes 中部署 mule 应用程序。得到以下问题

在此处输入图像描述

下面是我的码头文件:

FROM java:openjdk-8-jdk
RUN mkdir mule
#Adding Mule folder as a working directory inside a docker container
CMD echo "--- Adding MuleCE runtime in Docker Container ---"
RUN wget https://repository-master.mulesoft.org/nexus/content/repositories/releases/org/mule/distributions/mule-standalone/4.3.0-20210119/mule-standalone-4.3.0-20210119.tar.gz && \
WORKDIR /mule
#Extract and install the Mule runtime in the container
CMD echo "--- Unzipping the added zip ---"
RUN  tar xvzf mule-standalone-${MULE_VERSION}.tar.gz && \
     rm mule-standalone-${MULE_VERSION}.tar.gz
# Define volume mount points
VOLUME      ["/mule/mule-standalone-4.3.0-20210119/logs", "/mule/mule-standalone-4.3.0-20210119/apps", "/mule/mule-standalone-4.3.0-20210119/domains"]
CMD echo "--- Deploying mule application in runtime ---"
COPY  mule-application.jar /mule/mule-standalone-4.3.0-20210119/apps/
RUN ls -ltr mule-standalone-4.3.0-20210119/apps/
# Expose the necessary port ranges as required by the Mule Apps

EXPOSE      6018

CMD echo "--- Starting Mule runtime ---"
CMD         ["/mule/mule-standalone-4.3.0-20210119/bin/mule"]

我们还获得了 /opt/mule/conf 路径的完整权限。那么有人可以建议解决这个问题吗?

标签: dockermulesoft

解决方案


推荐阅读