云托管镜像构建问题,一直构建失败如何解决?
From docker.io/codenvy/jdk8_maven3_tomcat8
WORKDIR /home/user
RUN git clone https://***:***@gitee.com/***/dati.git
RUN cd dati/
RUN mvn clean package
RUN rm -rf /home/user/tomcat8/webapps/*
RUN cp target/dati.war /home/user/tomcat8/webapps/
CMD ["bin/catalina.sh","run"]
上面是dockerfile