mirror of
https://github.com/fspc/ybdb.git
synced 2025-02-28 18:43:23 -05:00
This should fix the compile.
This commit is contained in:
parent
c3c5a86c57
commit
9c92df8da9
@ -13,6 +13,7 @@ RUN cd /var/www/html/; \
|
|||||||
git clone -b devel https://github.com/fspc/Yellow-Bike-Database.git .; \
|
git clone -b devel https://github.com/fspc/Yellow-Bike-Database.git .; \
|
||||||
|
|
||||||
COPY YBDB.php /var/www/html/Connections/
|
COPY YBDB.php /var/www/html/Connections/
|
||||||
|
COPY populate.sql /var/www/html/
|
||||||
RUN service mysql start; \
|
RUN service mysql start; \
|
||||||
mysqladmin create ybdb; \
|
mysqladmin create ybdb; \
|
||||||
mysql -e "GRANT ALL PRIVILEGES ON ybdb.* TO 'admin'@'%' IDENTIFIED BY 'yblcatx' with grant option"; \
|
mysql -e "GRANT ALL PRIVILEGES ON ybdb.* TO 'admin'@'%' IDENTIFIED BY 'yblcatx' with grant option"; \
|
||||||
@ -21,7 +22,6 @@ RUN service mysql start; \
|
|||||||
|
|
||||||
COPY mysql.conf /etc/supervisor/conf.d/
|
COPY mysql.conf /etc/supervisor/conf.d/
|
||||||
COPY apache2.conf /etc/supervisor/conf.d/
|
COPY apache2.conf /etc/supervisor/conf.d/
|
||||||
COPY sshd.conf /etc/supervisor/conf.d/
|
|
||||||
|
|
||||||
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]
|
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user