Commit 4de369fa authored by AITE Meziane's avatar AITE Meziane

fixing mysql bug in wiki_docker Dockerfile

parent 06e2cda7
......@@ -37,14 +37,14 @@ RUN apt-get update;\
echo mysql-server mysql-server/root_password password $MYSQL_DB_ROOT_PWD | debconf-set-selections;\
echo mysql-server mysql-server/root_password_again password $MYSQL_DB_ROOT_PWD | debconf-set-selections;\
apt-get install -y mysql-server;\
apt-get -y -q clean;\
apt-get -y -q autoremove;\
apt-get install -y -q curl;\
apt-get install -y -q vim;\
apt-get install -y -q php5-curl;\
apt-get install -y -q python-pip;\
apt-get install -y -q imagemagick;\
pip install docopt
pip install docopt;\
apt-get -y -q clean;\
apt-get -y -q autoremove
# MediaWiki install
COPY wiki_template /home/wiki_template
......@@ -62,7 +62,7 @@ RUN sed -i -e 's#upload_max_filesize = 2M#upload_max_filesize = 25M#g' /etc/php5
RUN sed -i -e 's#post_max_size = 8M#post_max_size = 25M#g' /etc/php5/fpm/php.ini
# Config MySQL
RUN service mysql start
RUN find /var/lib/mysql -type f -exec touch {} \; && service mysql start;
RUN expect << END_OF_EXPECT ;\
set timeout 1\
\
......
......@@ -10,3 +10,7 @@
#HttpOnly_gem-aureme.irisa.fr FALSE / FALSE 1539700747 gem_a1562_ulva_bacteria_UserID 1
#HttpOnly_gem-aureme.irisa.fr FALSE / FALSE 1539700747 gem_a1562_ulva_bacteria_UserName Dyliss
#HttpOnly_gem-aureme.irisa.fr FALSE / FALSE 1539700747 gem_a1562_ulva_bacteria_Token 5087d3be20e5c36581bde35ea66ffc74
#HttpOnly_gem-aureme.irisa.fr FALSE / FALSE 0 gem_a1562_fibrogem__session 81ia2qqht5lou3mkgl2dbg79o1
#HttpOnly_gem-aureme.irisa.fr FALSE / FALSE 1540313517 gem_a1562_fibrogem_UserID 1
#HttpOnly_gem-aureme.irisa.fr FALSE / FALSE 1540313517 gem_a1562_fibrogem_UserName Dyliss
#HttpOnly_gem-aureme.irisa.fr FALSE / FALSE 1540313517 gem_a1562_fibrogem_Token 2a50c61b6f36144dfd937110c48df7f5
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment