Compare commits
1 Commits
6127283c37
...
b3b8816259
Author | SHA1 | Date | |
---|---|---|---|
b3b8816259 |
@ -24,6 +24,8 @@ 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 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 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
|
||||||
|
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/wikindx/config.php
|
ln -s /home/wikindx/config.php /var/www/html/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