File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,6 @@ COPY setup/markdownlint/problem-matcher.json /etc/laminas-ci/problem-matcher/mar
242
242
COPY setup/phpunit/problem-matcher.json /etc/laminas-ci/problem-matcher/phpunit.json
243
243
244
244
245
- RUN useradd -ms /bin/bash testuser \
246
- && sudo -u testuser git config --global --add safe.directory '*'
245
+ RUN useradd -ms /bin/bash testuser
247
246
248
247
ENTRYPOINT ["entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -144,6 +144,8 @@ update-alternatives --quiet --set php-config "/usr/bin/php-config${PHP}"
144
144
update-alternatives --quiet --set phpize " /usr/bin/phpize${PHP} "
145
145
update-alternatives --quiet --set phpdbg " /usr/bin/phpdbg${PHP} "
146
146
147
+ # Marks the working directory as safe for the current user prior to checkout
148
+ git config --global --add safe.directory ' *'
147
149
checkout
148
150
149
151
# Is there a pre-install script available?
You can’t perform that action at this time.
0 commit comments