File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -129,5 +129,7 @@ RUN mkdir "$TMP_BUILD_DIR" && cd "$TMP_BUILD_DIR" \
129129ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION_TAG}/tini-static-arm64 /sbin/tini
130130RUN chmod +x /sbin/tini
131131
132+ ADD tools/devctr/ctr_gitconfig /root/.gitconfig
133+
132134WORKDIR "$FIRECRACKER_SRC_DIR"
133135ENTRYPOINT ["/sbin/tini", "--"]
Original file line number Diff line number Diff line change @@ -142,5 +142,7 @@ RUN mkdir "$TMP_BUILD_DIR" && cd "$TMP_BUILD_DIR" \
142142ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION_TAG}/tini-static-amd64 /sbin/tini
143143RUN chmod +x /sbin/tini
144144
145+ ADD tools/devctr/ctr_gitconfig /root/.gitconfig
146+
145147WORKDIR "$FIRECRACKER_SRC_DIR"
146148ENTRYPOINT ["/sbin/tini", "--"]
Original file line number Diff line number Diff line change 1+ # Add the root firecracker git folder as a safe directory in .gitconfig.
2+ # Firecracker root git folder in the container is
3+ # bind-mounted to a folder on the host which is mapped to a
4+ # user that is different from the user which runs the integ tests.
5+ # This difference in ownership is validated against by git.
6+ # https://github.blog/2022-04-12-git-security-vulnerability-announced/
7+
8+ [safe]
9+ directory = /firecracker
You can’t perform that action at this time.
0 commit comments