File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM base/archlinux
1+ FROM nubs/phpunit
2+
3+ USER root
24
35RUN pacman --sync --refresh --noconfirm --noprogressbar --quiet
4- RUN pacman --sync --noconfirm --noprogressbar --quiet php xdebug php -mongo git openssh
6+ RUN pacman --sync --noconfirm --noprogressbar --quiet php-mongo
57
6- ADD provisioning/php/php-extensions.ini /etc/php/conf.d/extensions.ini
7- ADD provisioning/php/xdebug.ini /etc/php/conf.d/xdebug.ini
8- ADD provisioning/set-env.sh /set-env.sh
8+ # Get around a bug with docker registry where the owner is root for the home
9+ # user. See https://github.com/docker/docker/issues/5892.
10+ RUN chown -R build /home/build
911
10- RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
12+ USER build
1113
12- VOLUME ["/code" ]
13- WORKDIR /code
14+ ADD provisioning/set-env.sh /home/build/set-env.sh
1415
15- ENTRYPOINT ["/set-env.sh" ]
16- CMD ["/code /build.php" ]
16+ ENTRYPOINT ["/home/build/ set-env.sh" ]
17+ CMD [". /build.php" ]
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments