Added packages and stuff, and other config's

This commit is contained in:
Stian Buch Larsen 2015-08-24 13:18:24 +02:00
parent feb11d3308
commit 251929c090

View File

@ -1,11 +1,9 @@
FROM linuxserver/baseimage
MAINTAINER Your Name <your@email.com>
FROM linuxserver/baseimage-nginx
MAINTAINER Stian Larsen <lonix@linuxserver.io>
#Applying stuff
RUN apt-get update -q && \
##DO STUFF HERE
## END EACH LINE WITH && \
## EXCEPT THE LINE BELOW
apt-get install php5-fpm php5-mysql php5-mcrypt php5-curl php5-gd php5-cgi php5-pgsql php5-sqlite && \
apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
@ -19,8 +17,8 @@ RUN chmod -v +x /etc/service/*/run && chmod -v +x /etc/my_init.d/*.sh
# Volumes and Ports
VOLUME /volume
EXPOSE PORT
VOLUME /config
EXPOSE 80 443
## NOTES ##
## Delete files\folders not needed, e.g. if you dont run any cron commands, delete the cron folder and the "ADD cron/ /etc/cron.d/" line.