Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-06-19 07:40:51 +0300
committernachoparker <nacho@ownyourbits.com>2018-06-19 07:40:51 +0300
commit91a85ab8f4083039645cc29ca5f576da82d3f814 (patch)
treed734da5979409557f5e48b48ea16058f6b9bea41 /docker/lamp
parent9637502da7a4d845597322233412e47c5594d532 (diff)
docker: build fixes (shutdown mysql, letsencrypt cert dir)
Diffstat (limited to 'docker/lamp')
-rw-r--r--docker/lamp/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/lamp/Dockerfile b/docker/lamp/Dockerfile
index 0f7ae30e..9470a476 100644
--- a/docker/lamp/Dockerfile
+++ b/docker/lamp/Dockerfile
@@ -15,6 +15,9 @@ source /usr/local/etc/library.sh; \
set +x; \
install_script /usr/local/etc/lamp.sh; \
+# stop mysqld
+mysqladmin -u root shutdown; \
+
# mariaDB fixups (move database to /data-ro, which will be in a persistent volume)
mkdir -p /data-ro /data; \
mv /var/lib/mysql /data-ro/database; \