diff --git a/docker/Dockerfile b/docker/Dockerfile index d2f0740..c4fdb38 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -27,5 +27,8 @@ WORKDIR /workspace # Change ownership of the workspace to "user" RUN chown -R user:user /workspace +# fix for dubious ownership when using Github Actions +RUN git config --global --add safe.directory /__w/meltdown-chess-engine + # Switch to the non-root user USER user