Skip to content
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

docker build --pull #726

Closed
tianon opened this issue Dec 12, 2014 · 12 comments
Closed

docker build --pull #726

tianon opened this issue Dec 12, 2014 · 12 comments

Comments

@tianon
Copy link
Contributor

tianon commented Dec 12, 2014

Now that moby/moby#9281 is in Docker 1.4.0, it'd be great to have either pull: true in fig.yml next to build: or have a fig build --pull!

@bfirsh
Copy link

bfirsh commented Dec 12, 2014

I like how this will mean if an upstream image gets updated, then Fig environments will always be in sync.

Perhaps we should also have an option in fig.yml to enable this: #12

@tianon
Copy link
Contributor Author

tianon commented Dec 12, 2014

Yeah, I actually discovered this in surprise when I did fig pull today and realized it only pulls image: declarations and not FROMs, which was understandable but surprising behavior.

@dnephin
Copy link

dnephin commented Dec 12, 2014

+1 I've also wanted to be able to pull base images

@thaJeztah
Copy link
Member

+1 And +1 on having this both via --pull and inside fig.yml

(Nit: shouldn't the title of this issue be _fig_ build --pull?)

@yograterol
Copy link

@tianon I send that PR, but We need docker-py support for this feature. docker/docker-py#421

@tianon
Copy link
Contributor Author

tianon commented Dec 19, 2014

It's in! 👍 (and it'll be in the 0.7.0 release tomorrow: docker/docker-py#436)

@pospispa
Copy link

+1 for docker-compose build --pull
I don't need it inside .yml file.

@schmunk42
Copy link

👍

@chpio
Copy link

chpio commented Apr 21, 2015

+1 👍

@chpio
Copy link

chpio commented May 12, 2015

+2

@Starefossen
Copy link

Need this! 👍

@dnephin
Copy link

dnephin commented Sep 18, 2015

Done in #2041

@dnephin dnephin closed this as completed Sep 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants