Skip to content

Commit 0cd352d

Browse files
add config setting
1 parent 5e3e4f0 commit 0cd352d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,9 @@ COPY --from=shared-libs-builder /app/packages/shared ./packages/shared
233233
# Configure dependencies
234234
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
235235

236+
# Fixes git "dubious ownership" issues when the volume is mounted with different permissions to the container.
237+
RUN git config --global safe.directory "*"
238+
236239
# Configure the database
237240
RUN mkdir -p /run/postgresql && \
238241
chown -R postgres:postgres /run/postgresql && \

0 commit comments

Comments
 (0)