question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build image failed

See original GitHub issue

Description of the issue: <plugin>

            <groupId>com.google.cloud.tools</groupId>

            <artifactId>jib-maven-plugin</artifactId>

            <executions>
                <execution>
                    <phase>package</phase>
                    <goals>
                        <goal>build</goal>
                    </goals>
                </execution>
            </executions>

            <version>0.9.0</version>

            <configuration>
                <to>
                    <image>registry.hub.docker.com/my-docker-id/my-app</image>
                </to>
            </configuration>

        </plugin>

Expected behavior: Build image failed: Connect to gcr.io/108.177.97.82:443 timed out Steps to reproduce:

Environment:

jib-maven-plugin Configuration: PASTE YOUR pom.xml CONFIGURATION HERE

jib-gradle-plugin Configuration: PASTE YOUR build.gradle CONFIGURATION HERE

Log output:

Additional Information:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
coollogcommented, Jul 12, 2018

@tanoak10 Using the from configuration. See the example: https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin#example

For example, to use openjdk:8-jre-alpine, the configuration would look like:

<configuration>
  <from>
    <image>openjdk:8-jre-alpine</image>
  </from>
  ...
0reactions
coollogcommented, Jul 20, 2018

@JedGU @tanoak10 Version 0.9.7 has been released and should be able to resolve the issues here. Closing, but feel free to comment further if issues persist.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker : image build failed - Stack Overflow
1 Answer 1 ... Paths in a Dockerfile are always relative to the the context directory. The context directory is the positional argument...
Read more >
Unable to build my docker image
I have a created a project as well as dockerfiles inside it. I'm trying to run it from docker but I keep getting...
Read more >
Building image failed with exit code: 137 · Codefresh | Docs
This issue occurs where you are low on pipeline resources. The build step does not have enough memory to finish building. You can...
Read more >
Failed to build docker image with the Dockerfile #5499 - GitHub
Tried to build a docker image with the command : docker image build -t aws-cdk:1.0 . But failed with the following error.
Read more >
Docker image build failed - GitLab CI/CD
CI says that it cannot find the jar file during docker build. But the jar file is there when I do an ls...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found