summaryrefslogtreecommitdiffstats
path: root/lava-master/Dockerfile
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2020-07-13 13:25:52 +0200
committerCorentin LABBE <clabbe@baylibre.com>2020-07-13 13:36:10 +0200
commit3fa641e74700acad323fe19f1eadb285aeb1dd66 (patch)
treecc13844c12d10cc63883f51d3d37390abe6960cb /lava-master/Dockerfile
parent3860f1bb528503f6f2fb38d79d207d13498bc226 (diff)
Permit to set the postgres lavaserver password
By setting pg_lava_password, the final lavaserver password will be set to this value.
Diffstat (limited to 'lava-master/Dockerfile')
-rw-r--r--lava-master/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lava-master/Dockerfile b/lava-master/Dockerfile
index 5bf989a..6396253 100644
--- a/lava-master/Dockerfile
+++ b/lava-master/Dockerfile
@@ -39,6 +39,8 @@ COPY apache2/ /etc/apache2/
# Fixes 'postgresql ERROR: invalid locale name: "en_US.UTF-8"' when restoring a backup
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen en_US.UTF-8
+COPY pg_lava_password /root
+
# TODO: send this fix to upstream
RUN sed -i 's,find /root/entrypoint.d/ -type f,find /root/entrypoint.d/ -type f | sort,' /root/entrypoint.sh
# TODO: send this fix to upstream