diff options
author | nacho <nacho@ownyourbits.com> | 2018-09-21 06:56:23 +0300 |
---|---|---|
committer | nacho <nacho@ownyourbits.com> | 2018-09-21 07:30:40 +0300 |
commit | 7a8c0e40f51295fc3ce3b65d3a256e7e77e38c4a (patch) | |
tree | 3df869982db342bbb3c464260fdd474d9868b47b /docker | |
parent | 9ee428280ac023bddbe2ed3b71da362f32d6de0d (diff) |
docker: build fixesv0.59.18
Diffstat (limited to 'docker')
-rw-r--r-- | docker/nextcloud/Dockerfile | 3 | ||||
-rw-r--r-- | docker/nextcloudpi/Dockerfile | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/docker/nextcloud/Dockerfile b/docker/nextcloud/Dockerfile index 9372fec1..7fc98da2 100644 --- a/docker/nextcloud/Dockerfile +++ b/docker/nextcloud/Dockerfile @@ -24,6 +24,9 @@ activate_script /nc-nextcloud.sh; \ mv /var/www/nextcloud /data-ro/app; \ ln -s /data-ro/app /var/www/nextcloud; \ +# stop mysqld +mysqladmin -u root shutdown; \ + # package cleanup apt-get autoremove -y; \ apt-get clean; \ diff --git a/docker/nextcloudpi/Dockerfile b/docker/nextcloudpi/Dockerfile index ad77daef..760e6efb 100644 --- a/docker/nextcloudpi/Dockerfile +++ b/docker/nextcloudpi/Dockerfile @@ -45,6 +45,7 @@ for script in *.sh; do cleanup_script $script; done; \ apt-get autoremove -y; \ apt-get clean; \ rm -f /var/lib/apt/lists/*; \ +find /var/log -type f -exec rm {} \; ; \ rm -rf /usr/share/man/*; \ rm -rf /usr/share/doc/*; \ rm -f /var/log/alternatives.log /var/log/apt/*; \ |