Public Repository

Last pushed: a year ago
Short Description
PHP 5 + Node 6.3.0
Full Description

This container is based on Debian 8.3 and contains installed php5 and node6.

It is great if you need to run phpunit tests or mocha tests for example with Shippable CI service.

FROM debian:8.3
MAINTAINER Dusan Plavak <dusan.plavak@gmail.com>

# Let the conatiner know that there is no tty
ENV DEBIAN_FRONTEND noninteractive
ENV COMPOSER_NO_INTERACTION 1

# Add Node.js repo
RUN apt-get update \
 && apt-get install --no-install-recommends -y \
 curl \
 apt-transport-https \
 ca-certificates \
 && curl -sL https://deb.nodesource.com/setup_6.x | bash - \
 && apt-get install -y nodejs git php5 php5-mcrypt php5-curl php5-json php5-sqlite\
 && ln -f -s /usr/bin/nodejs /usr/bin/node


# Show versions
RUN php -v
RUN node -v
RUN npm -v

# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer selfupdate
Docker Pull Command
Owner
ddeath

Comments (0)