From 8e466f725e961f76bf2837e2c071b7af587a5b70 Mon Sep 17 00:00:00 2001 From: Arnstein Ressem Date: Thu, 23 Feb 2023 13:51:08 +0100 Subject: [PATCH] Set the vespa-cli directories to use /tmp as the vespa user do not have permissions to write to /opt/vespa. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index e051801..32d387f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,6 +40,8 @@ LABEL org.opencontainers.image.authors="Vespa (https://vespa.ai)" \ ENV VESPA_LOG_STDOUT="true" ENV VESPA_LOG_FORMAT="vespa" +ENV VESPA_CLI_HOME=/tmp/.vespa +ENV VESPA_CLI_CACHE_DIR=/tmp/.cache/vespa USER vespa