Skip to content

Commit

Permalink
silence git safe directory commands
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Dec 24, 2023
1 parent f78d0e4 commit afcee83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ RUN set -x \
&& apt-get install -y --no-install-recommends apt-utils ca-certificates wget git bash mercurial bzr xz-utils socat build-essential gcc protobuf-compiler \
&& rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/man /tmp/*

# https://stackoverflow.com/a/73100228
RUN set -x \
&& git config --global --add safe.directory '*'

# https://github.com/gardener/gardener/issues/289
RUN set -x \
&& mkdir -p /go/src/k8s.io \
Expand Down

0 comments on commit afcee83

Please sign in to comment.