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

Pull missing images during build #645

Merged
merged 1 commit into from
Jul 11, 2017

Conversation

chouseknecht
Copy link
Contributor

@chouseknecht chouseknecht commented Jul 11, 2017

ISSUE TYPE
  • Feature Pull Request
SUMMARY

Fixes #400

During the build process, attempt to pull missing images. Images will be pulled from the engine's default registry. If using the default engine, Docker, then images will be pulled from Docker Hub. If this is not desired, then at this point, it's incumbent on the user to pull the images manually prior to running the build process.

It may be possible, although not tested, for a registry to be included in the from directive, and if credentials exist in the default registry auth file (e.g. ~/.docker/config.json), for the images to be pulled from a private registry. This PR does mount the default auth file to the conductor, making it available to the pull process.

@chouseknecht chouseknecht merged commit 5108f41 into ansible:develop Jul 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant