Skip to content

Commit

Permalink
fix: non-root dev container ostk data issue (#312)
Browse files Browse the repository at this point in the history
fix: non-root dev container issues
  • Loading branch information
apaletta3 authored Jan 4, 2024
1 parent 4daa7f9 commit bf8bd6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/development/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit bf8bd6d

Please sign in to comment.