Skip to content

Commit e2a3324

Browse files
authored
fix: resolve Git dubious ownership error for mounted volume
fix: resolve Git dubious ownership error for mounted volume
2 parents 17c1e4c + 3c1b8a5 commit e2a3324

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5959
libopenblas0 \
6060
libopencv-core406 libopencv-imgproc406 libopencv-imgcodecs406 \
6161
ca-certificates openssl git \
62-
&& rm -rf /var/lib/apt/lists/*
62+
&& rm -rf /var/lib/apt/lists/* \
63+
&& git config --system --add safe.directory /app/AzurLaneAutoScript
6364

6465
COPY --from=builder ${PYROOT} ${PYROOT}
6566
COPY --from=builder /opt/platform-tools /opt/platform-tools

0 commit comments

Comments
 (0)