Merge pull request #3730 from kolyshkin/fix-build

Dockerfile: fix build wrt new git
This commit is contained in:
Sebastiaan van Stijn
2023-02-09 17:21:27 +01:00
committed by GitHub
+3
View File
@@ -58,4 +58,7 @@ ENV LIBSECCOMP_VERSION=$LIBSECCOMP_VERSION
ENV LD_LIBRARY_PATH=/opt/libseccomp/lib
ENV PKG_CONFIG_PATH=/opt/libseccomp/lib/pkgconfig
# Prevent the "fatal: detected dubious ownership in repository" git complain during build.
RUN git config --global --add safe.directory /go/src/github.com/opencontainers/runc
WORKDIR /go/src/github.com/opencontainers/runc