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

Dependency #13

Open
yuzhangbit opened this issue Apr 17, 2017 · 2 comments
Open

Dependency #13

yuzhangbit opened this issue Apr 17, 2017 · 2 comments

Comments

@yuzhangbit
Copy link
Member

Good job! It's nice and clear.
I have a question. The docker image is built with the dependency install script. What if I modify the dependency install script, will the docker image be rebuilt or keep the same with the cached one?

@michaelhsmart
Copy link
Contributor

michaelhsmart commented Apr 17, 2017

Currently it uses the cache. If you fiddle with your scripts, I recommend you flush your travis-CI cache so that it forces the rebuild.

Since the dockerfile just checks a hard-named script which the user repo needs to define themselves, I haven't yet figured out a way to check for changes to that script (or to any scripts that script may call) in such a way that intelligently rebuilds it.

For now: If you are changing your scripts, flush the cache before your test.

@yuzhangbit
Copy link
Member Author

I see. Thanks!

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

2 participants