aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile1
-rwxr-xr-xs2i/bin/run2
2 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 39bd9b8..6cf7e25 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,6 +20,7 @@ RUN yum install -y centos-release-scl && \
rh-ruby${RH_RUBY_VERSION}-rubygem-bundler && \
yum clean all -y
+RUN cp /usr/libexec/s2i/run /usr/libexec/s2i/run.httpd
COPY ./s2i/bin/ /usr/libexec/s2i
COPY ./etc/ /etc
diff --git a/s2i/bin/run b/s2i/bin/run
index b1ad5d8..0523838 100755
--- a/s2i/bin/run
+++ b/s2i/bin/run
@@ -3,3 +3,5 @@ set -x
id -a
pwd
ls -la
+ls -la documentroot
+exec "${0}.httpd" "$@"