Compare commits
1 Commits
b3b8816259
...
6127283c37
Author | SHA1 | Date | |
---|---|---|---|
6127283c37 |
@ -24,8 +24,6 @@ RUN echo "mysqli.default_socket = /var/run/mysqld/mysqld.sock" >> /usr/local/etc
|
|||||||
VOLUME ["/var/lib/mysql"]
|
VOLUME ["/var/lib/mysql"]
|
||||||
VOLUME ["/home/wikindx"]
|
VOLUME ["/home/wikindx"]
|
||||||
|
|
||||||
RUN mkdir -p /home/wikindx
|
RUN wget -O wikindx.tar.bz2 https://phoenixnap.dl.sourceforge.net/project/wikindx/6.4.9/wikindx_6.4.9.tar.bz2;tar jxf wikindx.tar.bz2
|
||||||
RUN wget -O wikindx.tar.bz2 https://phoenixnap.dl.sourceforge.net/project/wikindx/6.4.9/wikindx_6.4.9.tar.bz2
|
|
||||||
RUN tar jxf wikindx.tar.bz2
|
|
||||||
|
|
||||||
ENTRYPOINT ["docker-entrypoint-wikindx"]
|
ENTRYPOINT ["docker-entrypoint-wikindx"]
|
||||||
|
@ -29,7 +29,7 @@ fi
|
|||||||
# make sure configuration file is linked to application directory
|
# make sure configuration file is linked to application directory
|
||||||
if [ ! -e /var/www/html/config.php ]; then
|
if [ ! -e /var/www/html/config.php ]; then
|
||||||
echo "No link to configuration found in application directory ..."
|
echo "No link to configuration found in application directory ..."
|
||||||
ln -s /home/wikindx/config.php /var/www/html/config.php
|
ln -s /home/wikindx/config.php /var/www/html/wikindx/config.php
|
||||||
chown -R www-data.www-data /var/www/html/wikindx
|
chown -R www-data.www-data /var/www/html/wikindx
|
||||||
echo "created"
|
echo "created"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user