Compare commits
1 Commits
b3b8816259
...
cd1ea8b54c
Author | SHA1 | Date | |
---|---|---|---|
cd1ea8b54c |
@ -1,5 +1,5 @@
|
|||||||
FROM php:7-apache-buster
|
FROM php:7-apache-buster
|
||||||
WORKDIR /var/www/html
|
WORKDIR /home/
|
||||||
RUN sed -i 's/deb.debian.org/ftp.de.debian.org/g' /etc/apt/sources.list
|
RUN sed -i 's/deb.debian.org/ftp.de.debian.org/g' /etc/apt/sources.list
|
||||||
RUN apt-get -q -y update && apt-get -q -y upgrade
|
RUN apt-get -q -y update && apt-get -q -y upgrade
|
||||||
RUN apt-get -q -y install default-libmysqlclient-dev wget mariadb-server
|
RUN apt-get -q -y install default-libmysqlclient-dev wget mariadb-server
|
||||||
@ -25,6 +25,7 @@ VOLUME ["/var/lib/mysql"]
|
|||||||
VOLUME ["/home/wikindx"]
|
VOLUME ["/home/wikindx"]
|
||||||
|
|
||||||
RUN mkdir -p /home/wikindx
|
RUN mkdir -p /home/wikindx
|
||||||
|
WORKDIR /var/www/html
|
||||||
RUN wget -O wikindx.tar.bz2 https://phoenixnap.dl.sourceforge.net/project/wikindx/6.4.9/wikindx_6.4.9.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
|
RUN tar jxf wikindx.tar.bz2
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ if [ ! -d /var/lib/mysql/wikindx6 ] ; then
|
|||||||
mysql -u root < create.sql
|
mysql -u root < create.sql
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ls /home/wikindx/
|
||||||
|
|
||||||
# for updating from old docker container
|
# for updating from old docker container
|
||||||
if [ -e /home/wikindx/index.php ]; then
|
if [ -e /home/wikindx/index.php ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user