diff --git a/Dockerfile.dapper b/Dockerfile.dapper index d2e8c932b..00e916e98 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -8,5 +8,7 @@ ENV DAPPER_OUTPUT=${DAPPER_SOURCE}/output WORKDIR ${DAPPER_SOURCE} +RUN git config --global --add safe.directory ${DAPPER_SOURCE} + ENTRYPOINT ["/opt/shipyard/scripts/entry"] CMD ["sh"] diff --git a/Dockerfile.linting b/Dockerfile.linting index bf121cf2e..023687b94 100644 --- a/Dockerfile.linting +++ b/Dockerfile.linting @@ -6,5 +6,7 @@ ENV DAPPER_OUTPUT=${DAPPER_SOURCE}/output WORKDIR ${DAPPER_SOURCE} +RUN git config --global --add safe.directory ${DAPPER_SOURCE} + ENTRYPOINT ["/opt/shipyard/scripts/entry"] CMD ["sh"]