Skip to content

Commit

Permalink
Update docs regarding slow chown operation
Browse files Browse the repository at this point in the history
  • Loading branch information
g-kartik committed Apr 28, 2024
1 parent ffc93e7 commit 319cc01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .devcontainer/Dockerfile
Expand Up @@ -46,6 +46,10 @@ RUN curl --silent "https://api.github.com/repos/open-policy-agent/opa/releases/t

RUN /usr/bin/python3 -m venv /opt/venv-test
ENV PATH="/opt/venv-test/bin:${PATH}"

# This command shall the slow in linux docker host running old kernel as it shall do
# regular copy instead of metadata only copy for chown operation.
# Tracking this issue at https://github.com/docker/for-linux/issues/388#issuecomment-1108689413
RUN chown -R devcontainer /opt/venv /opt/venv-test

# If the volume mounted directories does not exist then they shall be created
Expand Down

0 comments on commit 319cc01

Please sign in to comment.