spring-boot-starter-parentm 2.4.4
My project is on win and docker is on another linux. Even if I put the built jar in the corresponding directory (<sourceDirectory>/home/iserver/spring</sourceDirectory>
)on linux, it cannot be successful
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.4</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.example</groupId>
<artifactId>demo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>demo</name>
<description>Demo project for Spring Boot</description>
<properties>
<java.version>1.8</java.version>
<spring-cloud.version>2020.0.2</spring-cloud.version>
<spring-native.version>0.9.1</spring-native.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.experimental</groupId>
<artifactId>spring-native</artifactId>
<version>${spring-native.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<builder>paketobuildpacks/builder:tiny</builder>
<env>
<BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE>
</env>
</image>
<docker>
<host>tcp://{remoteDockerIp}:2375</host>
</docker>
<sourceDirectory>/home/iserver/spring</sourceDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.experimental</groupId>
<artifactId>spring-aot-maven-plugin</artifactId>
<version>${spring-native.version}</version>
<executions>
<execution>
<id>test-generate</id>
<goals>
<goal>test-generate</goal>
</goals>
</execution>
<execution>
<id>generate</id>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>spring-releases</id>
<name>Spring Releases</name>
<url>https://repo.spring.io/release</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-releases</id>
<name>Spring Releases</name>
<url>https://repo.spring.io/release</url>
</pluginRepository>
</pluginRepositories>
</project>
[INFO]
[INFO] --- spring-boot-maven-plugin:2.4.4:build-image (default-cli) @ demo ---
[DEBUG] Configuring mojo org.springframework.boot:spring-boot-maven-plugin:2.4.4:build-image from plugin realm ClassRealm[plugin>org.springframework.boot:spring-boot-maven-plugin:2.4.4, parent: sun.misc.Launcher$AppClassLoader@18b4aac2]
[DEBUG] Configuring mojo 'org.springframework.boot:spring-boot-maven-plugin:2.4.4:build-image' with basic configurator -->
[DEBUG] (f) host = tcp://192.168.13.178:2375
[DEBUG] (f) docker = org.springframework.boot.maven.Docker@3a2b1f24
[DEBUG] (f) excludeDevtools = true
[DEBUG] (f) excludes = []
[DEBUG] (f) finalName = demo-0.0.1-SNAPSHOT
[DEBUG] (f) builder = paketobuildpacks/builder:tiny
[DEBUG] (f) env = {BP_NATIVE_IMAGE=true}
[DEBUG] (f) image = org.springframework.boot.maven.Image@1314ccc1
[DEBUG] (f) includeSystemScope = false
[DEBUG] (f) includes = []
[DEBUG] (f) project = MavenProject: com.example:demo:0.0.1-SNAPSHOT @ E:\WorkSpace\code\java\spring\demo\pom.xml
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@350b3a17
[DEBUG] (f) skip = false
[DEBUG] (f) sourceDirectory = E:\home\iserver\spring
[DEBUG] -- end configuration --
[INFO] Building image 'docker.io/library/demo:0.0.1-SNAPSHOT'
[INFO]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://192.168.13.178:2375][total available: 0; route allocated: 0 of 2; total allocated: 0 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://192.168.13.178:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Opening connection {}->http://192.168.13.178:2375
[DEBUG] Connecting to /192.168.13.178:2375
[DEBUG] Connection established 192.168.13.232:10118<->192.168.13.178:2375
[DEBUG] Executing request POST /v1.24/images/create?fromImage=docker.io%2Fpaketobuildpacks%2Fbuilder%3Atiny HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> POST /v1.24/images/create?fromImage=docker.io%2Fpaketobuildpacks%2Fbuilder%3Atiny HTTP/1.1
[DEBUG] http-outgoing-0 >> Content-Length: 0
[DEBUG] http-outgoing-0 >> Host: 192.168.13.178:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/{remoteDockerIp}
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:34:28 GMT
[DEBUG] http-outgoing-0 << Transfer-Encoding: chunked
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://192.168.13.178:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://192.168.13.178:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request GET /v1.24/images/docker.io/paketobuildpacks/builder@sha256:3b2a9a7ace49a36b2762b5f2d3a7524f8b58cc41854e47f1e3cec448eba8319c/{remoteDockerIp} HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> GET /v1.24/images/docker.io/paketobuildpacks/builder@sha256:3b2a9a7ace49a36b2762b5f2d3a7524f8b58cc41854e47f1e3cec448eba8319c/{remoteDockerIp} HTTP/1.1
[DEBUG] http-outgoing-0 >> Host: 192.168.13.178:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/{remoteDockerIp}
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:34:28 GMT
[DEBUG] http-outgoing-0 << Transfer-Encoding: chunked
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://192.168.13.178:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder:tiny' 100%
[INFO] > Pulled builder image 'paketobuildpacks/builder@sha256:3b2a9a7ace49a36b2762b5f2d3a7524f8b58cc41854e47f1e3cec448eba8319c'
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://192.168.13.178:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request POST /v1.24/images/create?fromImage=docker.io%2Fpaketobuildpacks%2Frun%3Atiny-cnb HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> POST /v1.24/images/create?fromImage=docker.io%2Fpaketobuildpacks%2Frun%3Atiny-cnb HTTP/1.1
[DEBUG] http-outgoing-0 >> Content-Length: 0
[DEBUG] http-outgoing-0 >> Host: 192.168.13.178:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/{remoteDockerIp}
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:34:44 GMT
[DEBUG] http-outgoing-0 << Transfer-Encoding: chunked
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://192.168.13.178:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://192.168.13.178:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request GET /v1.24/images/docker.io/paketobuildpacks/run@sha256:d4923f52c0db29257e19708d557051a5be4385e8128ce2431665d75ae84b8a1a/{remoteDockerIp} HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> GET /v1.24/images/docker.io/paketobuildpacks/run@sha256:d4923f52c0db29257e19708d557051a5be4385e8128ce2431665d75ae84b8a1a/{remoteDockerIp} HTTP/1.1
[DEBUG] http-outgoing-0 >> Host: 192.168.13.178:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/{remoteDockerIp}
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:34:44 GMT
[DEBUG] http-outgoing-0 << Transfer-Encoding: chunked
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://192.168.13.178:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[INFO] > Pulling run image 'docker.io/paketobuildpacks/run:tiny-cnb' 100%
[INFO] > Pulled run image 'paketobuildpacks/run@sha256:d4923f52c0db29257e19708d557051a5be4385e8128ce2431665d75ae84b8a1a'
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://192.168.13.178:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request POST /v1.24/images/load HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> POST /v1.24/images/load HTTP/1.1
[DEBUG] http-outgoing-0 >> Transfer-Encoding: chunked
[DEBUG] http-outgoing-0 >> Content-Type: application/x-tar
[DEBUG] http-outgoing-0 >> Host: 192.168.13.178:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/{remoteDockerIp}
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:34:44 GMT
[DEBUG] http-outgoing-0 << Transfer-Encoding: chunked
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://192.168.13.178:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[INFO] > Executing lifecycle version v0.10.1
[INFO] > Using build cache volume 'pack-cache-5cbe5692dbc4.build'
[INFO]
[INFO] > Running creator
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://192.168.13.178:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request DELETE /v1.24/volumes/pack-layers-pmwnnbewwy?force=1 HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> DELETE /v1.24/volumes/pack-layers-pmwnnbewwy?force=1 HTTP/1.1
[DEBUG] http-outgoing-0 >> Host: 192.168.13.178:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 204 No Content
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:34:44 GMT
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://192.168.13.178:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://192.168.13.178:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request DELETE /v1.24/volumes/pack-app-ntswwmmvkx?force=1 HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> DELETE /v1.24/volumes/pack-app-ntswwmmvkx?force=1 HTTP/1.1
[DEBUG] http-outgoing-0 >> Host: 192.168.13.178:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 204 No Content
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:34:44 GMT
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://192.168.13.178:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://192.168.13.178:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://192.168.13.178:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request DELETE /v1.24/images/pack.local/builder/gpkywzhokr:latest?force=1 HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> DELETE /v1.24/images/pack.local/builder/gpkywzhokr:latest?force=1 HTTP/1.1
[DEBUG] http-outgoing-0 >> Host: 192.168.13.178:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/{remoteDockerIp}
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:34:44 GMT
[DEBUG] http-outgoing-0 << Content-Length: 226
[DEBUG] Connection can be kept alive indefinitely
====================
If I don’t set <sourceDirectory>/home/iserver/spring</sourceDirectory>
[INFO]
[INFO] --- spring-boot-maven-plugin:2.4.4:build-image (default-cli) @ demo ---
[DEBUG] Configuring mojo org.springframework.boot:spring-boot-maven-plugin:2.4.4:build-image from plugin realm ClassRealm[plugin>org.springframework.boot:spring-boot-maven-plugin:2.4.4, parent: sun.misc.Launcher$AppClassLoader@18b4aac2]
[DEBUG] Configuring mojo 'org.springframework.boot:spring-boot-maven-plugin:2.4.4:build-image' with basic configurator -->
[DEBUG] (f) host = tcp://{remoteDockerIp}:2375
[DEBUG] (f) docker = org.springframework.boot.maven.Docker@6c4f48e2
[DEBUG] (f) excludeDevtools = true
[DEBUG] (f) excludes = []
[DEBUG] (f) finalName = demo-0.0.1-SNAPSHOT
[DEBUG] (f) builder = paketobuildpacks/builder:tiny
[DEBUG] (f) env = {BP_NATIVE_IMAGE=true}
[DEBUG] (f) image = org.springframework.boot.maven.Image@4194a77f
[DEBUG] (f) includeSystemScope = false
[DEBUG] (f) includes = []
[DEBUG] (f) project = MavenProject: com.example:demo:0.0.1-SNAPSHOT @ E:\WorkSpace\code\java\spring\demo\pom.xml
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@6c2f1700
[DEBUG] (f) skip = false
[DEBUG] (f) sourceDirectory = E:\WorkSpace\code\java\spring\demo\target
[DEBUG] -- end configuration --
[INFO] Building image 'docker.io/library/demo:0.0.1-SNAPSHOT'
[INFO]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 0 of 2; total allocated: 0 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Opening connection {}->http://{remoteDockerIp}:2375
[DEBUG] Connecting to /{remoteDockerIp}:2375
[DEBUG] Connection established 192.168.13.232:1186<->{remoteDockerIp}:2375
[DEBUG] Executing request POST /v1.24/images/create?fromImage=docker.io%2Fpaketobuildpacks%2Fbuilder%3Atiny HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> POST /v1.24/images/create?fromImage=docker.io%2Fpaketobuildpacks%2Fbuilder%3Atiny HTTP/1.1
[DEBUG] http-outgoing-0 >> Content-Length: 0
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/json
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:38 GMT
[DEBUG] http-outgoing-0 << Transfer-Encoding: chunked
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request GET /v1.24/images/docker.io/paketobuildpacks/builder@sha256:3b2a9a7ace49a36b2762b5f2d3a7524f8b58cc41854e47f1e3cec448eba8319c/json HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> GET /v1.24/images/docker.io/paketobuildpacks/builder@sha256:3b2a9a7ace49a36b2762b5f2d3a7524f8b58cc41854e47f1e3cec448eba8319c/json HTTP/1.1
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/json
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:38 GMT
[DEBUG] http-outgoing-0 << Transfer-Encoding: chunked
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder:tiny' 100%
[INFO] > Pulled builder image 'paketobuildpacks/builder@sha256:3b2a9a7ace49a36b2762b5f2d3a7524f8b58cc41854e47f1e3cec448eba8319c'
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request POST /v1.24/images/create?fromImage=docker.io%2Fpaketobuildpacks%2Frun%3Atiny-cnb HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> POST /v1.24/images/create?fromImage=docker.io%2Fpaketobuildpacks%2Frun%3Atiny-cnb HTTP/1.1
[DEBUG] http-outgoing-0 >> Content-Length: 0
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/json
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:40 GMT
[DEBUG] http-outgoing-0 << Transfer-Encoding: chunked
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request GET /v1.24/images/docker.io/paketobuildpacks/run@sha256:d4923f52c0db29257e19708d557051a5be4385e8128ce2431665d75ae84b8a1a/json HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> GET /v1.24/images/docker.io/paketobuildpacks/run@sha256:d4923f52c0db29257e19708d557051a5be4385e8128ce2431665d75ae84b8a1a/json HTTP/1.1
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/json
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:40 GMT
[DEBUG] http-outgoing-0 << Transfer-Encoding: chunked
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[INFO] > Pulling run image 'docker.io/paketobuildpacks/run:tiny-cnb' 100%
[INFO] > Pulled run image 'paketobuildpacks/run@sha256:d4923f52c0db29257e19708d557051a5be4385e8128ce2431665d75ae84b8a1a'
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request POST /v1.24/images/load HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> POST /v1.24/images/load HTTP/1.1
[DEBUG] http-outgoing-0 >> Transfer-Encoding: chunked
[DEBUG] http-outgoing-0 >> Content-Type: application/x-tar
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/json
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:40 GMT
[DEBUG] http-outgoing-0 << Transfer-Encoding: chunked
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[INFO] > Executing lifecycle version v0.10.1
[INFO] > Using build cache volume 'pack-cache-5cbe5692dbc4.build'
[INFO]
[INFO] > Running creator
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request POST /v1.24/containers/create HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> POST /v1.24/containers/create HTTP/1.1
[DEBUG] http-outgoing-0 >> Content-Length: 711
[DEBUG] http-outgoing-0 >> Content-Type: application/json
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 201 Created
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/json
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:40 GMT
[DEBUG] http-outgoing-0 << Content-Length: 88
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request PUT /v1.24/containers/ad2dde093bef670c03a0d3988bb6ea6dc053ef4f9ca746da4df2dc725c8968a3/archive?path=%2Fworkspace HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> PUT /v1.24/containers/ad2dde093bef670c03a0d3988bb6ea6dc053ef4f9ca746da4df2dc725c8968a3/archive?path=%2Fworkspace HTTP/1.1
[DEBUG] http-outgoing-0 >> Transfer-Encoding: chunked
[DEBUG] http-outgoing-0 >> Content-Type: application/x-tar
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:44 GMT
[DEBUG] http-outgoing-0 << Content-Length: 0
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request POST /v1.24/containers/ad2dde093bef670c03a0d3988bb6ea6dc053ef4f9ca746da4df2dc725c8968a3/start HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> POST /v1.24/containers/ad2dde093bef670c03a0d3988bb6ea6dc053ef4f9ca746da4df2dc725c8968a3/start HTTP/1.1
[DEBUG] http-outgoing-0 >> Content-Length: 0
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 204 No Content
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:45 GMT
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request GET /v1.24/containers/ad2dde093bef670c03a0d3988bb6ea6dc053ef4f9ca746da4df2dc725c8968a3/logs?stdout=1&stderr=1&follow=1 HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> GET /v1.24/containers/ad2dde093bef670c03a0d3988bb6ea6dc053ef4f9ca746da4df2dc725c8968a3/logs?stdout=1&stderr=1&follow=1 HTTP/1.1
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:45 GMT
[DEBUG] http-outgoing-0 << Transfer-Encoding: chunked
[DEBUG] Connection can be kept alive indefinitely
[INFO] [creator] ===> DETECTING
[INFO] [creator] ERROR: No buildpack groups passed detection.
[INFO] [creator] ERROR: Please check that you are running against the correct path.
[INFO] [creator] ERROR: failed to detect: no buildpacks participating
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request POST /v1.24/containers/ad2dde093bef670c03a0d3988bb6ea6dc053ef4f9ca746da4df2dc725c8968a3/wait HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> POST /v1.24/containers/ad2dde093bef670c03a0d3988bb6ea6dc053ef4f9ca746da4df2dc725c8968a3/wait HTTP/1.1
[DEBUG] http-outgoing-0 >> Content-Length: 0
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/json
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:46 GMT
[DEBUG] http-outgoing-0 << Content-Length: 32
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request DELETE /v1.24/containers/ad2dde093bef670c03a0d3988bb6ea6dc053ef4f9ca746da4df2dc725c8968a3?force=1 HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> DELETE /v1.24/containers/ad2dde093bef670c03a0d3988bb6ea6dc053ef4f9ca746da4df2dc725c8968a3?force=1 HTTP/1.1
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 204 No Content
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:46 GMT
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request DELETE /v1.24/volumes/pack-layers-dtilfwysrs?force=1 HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> DELETE /v1.24/volumes/pack-layers-dtilfwysrs?force=1 HTTP/1.1
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 204 No Content
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:46 GMT
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request DELETE /v1.24/volumes/pack-app-tasevvqhbu?force=1 HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> DELETE /v1.24/volumes/pack-app-tasevvqhbu?force=1 HTTP/1.1
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 204 No Content
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:46 GMT
[DEBUG] Connection can be kept alive indefinitely
[DEBUG] Connection [id: 0][route: {}->http://{remoteDockerIp}:2375] can be kept alive indefinitely
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Connection released: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] CookieSpec selected: default
[DEBUG] Auth cache not set in the context
[DEBUG] Connection request: [route: {}->http://{remoteDockerIp}:2375][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->http://{remoteDockerIp}:2375][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] http-outgoing-0: set socket timeout to 0
[DEBUG] Executing request DELETE /v1.24/images/pack.local/builder/csnkjolomi:latest?force=1 HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-0 >> DELETE /v1.24/images/pack.local/builder/csnkjolomi:latest?force=1 HTTP/1.1
[DEBUG] http-outgoing-0 >> Host: {remoteDockerIp}:2375
[DEBUG] http-outgoing-0 >> Connection: Keep-Alive
[DEBUG] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_282)
[DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
[DEBUG] http-outgoing-0 << HTTP/1.1 200 OK
[DEBUG] http-outgoing-0 << Api-Version: 1.40
[DEBUG] http-outgoing-0 << Content-Type: application/json
[DEBUG] http-outgoing-0 << Docker-Experimental: false
[DEBUG] http-outgoing-0 << Ostype: linux
[DEBUG] http-outgoing-0 << Server: Docker/19.03.5 (linux)
[DEBUG] http-outgoing-0 << Date: Thu, 01 Apr 2021 01:28:46 GMT
[DEBUG] http-outgoing-0 << Content-Length: 226
[DEBUG] Connection can be kept alive indefinitely
Comment From: snicoll
You need to double check that /home/iserver/spring
contains the repackaged archive. Looking at the debug log, you're providing a jar file that the buildpack can't process.
Comment From: Paradox98
It seems to be a spring-native problem. When I use the following method to build-image, there is no problem. But I want to use spring-native
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<name>${project.artifactId}:${project.version}</name>
<!-- <builder>paketobuildpacks/builder:tiny</builder>-->
<!-- <env>-->
<!-- <BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE>-->
<!-- </env>-->
</image>
<docker>
<host>tcp://192.168.13.178:2375</host>
</docker>
<pullPolicy>IF_NOT_PRESENT</pullPolicy>
<!-- <sourceDirectory>/home/iserver/spring</sourceDirectory>-->
</configuration>
</plugin>
Comment From: snicoll
You've commented out the sourceDirectory
so I am not sure how that's relevant to Spring Native.
Comment From: Paradox98
You need to double check that
/home/iserver/spring
contains the repackaged archive. Looking at the debug log, you're providing a jar file that the buildpack can't process.
I put the built jar in the path of the machine where the docker is located.
But there is no such directory on the machine where my project is located (win10).
Do you mean the
Comment From: Paradox98
Does spring-native support build-image on remote docker?
Comment From: Paradox98
You've commented out the
sourceDirectory
so I am not sure how that's relevant to Spring Native.
The sourceDirectory
parameter is indeed set incorrectly.
This configuration is correct.
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<name>${project.artifactId}:${project.version}</name>
<!-- <builder>paketobuildpacks/builder:tiny</builder>-->
<env>
<BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE>
</env>
</image>
<docker>
<host>tcp://192.168.13.178:2375</host>
</docker>
<pullPolicy>IF_NOT_PRESENT</pullPolicy>
<sourceDirectory>${project.build.directory}
</sourceDirectory>
</configuration>
</plugin>
But just use this
Comment From: Paradox98
The problem is in tiny builder
It's ok to use `