diff --git a/Dockerfile b/Dockerfile index 010f5940..95a8f825 100644 --- a/Dockerfile +++ b/Dockerfile @@ -233,6 +233,9 @@ COPY --from=shared-libs-builder /app/packages/shared ./packages/shared # Configure dependencies RUN apk add --no-cache git ca-certificates bind-tools tini jansson wget supervisor uuidgen curl perl jq redis postgresql postgresql-contrib openssl util-linux unzip +# Fixes git "dubious ownership" issues when the volume is mounted with different permissions to the container. +RUN git config --global safe.directory "*" + # Configure the database RUN mkdir -p /run/postgresql && \ chown -R postgres:postgres /run/postgresql && \