apt install inside app container
-
I'm experimenting with ocdownloader in Nextcloud, which requires installing new packages. I'm not familiar with docker: the app container seems to be read-only and doesn't welcome apt install; is there a way around this? Thank you
-
@uiharu Right, app container are run in read-only file system. This is done for security and also our update model relies on a immutable code. Unfortunately, I don't have a solution/workaround for this at the moment.
-
@merox If you want to experiment with installing new packages, I think the best bet is to build your own package. The source code for the nextcloud package is at http://git.cloudron.io/cloudron/nextcloud-app . You can build that package by following the tutorial at https://cloudron.io/documentation/custom-apps/tutorial/
What you would do is to add the additional package you want at https://git.cloudron.io/cloudron/nextcloud-app/blob/master/Dockerfile#L6 .
Would that work?