#================= # Setup git to access working directory across docker boundary. # This avoids the "fatal: detected dubious ownership in repository XYZ" # git error. Using "--system" makes the setting work # for all users or even current user is not properly defined # (which can happen e.g. inside execution environment # of a bazel action) RUN git config --system --add safe.directory '*' RUN git config --system protocol.file.allow always