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

Add options to install and enable missing packages from apt #1192

Closed
sunjam opened this issue Oct 10, 2020 · 4 comments
Closed

Add options to install and enable missing packages from apt #1192

sunjam opened this issue Oct 10, 2020 · 4 comments
Assignees
Labels

Comments

@sunjam
Copy link

sunjam commented Oct 10, 2020

#1125, option to add smbclient from the ncp menus.
#1177 add option to add php-imageck and bmath from the ncp menus.

This feature request is for installing packages / dependencies missing within the default NextcloudPi installations. The current method is for the admin to install these via apt-get, but that is not persistent in Docker method. I understand these are not included by default, but it would make sense to make them a one click fix, which is also in-line with the way Docker images are designed.

Thanks for considering!

@sunjam
Copy link
Author

sunjam commented Oct 11, 2020

If considered, method that would make the most sense for non-interactive is:

$ apt-get update
$ apt-get -y install --no-install-recommends $PACKAGE
$ apt-get clean

This avoid installing unnecessary additions outside the required packages in apt-get.

@segator
Copy link

segator commented Mar 6, 2021

The problem to do it by hand is that if you reinstall the docker everything is lost.. something that in case we use kubernetes to deploy applications is a very common case :(
we need a way to inject an script in runtime to install packages.

@C-Fu
Copy link

C-Fu commented Jun 6, 2021

I think this would be awesome and probably needed for CUPS and the Printer App #1288

@nachoparker
Copy link
Member

I think that the best way of achieving this is to build a new docker image with the NCP image as a base, and install any extra stuff you might want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants