From bf8bd6d678eca988ab2644151e5b6bbba0316597 Mon Sep 17 00:00:00 2001 From: Antoine Paletta <98616558+apaletta3@users.noreply.github.com> Date: Thu, 4 Jan 2024 21:45:32 +0100 Subject: [PATCH] fix: non-root dev container ostk data issue (#312) fix: non-root dev container issues --- docker/development/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/development/Dockerfile b/docker/development/Dockerfile index 399f9100a..da7639432 100644 --- a/docker/development/Dockerfile +++ b/docker/development/Dockerfile @@ -188,6 +188,10 @@ RUN groupadd --gid ${USER_GID} ${USERNAME} || true \ && adduser --uid ${USER_UID} --gid ${USER_GID} ${USERNAME} \ && echo "${USERNAME} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/${USERNAME} +# Change ownership of OSTK_PHYSICS_DATA_LOCAL_REPOSITORY + +RUN chown -R ${USERNAME}:${USERNAME} ${OSTK_PHYSICS_DATA_LOCAL_REPOSITORY} + # Use non-root user USER ${USERNAME}