aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2023-05-05 17:02:33 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2023-05-05 17:02:33 +0200
commitc38ea410d766901b73ff6704b5352d55875e3cc2 (patch)
treef3eb3f8240b2b2c8f09dd8cbfa4178658fff34e0
parent067cdfcbf63b27ad12cf0d63f71fad7153417f71 (diff)
Set xtesting as owner of rally files
Change-Id: I35658a469e3b54973d24959a0771e8fa749136ee Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--docker/core/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index dbd864ef..881abb4b 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -41,8 +41,8 @@ RUN apk -U upgrade && \
mkdir -p /var/lib/rally/database && rally db create && \
rm -r /src/requirements/.git /tmp/Try-a-quick-fix-vs-asynchronuous-issues.patch && \
addgroup -g 1000 xtesting && adduser -u 1000 -G xtesting -D xtesting && \
- mkdir -p /etc/xtesting && chown -R xtesting: /etc/xtesting && \
- mkdir -p /var/lib/xtesting/results && chown -R xtesting: /var/lib/xtesting && \
+ mkdir -p /etc/xtesting && chown -R xtesting: /etc/xtesting /etc/rally && \
+ mkdir -p /var/lib/xtesting/results && chown -R xtesting: /var/lib/xtesting /var/lib/rally && \
apk del .build-deps
USER xtesting
COPY logging.ini /etc/xtesting/logging.ini