Skip to content

Instantly share code, notes, and snippets.

View puppetmaster886's full-sized avatar

puppetmaster886

View GitHub Profile
@hayajo
hayajo / Dockerfile
Last active April 12, 2017 00:02
RackTablesつかってみようず(Docker版)
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