FROM docker.shemic.com/os/alpine/v3.4:latest MAINTAINER Rabin "https://github.com/shemic" RUN apk add --no-cache --update curl php5-fpm php5-mysql php5-pgsql php5-pdo_mysql php5-pdo_pgsql php5-gd php5-curl php5-mcrypt php5-json php5-zlib php5-xml php5-iconv php5-zip php5-phar php5-memcache php5-openssl php5-dom && curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/bin/composer && apk del curl COPY php.sh /entrypoint/php.sh VOLUME ["/www", "/etc/php5"] EXPOSE 9000 CMD ["php"]