commit df45b56376d10547c44f7c98cef9aa21f8665886 Author: Nicolas Massé Date: Fri Feb 2 16:39:20 2018 +0100 initial commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c365fea --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM registry.access.redhat.com/rhscl/httpd-24-rhel7:latest + +ADD share/cgi-bin /opt/rh/httpd24/root/var/www/cgi-bin/ +ADD share/html /opt/rh/httpd24/root/var/www/html + +VOLUME /ogl/data + +ENTRYPOINT [ "/usr/bin/run-httpd" ] +CMD [ ] diff --git a/share/cgi-bin/welcome.cgi b/share/cgi-bin/welcome.cgi new file mode 100755 index 0000000..5ca480b --- /dev/null +++ b/share/cgi-bin/welcome.cgi @@ -0,0 +1,6 @@ +#!/bin/sh + +echo "Content-Type: text/plain" +echo +echo "Hello World !" + diff --git a/share/html/index.html b/share/html/index.html new file mode 100644 index 0000000..1827b34 --- /dev/null +++ b/share/html/index.html @@ -0,0 +1,5 @@ + + +

Welcome !

+ +