diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 61970601af56..163cb1ee2511 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -86,11 +86,6 @@ jobs: timeout-minutes: 60 steps: - uses: actions/checkout@v3 - - name: Trust 'greptimedb' repository - # To see why we need this, please refer to the comments in file docker/dev-builder/ubuntu/Dockerfile. - run: | - sudo git config --global --add safe.directory /greptimedb && \ - sudo git config --system --add safe.directory /greptimedb - uses: ./.github/actions/build-greptime-binary with: base-image: ubuntu diff --git a/docker/dev-builder/ubuntu/Dockerfile b/docker/dev-builder/ubuntu/Dockerfile index d78603234e43..1e0a902eea47 100644 --- a/docker/dev-builder/ubuntu/Dockerfile +++ b/docker/dev-builder/ubuntu/Dockerfile @@ -40,7 +40,7 @@ RUN apt-get -y purge python3.8 && \ # wildcard here. However, that requires the git's config files and the submodules all owned by the very same user. # It's troublesome to do this since the dev build runs in Docker, which is under user "root"; while outside the Docker, # it can be a different user that have prepared the submodules. -RUN git config --global --add safe.directory ‘*’ +RUN git config --global --add safe.directory * # Install Python dependencies. COPY $DOCKER_BUILD_ROOT/docker/python/requirements.txt /etc/greptime/requirements.txt