Skip to content

Dockerfile not working #5

@domcar

Description

@domcar

Hi, unfortunately I can't run the Dockerfile provided in this repo, could you please check it?
I get the error

Sending build context to Docker daemon  3.072kB
Step 1/14 : FROM maven:3.5.2 as builder
 ---> 31eec910d005
Step 2/14 : MAINTAINER cbuchart@auchan.fr
 ---> Using cache
 ---> 8f72bfa69e62
Step 3/14 : COPY . /build
 ---> Using cache
 ---> 5d8f572fb5fb
Step 4/14 : WORKDIR /build
 ---> Using cache
 ---> 35ebf0664ac8
Step 5/14 : RUN mvn clean package
 ---> Running in 49fa096b9f67
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.569 s
[INFO] Finished at: 2019-03-11T10:57:30Z
[INFO] Final Memory: 7M/114M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/build). 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 package' returned a non-zero code: 1

Thanks for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions