diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-06-19 07:40:51 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-06-19 07:40:51 +0300 |
commit | 91a85ab8f4083039645cc29ca5f576da82d3f814 (patch) | |
tree | d734da5979409557f5e48b48ea16058f6b9bea41 /docker/lamp | |
parent | 9637502da7a4d845597322233412e47c5594d532 (diff) |
docker: build fixes (shutdown mysql, letsencrypt cert dir)
Diffstat (limited to 'docker/lamp')
-rw-r--r-- | docker/lamp/Dockerfile | 3 |
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; \ |