Сбой установки Apache Atlas из-за отсутствия POM

Я следую инструкциям на https://atlas.apache.org/InstallationSteps.html чтобы попытаться установить Apache Atlas на образ докера.

Вот мой Dockerfile:

FROM maven

RUN curl http://apache.mirror.anlx.net/atlas/1.0.0/apache-atlas-1.0.0-sources.tar.gz -o apache-atlas-1.0.0-sources.tar.gz

RUN tar xvfz apache-atlas-1.0.0-sources.tar.gz
RUN cd apache-atlas-sources-1.0.0/
RUN export MAVEN_OPTS="-Xms2g -Xmx2g"
RUN mvn clean -DskipTests install

Не получается вот так:

Step 6/6 : RUN mvn clean -DskipTests install
 ---> Running in c70d61b2e3ec
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.161 s
[INFO] Finished at: 2018-06-18T21:58:04Z
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
The command '/bin/sh -c mvn clean -DskipTests install' returned a non-zero code: 1
make: *** [docker.build] Error 1

Моя цель здесь - оценить Apache Atlas, но мои знания maven точно равны нулю, поэтому я понятия не имею, в чем здесь проблема. Кто-нибудь может помочь?

0 ответов

Другие вопросы по тегам