Skip to content
Snippets Groups Projects
Unverified Commit 609bd7f6 authored by Filipe Silva's avatar Filipe Silva Committed by GitHub
Browse files

fix: docker git needs config to trust source dir (#31066)

See https://www.kenmuse.com/blog/avoiding-dubious-ownership-in-dev-containers/ for details on how this happens with containers.

Fix #30865
parent 90adc4f5
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,10 @@ RUN apt-get update && apt-get upgrade -y && apt-get install openjdk-11-jdk curl
&& ./linux-install-1.11.1.1262.sh
COPY . .
# version is pulled from git, but git doesn't trust the directory due to different owners
RUN git config --global --add safe.directory /home/node
RUN INTERACTIVE=false CI=true MB_EDITION=$MB_EDITION bin/build.sh
# ###################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment