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

detect if nginx is already installed #8

Open
jgallen23 opened this issue May 8, 2014 · 2 comments
Open

detect if nginx is already installed #8

jgallen23 opened this issue May 8, 2014 · 2 comments

Comments

@jgallen23
Copy link

Is there any way to detect if nginx is already installed before doing the apt-get update and apt-get install nginx? I'm fairly new to dokku, so I'm not sure if a completely new docker container gets started on every push or it uses the existing one. I'm guessing if it's a new docker container, there's no way around this, but just checking.

@ghost
Copy link

ghost commented May 9, 2014

It uses a new docker container each time (which doesn't have nginx installed), but the cache directory could be used to cache the .deb for a day or so. You'd miss out on any updates that happened to be pushed out during that period (e.g. security updates) but you'd get a nice speed boost as apt wouldn't have to update and download the .deb again for the app.

@jgallen23
Copy link
Author

pull request submitted #9

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

1 participant