Skip to content

Commit d94b96a

Browse files
authored
Merge pull request #95 from Ocramius/fix/allow-git-operations-on-untrusted-repositories
Fix: disable `git`'s `safe.directory` handling completely
2 parents 795a526 + 42ae46d commit d94b96a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ RUN apt update \
206206
&& apt autoremove -y \
207207
&& apt clean
208208

209+
RUN git config --global --add safe.directory '*'
209210

210211
# Build/install static modules that do not have packages
211212
COPY mods-available /mods-available

0 commit comments

Comments
 (0)