File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,15 @@ RUN install-php-extensions @composer zip
9
9
10
10
COPY docker/php/unit.json /docker-entrypoint.d/config.json
11
11
COPY docker/php/php.ini /usr/local/etc/php/conf.d/satisfy.ini
12
- RUN chown -R www-data:www-data /var/www
12
+ RUN chown -R www-data:www-data /var/www && \
13
+ git config --global --add safe.directory /var/www/html
13
14
14
15
USER www-data
15
16
RUN mkdir -p ~/.ssh && chmod 0700 ~/.ssh && ssh-keyscan -H github.com >> ~/.ssh/known_hosts && \
16
17
mkdir -p ~/.composer && \
17
18
wget -O ~/.composer/keys.dev.pub https://composer.github.io/snapshots.pub && \
18
- wget -O ~/.composer/keys.tags.pub https://composer.github.io/releases.pub
19
+ wget -O ~/.composer/keys.tags.pub https://composer.github.io/releases.pub && \
20
+ git config --global --add safe.directory /var/www/html
19
21
VOLUME /var/www/.composer
20
22
21
23
ENV APP_PATH=/var/www/html
You can’t perform that action at this time.
0 commit comments