mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-17 00:24:47 +02:00
Removes VOLUME directive.
In a kubernetes env, this is causing a lot of issues. We want a read only docker image. And this helps. And as you see it removes a lot of logic that is always a good things to remove lines ;) The last logic piece that is needed, is to know if the Nc is installed or not, and we can get this from `occ status`. In term of upgrade Nobody will lost the data. There is just one thing, for people relying on /var/www/html/ is that the Nextcloud will not update anymore. But I guess people will realize and search what is happening. For convenience, we could put a warning in the entrypoint, and detect this case. What do you think? I know it is tricky to update these things, but I think we agree that we have to get rid of this old logic. Signed-off-by: pierreozoux <pierre@ozoux.net>
This commit is contained in:
parent
c4ccb67a0d
commit
e33f20dc92
6 changed files with 91 additions and 143 deletions
|
@ -141,9 +141,6 @@ function create_variant() {
|
|||
cp "docker-$name.sh" "$dir/$name.sh"
|
||||
done
|
||||
|
||||
# Copy the upgrade.exclude
|
||||
cp upgrade.exclude "$dir/"
|
||||
|
||||
# Copy the config directory
|
||||
cp -rT .config "$dir/config"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue