aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile.ubi8
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-03-04 18:07:49 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-03-04 18:07:49 +0100
commitc196eedabc73e7245b4baf05e7fdf35ac72879be (patch)
tree904888aa73f1c76f19498a2972042b5b3c29f008 /Dockerfile.ubi8
parent37e1aa24fa024a5d642f143638435975a48dcf61 (diff)
downloads2i-jekyll-c196eedabc73e7245b4baf05e7fdf35ac72879be.tar.gz
proxy setup
Diffstat (limited to 'Dockerfile.ubi8')
-rw-r--r--Dockerfile.ubi84
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile.ubi8 b/Dockerfile.ubi8
index 1bba7d0..ba74fc8 100644
--- a/Dockerfile.ubi8
+++ b/Dockerfile.ubi8
@@ -18,8 +18,10 @@ USER root
COPY ./s2i/bin/ /usr/libexec/s2i
COPY ./etc/jekyll-documentroot.conf /etc/httpd/conf.d/
+COPY ./etc/proxy.sh /etc/profile.d/
-RUN dnf upate -y;\
+RUN source /etc/profile.d/proxy.sh; \
+ dnf upate -y;\
dnf install -y httpd;\
gem install jekyll --version "= $JEKYLL_VERSION"