summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lava-master/Dockerfile2
-rwxr-xr-xlava-master/entrypoint.d/01_setup.sh3
-rw-r--r--lava-slave/Dockerfile2
3 files changed, 5 insertions, 2 deletions
diff --git a/lava-master/Dockerfile b/lava-master/Dockerfile
index 92025e6..8a3def4 100644
--- a/lava-master/Dockerfile
+++ b/lava-master/Dockerfile
@@ -1,4 +1,4 @@
-FROM lavasoftware/lava-server:2020.07
+FROM lavasoftware/lava-server:2021.01
RUN apt-get update && apt-get -y install sudo lava-coordinator git
diff --git a/lava-master/entrypoint.d/01_setup.sh b/lava-master/entrypoint.d/01_setup.sh
index e3619f7..ad84072 100755
--- a/lava-master/entrypoint.d/01_setup.sh
+++ b/lava-master/entrypoint.d/01_setup.sh
@@ -217,4 +217,7 @@ if [ -e /etc/lava-dispatcher/certificates.d/$(hostname).key ];then
sed -i 's,.*ENCRYPT=.*,ENCRYPT="--encrypt",' /etc/lava-server/lava-logs || exit $?
sed -i 's,.*MASTER_CERT=.*,MASTER_CERT="--master-cert /etc/lava-dispatcher/certificates.d/$(hostname).key_secret",' /etc/lava-server/lava-logs || exit $?
fi
+
+echo "DEBUG: fix owning rights on /etc/lava-server/dispatcher-config"
+chown -Rc lavaserver:lavaserver /etc/lava-server/dispatcher-config
exit 0
diff --git a/lava-slave/Dockerfile b/lava-slave/Dockerfile
index 8412fcf..b87130e 100644
--- a/lava-slave/Dockerfile
+++ b/lava-slave/Dockerfile
@@ -1,4 +1,4 @@
-FROM lavasoftware/lava-dispatcher:2020.07
+FROM lavasoftware/lava-dispatcher:2021.01
RUN apt-get update