From 3399ef3b778c5bc27288e4abc857caa602401e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20=C4=8C=C3=A1p?= Date: Mon, 13 Nov 2023 12:58:03 +0100 Subject: [PATCH] Make testsuite image runnable in OpenShift --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6c67e16f..b71bcb5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,9 +21,11 @@ WORKDIR /opt/workdir/kuadrant-testsuite COPY . . -RUN mkdir -m 0700 /test-run-results && mkdir -m 0700 /opt/workdir/virtualenvs && chown testsuite /test-run-results && \ +RUN mkdir -m 0770 /test-run-results && mkdir -m 0750 /opt/workdir/virtualenvs && chown testsuite /test-run-results && \ chown testsuite -R /opt/workdir/* +RUN touch /run/kubeconfig && chmod 660 /run/kubeconfig && chown testsuite /run/kubeconfig + USER testsuite