Paketo Buildpack for Syft 1.32.1
[INFO] [creator] https://github.com/paketo-buildpacks/syft
[INFO] [creator] Downloading from https://github.com/anchore/syft/releases/download/v0.84.0/syft_0.84.0_linux_amd64.tar.gz
[INFO] [creator] unable to invoke layer creator
[INFO] [creator] unable to get dependency syft
[INFO] [creator] unable to download https://github.com/anchore/syft/releases/download/v0.84.0/syft_0.84.0_linux_amd64.tar.gz
[INFO] [creator] unable to request https://github.com/anchore/syft/releases/download/v0.84.0/syft_0.84.0_linux_amd64.tar.gz
[INFO] [creator] Get "https://github.com/anchore/syft/releases/download/v0.84.0/syft_0.84.0_linux_amd64.tar.gz": net/http: timeout awaiting response headers
[INFO] [creator] ERROR: failed to build: exit status 1
try to add a proxy:
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<env>
<HTTP_PROXY>http://127.0.0.1:7890</HTTP_PROXY>
<HTTPS_PROXY>https://127.0.0.1:7890</HTTPS_PROXY>
</env>
</image>
</configuration>
</plugin>
[creator] unable to invoke layer creator
[INFO] [creator] unable to get dependency native-image-svm
[INFO] [creator] unable to download https://download.bell-sw.com/vm/23.0.0/bellsoft-liberica-vm-core-openjdk17.0.7+7-23.0.0+1-linux-amd64.tar.gz
[INFO] [creator] unable to request https://download.bell-sw.com/vm/23.0.0/bellsoft-liberica-vm-core-openjdk17.0.7+7-23.0.0+1-linux-amd64.tar.gz
[INFO] [creator] Get "https://download.bell-sw.com/vm/23.0.0/bellsoft-liberica-vm-core-openjdk17.0.7+7-23.0.0+1-linux-amd64.tar.gz": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused
7890 port is a proxy port
Comment From: wilkinsona
127.0.0.1 is the wrong address to use for the proxy. The download's done in a Docker container so a proxy address of 127.0.0.1 will result in it trying to connect to a proxy that's running in the container. You need to provide an "external" address for the proxy so that it can be reached from within the container.
If you have any further questions, please follow up on Stack Overflow or Gitter. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.
Comment From: pigping88
192.168.3.19 ?
Comment From: pigping88
podman 4.5
Comment From: pigping88
unable to invoke layer creator
[INFO] [creator] unable to get dependency native-image-svm
[INFO] [creator] unable to download https://download.bell-sw.com/vm/23.0.0/bellsoft-liberica-vm-core-openjdk17.0.7+7-23.0.0+1-linux-amd64.tar.gz
[INFO] [creator] unable to request https://download.bell-sw.com/vm/23.0.0/bellsoft-liberica-vm-core-openjdk17.0.7+7-23.0.0+1-linux-amd64.tar.gz
[INFO] [creator] Get "https://download.bell-sw.com/vm/23.0.0/bellsoft-liberica-vm-core-openjdk17.0.7+7-23.0.0+1-linux-amd64.tar.gz": proxyconnect tcp: dial tcp 192.168.3.19:7890: connect: connection refused
Comment From: wilkinsona
It looks like the code running in the container was able to reach 192.168.3.19 but a connection to port 7890 was refused. I don't know anything about your network or the address of the HTTP proxy so I can't suggest what the correct values should be. Please follow up on Stack Overflow and provide a complete description of what you're trying to do.
Comment From: pigping88
at before, the proxy client did not set the allow connect from Lan within clash, now, my phone is connecting the proxy network and access the google website. However, mvn -Pnative spring-boot:build-image,
Comment From: pigping88
Comment From: pigping88
thanks a lot