Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Could not acquire image ID or digest following build #216

Closed
yangguangftlp opened this issue Sep 18, 2018 · 6 comments
Closed

Could not acquire image ID or digest following build #216

yangguangftlp opened this issue Sep 18, 2018 · 6 comments
Labels

Comments

@yangguangftlp
Copy link

Is this a BUG REPORT or FEATURE REQUEST?:

Description

[Add feature/bug description here]

How to reproduce

[Add steps on how to reproduce this issue]

What do you expect

[Describe what do you expect to happen]

What happened instead

[Describe the actual results]

Software:

  • docker version: [Add the output of docker version here, both client and server]
  • Spotify's dockerfile-maven version: [Add dockerfile-maven version here]

Full backtrace

[Paste full backtrace here]

[ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.4.4:build (default-cli) on project starfish-math-app: Execution default-cli of goal com.spotify:dockerfile-maven-plugin:1.4.4:build failed: Could not acquire image ID or digest following build -> [Help 1]

@sandymcp
Copy link

I got this when I had an ARG in the dockerfile which wasn't declared in buildargs of the plugin.

@php-coder
Copy link

In my case, it failed because .dockerignore file: #25 (comment)

@stale
Copy link

stale bot commented Dec 4, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 4, 2018
@stale stale bot closed this as completed Dec 11, 2018
@cdshah
Copy link

cdshah commented Apr 2, 2019

I had the following problem at my end. In my dockerfile, the maintainer was mis-spelled.
Please debug by trying to build the image using docker build -t .

@pradeepnnv
Copy link

Docker tag was having weird format. Not sure if dockerfile-maven plugin can report it.
Docker tag causing issues: <repository>/repository:tagName

@lincolnluiz
Copy link

For those who have this problem, try to check if the image can be built using the docker build command, I had this same error because my Dockerfile contained an incorrect instruction

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants