Public Repository

Last pushed: a year ago
Short Description
Small container containing assorted build tools for building web applications.
Full Description

Contents:

  • ant
  • composer
  • node
  • npm
  • bower
  • gulp

FROM debian:jessie

RUN apt-get -y update

RUN apt-get -y install g++ make curl git ant php5 php5-curl --fix-missing

RUN curl -sL https://deb.nodesource.com/setup_5.x | bash -
RUN apt-get install -y nodejs

RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php -r "if (hash_file('SHA384', 'composer-setup.php') === '070854512ef404f16bac87071a6db9fd9721da1684cd4589b1196c3faf71b9a2682e2311b36a5079825e155ac7ce150d') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" && php composer-setup.php && php -r "unlink('composer-setup.php');"

RUN echo '#!/bin/bash \n php /composer.phar $*' > /usr/bin/composer
RUN chmod 755 /usr/bin/composer

RUN echo 'phar.readonly = Off' >> /etc/php5/cli/php.ini

RUN npm install -g bower

RUN npm install -g gulp

Docker Pull Command
Owner
wicked

Comments (0)