Created
December 9, 2015 01:50
-
-
Save caionitro/5b4b6ecc3030ddfc5bd7 to your computer and use it in GitHub Desktop.
docker com centos6, apache, php, nodejs, npm, bower, composer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:centos6 | |
MAINTAINER Caio Mariano | |
RUN yum -y update; | |
RUN yum -y install httpd; | |
RUN yum -y install php php-mbstring php-mysql; | |
RUN curl --silent --location https://rpm.nodesource.com/setup | bash -; | |
RUN yum -y install nodejs; | |
RUN npm install -g npm@latest; | |
RUN npm install -g bower; | |
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer; | |
# RUN echo "Apache HTTPD" >> /var/www/html/index.html | |
EXPOSE 80 | |
# ENTRYPOINT ["service httpd start"] | |
CMD exec /usr/sbin/apachectl -D FOREGROUND |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment