Compare commits
1 Commits
cd1ea8b54c
...
b3b8816259
Author | SHA1 | Date | |
---|---|---|---|
b3b8816259 |
@ -1,5 +1,5 @@
|
|||||||
FROM php:7-apache-buster
|
FROM php:7-apache-buster
|
||||||
WORKDIR /home/
|
WORKDIR /var/www/html
|
||||||
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,7 +25,6 @@ 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,7 +7,6 @@ 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