This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:centos6 | |
RUN yum install -y mysql mysql-server php php-mysql php-pdo php-gd php-mbstring php-bcmath httpd tar | |
RUN curl -L -o RackTables-latest.tar.gz 'http://sourceforge.net/projects/racktables/files/latest/download?source=files' | |
RUN tar xzf RackTables-latest.tar.gz | |
RUN cd $(find -type d -name 'RackTables-*') && rmdir /var/www/html && cp -a wwwroot /var/www/html | |
RUN touch /var/www/html/inc/secret.php && chmod 666 /var/www/html/inc/secret.php | |
ADD init.sql /usr/local/share/racktables/init.sql |