-
-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question/Problem with docker_image
input
#219
Comments
docker_image
inputdocker_image
input
This issue has been automatically marked as stale because it has been open 30 days |
This issue was automatically closed because of stale in 10 days |
This is still a valid problem. Why the image needs to be pre-pulled is beyond me. |
If anyone else is encountering this problem and has something like a pipeline where they don't want to add download steps on every apply, use a barebones dockerfile that is "FROM" the image you want i.e.
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
I'm wondering why specifying
docker_image
inconsistently requires eitherdocker_build_root
ordocker_file
to be provided. It seems thatdocker_image
works without the other inputs only if the image is already stored locally.Versions
Reproduction
Using these Docker-related inputs (no other docker inputs) AND if you have not pulled the Docker image locally.
Expected behavior
The Docker image is used for the packaging without error.
Actual behavior
Error:
Terminal Output Screenshot(s)
Additional context
This seems to be caused by a call to
docker images <tag>
.If the image is found,
ok
is set toTrue
anddocker_build_command
is (correctly) never called, which is the method that is raising the error.This seems like a bug, but I'm not sure of the intent for that block of code.
The text was updated successfully, but these errors were encountered: