Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to use nubs/phpunit base docker image. #29

Merged
merged 2 commits into from
Jul 28, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
FROM base/archlinux
FROM nubs/phpunit

USER root

RUN pacman --sync --refresh --noconfirm --noprogressbar --quiet
RUN pacman --sync --noconfirm --noprogressbar --quiet php xdebug php-mongo git openssh
RUN pacman --sync --noconfirm --noprogressbar --quiet php-mongo

ADD provisioning/php/php-extensions.ini /etc/php/conf.d/extensions.ini
ADD provisioning/php/xdebug.ini /etc/php/conf.d/xdebug.ini
ADD provisioning/set-env.sh /set-env.sh
# Get around a bug with docker registry where the owner is root for the home
# user. See https://github.com/docker/docker/issues/5892.
RUN chown -R build /home/build

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
USER build

VOLUME ["/code"]
WORKDIR /code
ADD provisioning/set-env.sh /home/build/set-env.sh

ENTRYPOINT ["/set-env.sh"]
CMD ["/code/build.php"]
ENTRYPOINT ["/home/build/set-env.sh"]
CMD ["./build.php"]
9 changes: 0 additions & 9 deletions tests/provisioning/php/php-extensions.ini

This file was deleted.

1 change: 0 additions & 1 deletion tests/provisioning/php/xdebug.ini

This file was deleted.