summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatryk Mungai <patryk.mungai-ndungu.kx@renesas.com>2018-10-31 12:19:44 +0000
committerPatryk Mungai <patryk.mungai-ndungu.kx@renesas.com>2018-10-31 12:19:44 +0000
commit41623858d726e00eb7ef0f7ac143e574f1f81ba7 (patch)
tree19f77e02bf5f42b302239e7cb1084e61ad673ff2
parent3aba32655a1d0ce33e4f20f88fa3c375b4b180e2 (diff)
lava-master: fix permissions on health-checks
This fix allows users to add healthcheck files via API by changing ownership from root to lavaserver. Without it users encounter a permissions error. Signed-off-by: Patryk Mungai <patryk.mungai-ndungu.kx@renesas.com>
-rw-r--r--lava-master/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lava-master/Dockerfile b/lava-master/Dockerfile
index cf47c39..668c41f 100644
--- a/lava-master/Dockerfile
+++ b/lava-master/Dockerfile
@@ -7,6 +7,7 @@ COPY configs/tftpd-hpa /etc/default/tftpd-hpa
RUN git clone https://github.com/BayLibre/lava-healthchecks.git
RUN cp lava-healthchecks/health-checks/* /etc/lava-server/dispatcher-config/health-checks/
COPY health-checks/* /etc/lava-server/dispatcher-config/health-checks/
+RUN chown -R lavaserver:lavaserver /etc/lava-server/dispatcher-config/health-checks/
COPY devices/ /root/devices/
COPY device-types/ /root/device-types/