-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (20 loc) · 787 Bytes
/
Dockerfile
File metadata and controls
30 lines (20 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM tutum/lamp
RUN apt-get install -y curl && \
rm /var/www/html && \
git clone -b v4.0-rc.1 https://github.com/thebuggenie/thebuggenie /efesto/buggenie
ENV MYSQL_PASS MYPASS
RUN ln -s /efesto/buggenie/thebuggenie /var/www/html
WORKDIR /efesto/buggenie
RUN curl -sS https://getcomposer.org/installer | php
RUN apt-get -y update && \
apt-get -y install php5-gd php5-curl
RUN php composer.phar install
ADD .htaccess /efesto/buggenie/thebuggenie/.htaccess
ADD create_mysql_admin_user.sh /create_mysql_admin_user.sh
RUN mkdir /efesto/buggenie/cache/ && \
chmod a+w -R /efesto && \
touch /efesto/buggenie/core/config/b2db.yml && \
chmod a+w /efesto/buggenie/core/config/b2db.yml && \
chmod a+w /create_mysql_admin_user.sh
EXPOSE 80 3306
CMD ["/run.sh"]