From 678bea0bca55e5e0962e8e0abc94cdddf54b4a1e Mon Sep 17 00:00:00 2001 From: ich777 Date: Thu, 30 May 2019 11:49:26 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EDockerfile=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4320fe1..f7dac7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,8 +27,8 @@ RUN mkdir -p $DATA_DIR/".local/share/Arma 3" && mkdir -p $DATA_DIR/".local/share RUN ulimit -n 2048 -RUN mysqld && \ - echo "CREATE USER IF NOT EXISTS 'steam'@'%' IDENTIFIED BY 'exile';" | mysql -u root +RUN /etc/init.d/mysql start && \ + mysql -u root -e "CREATE USER IF NOT EXISTS 'steam'@'%' IDENTIFIED BY 'exile';;FLUSH PRIVILEGES;" ADD /scripts/ /opt/scripts/ RUN chmod -R 770 /opt/scripts/