From ee3c2d34c1fc58e3907bc19d7625cce83a876e0d Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Wed, 7 Feb 2024 17:24:33 +0000 Subject: [PATCH] Issue #476 - Dynamic dependency installation doesn't work for other UID/GID runners --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ab6b556..97bd2f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -160,7 +160,8 @@ ENV PATH=/opt/robotframework/bin:/opt/robotframework/drivers:$PATH # Ensure the directory for Python dependencies exists RUN mkdir -p ${ROBOT_DEPENDENCY_DIR} \ - && chown ${ROBOT_UID}:${ROBOT_GID} ${ROBOT_DEPENDENCY_DIR} + && chown ${ROBOT_UID}:${ROBOT_GID} ${ROBOT_DEPENDENCY_DIR} \ + && chmod 777 ${ROBOT_DEPENDENCY_DIR} # Set up a volume for the generated reports VOLUME ${ROBOT_REPORTS_DIR}