„Dockerfile“ ändern

This commit is contained in:
2019-05-30 14:27:56 +02:00
parent 5e72229241
commit 3a55d3f90f

View File

@@ -35,6 +35,7 @@ RUN /etc/init.d/mysql start && \
mysql -u root -e "CREATE DATABASE IF NOT EXISTS exile;" && \
mysql -u root -e "GRANT ALL ON exile.* TO 'steam'@'%' IDENTIFIED BY 'exile';" && \
mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '$MARIA_DB_ROOT_PWD';FLUSH PRIVILEGES;"
RUN chown steam /etc/alternatives/my.cnf
ADD /scripts/ /opt/scripts/
RUN chmod -R 770 /opt/scripts/