Skip to content

Add support for buildpack caching#50

Closed
mboersma wants to merge 1 commit into
masterfrom
unknown repository
Closed

Add support for buildpack caching#50
mboersma wants to merge 1 commit into
masterfrom
unknown repository

Conversation

@mboersma

Copy link
Copy Markdown

Having 2 optional positional args is a bit inelegant I suppose, but you can pass a cache_dir on the command line and ignore tags by doing:
./buildstep name "" /opt/caching

@elia

elia commented Feb 25, 2014

Copy link
Copy Markdown
Contributor

Adding caching will also probably help avoiding re-downloading ruby binaries at each deploy

@jschneiderhan

Copy link
Copy Markdown

This has been woking pretty well for me. Thanks!

@bzz

bzz commented Jul 7, 2014

Copy link
Copy Markdown

Can you point plz how to add this buildpack caching to dokku?

@progrium

Copy link
Copy Markdown
Owner

Any updates on thinking around this? Is this still the best way to go about this?

@mjonuschat

Copy link
Copy Markdown
Contributor

In keeping with the Docker philosophy I would suggest a cache/data volume based on the app name. Option parsing for the script could be switched to getopts, this should make it possible to keep the old calling syntax for the time being while making new options named instead of positional.

@progrium

Copy link
Copy Markdown
Owner

Caching is supported by the builder script. This buildstep script is on its way to being deprecated.

@progrium progrium closed this Jan 14, 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

Successfully merging this pull request may close these issues.

6 participants