From df45b56376d10547c44f7c98cef9aa21f8665886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Fri, 2 Feb 2018 16:39:20 +0100 Subject: [PATCH] initial commit --- Dockerfile | 9 +++++++++ share/cgi-bin/welcome.cgi | 6 ++++++ share/html/index.html | 5 +++++ 3 files changed, 20 insertions(+) create mode 100644 Dockerfile create mode 100755 share/cgi-bin/welcome.cgi create mode 100644 share/html/index.html 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 !

+ +