Senhores ao rodar o comando
mvn -DskipTests clean package docker:build
tenho o seguinte erro…
[INFO] — maven-compiler-plugin:3.1:compile (default-compile) @ springbootproperties —
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to /home/ubuntu/projetos/spring-boot-propriedades-casadocodigo/target/classes
[INFO]
[INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ springbootproperties —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/ubuntu/projetos/spring-boot-propriedades-casadocodigo/src/test/resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:testCompile (default-testCompile) @ springbootproperties —
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/ubuntu/projetos/spring-boot-propriedades-casadocodigo/target/test-classes
[INFO]
[INFO] — maven-surefire-plugin:2.18.1:test (default-test) @ springbootproperties —
[INFO] Tests are skipped.
[INFO]
[INFO] — maven-jar-plugin:2.6:jar (default-jar) @ springbootproperties —
[INFO] Building jar: /home/ubuntu/projetos/spring-boot-propriedades-casadocodigo/target/springbootproperties-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] — spring-boot-maven-plugin:1.5.3.RELEASE:repackage (default) @ springbootproperties —
[INFO]
[INFO] — docker-maven-plugin:1.0.0:build (default-cli) @ springbootproperties —
[INFO] Using authentication suppliers: [ConfigFileRegistryAuthSupplier]
[INFO] Copying /home/ubuntu/projetos/spring-boot-propriedades-casadocodigo/target/springbootproperties-0.0.1-SNAPSHOT.jar -> /home/ubuntu/projetos/spring-boot-propriedades-casadocodigo/target/docker/springbootproperties-0.0.1-SNAPSHOT.jar
[INFO] Building image greendogdelivery
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.656 s
[INFO] Finished at: 2017-11-01T18:26:35-02:00
[INFO] Final Memory: 50M/390M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (default-cli) on project springbootproperties: Exception caught: Request error: POST unix://localhost:80/build?t=greendogdelivery: 400, body: {“message”:“Dockerfile parse error line 5: unknown instruction: “/SPRINGBOOTPROPERTIES-0.0.1-SNAPSHOT.JAR”]”}: HTTP 400 Bad Request -> [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/MojoExecutionException
Alguem sabe o que é meu pom.xml segue abaixo
<?xml version="1.0" encoding="UTF-8"?>
4.0.0
<groupId>com.boaglio.casadocodigo</groupId>
<artifactId>springbootproperties</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>springbootproperties</name>
<description>lista de propriedades do Spring Boot</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.3.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-rest</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
<version>3.3.7-1</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
<version>3.1.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<configuration>
<imageName>greendogdelivery</imageName>
<baseImage>frolvlad/alpine-oraclejdk8:slim</baseImage>
<entryPoint>["java", "-jar",
"/${project.build.finalName}.jar"]</entryPoint>
<exposes>8080</exposes>
<resources>
<resource>
<targetPath>/</targetPath>
<directory>${project.build.directory}</directory>
<include>${project.build.finalName}.jar</include>
</resource>
</resources>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>