aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-09-10 14:49:51 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-09-10 14:49:51 +0200
commit9263655f4accdc2eccb34c27b3d82975858fee13 (patch)
treed57db238c890f369e7899d316f3936615fe356fb
parent0103cf0f0fd7f732e4daebe7bacbd3d06b848b8f (diff)
downloads2i-jekyll-9263655f4accdc2eccb34c27b3d82975858fee13.tar.gz
more debug
-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" "$@"