aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-11-23 09:54:16 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-11-23 09:54:16 +0000
commitd09aa6df8af4f37524bc80498fed681768e586c0 (patch)
treeefd9b6cccc9ca8755930bb3fca3aa7d50079d2af
parent2b6341441c00470c574c0094c5f91226f052beed (diff)
downloaddockerfiles-d09aa6df8af4f37524bc80498fed681768e586c0.tar.gz
latest-amd64-tcwg-llvmmonitor: Fix page icon
... by symlinking html/ directory from scripts installation. Change-Id: Ia9e48cf502278ff10f7356c61dad253ab1dc96cd
-rw-r--r--latest-amd64-tcwg-llvmmonitor/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/latest-amd64-tcwg-llvmmonitor/Dockerfile b/latest-amd64-tcwg-llvmmonitor/Dockerfile
index 0a0b60f..36b666e 100644
--- a/latest-amd64-tcwg-llvmmonitor/Dockerfile
+++ b/latest-amd64-tcwg-llvmmonitor/Dockerfile
@@ -8,7 +8,9 @@ RUN apt-get update \
libwww-perl \
&& git clone https://git.linaro.org/toolchain/llvm/linaro-scripts.git \
&& /linaro-scripts/monitor/install.sh /linaro-scripts-monitor \
- && echo "*/5 * * * * /linaro-scripts-monitor/bin/bot-status /linaro-scripts-monitor/bin/linaro.json /usr/share/nginx/html/index.html && chmod +r /usr/share/nginx/html/index.html" | crontab - \
+ && rm -rf /usr/share/nginx/html \
+ && ln -s /linaro-scripts-monitor/html /usr/share/nginx/html \
+ && echo "*/5 * * * * /linaro-scripts-monitor/bin/bot-status /linaro-scripts-monitor/bin/linaro.json /linaro-scripts-monitor/html/index.html" | crontab - \
&& rm -rf \
/var/lib/apt/lists/* \
/tmp/* \