From 41623858d726e00eb7ef0f7ac143e574f1f81ba7 Mon Sep 17 00:00:00 2001 From: Patryk Mungai Date: Wed, 31 Oct 2018 12:19:44 +0000 Subject: 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 --- lava-master/Dockerfile | 1 + 1 file changed, 1 insertion(+) (limited to 'lava-master') 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/ -- cgit 1.2.3-korg