-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathDockerfile
76 lines (71 loc) · 1.27 KB
/
Dockerfile
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
FROM amazonlinux:latest
MAINTAINER Jason Gilmore <[email protected]>
ADD create-user.sh /tmp/create-user.sh
ADD create-cert.sh /tmp/create-cert.sh
ADD server-config.sh /tmp/server-config.sh
ADD start-servers.sh /usr/sbin/start-servers
RUN yum update -y && yum install -y \
sudo \
httpd24 \
mod24_ssl \
gcc \
memcached \
openssl-devel \
php70 \
php70-bcmath \
php70-cli \
php70-common \
php70-dba \
php70-dbg \
php70-devel \
php70-enchant \
php70-fpm \
php70-gd \
php70-gmp \
php70-imap \
php70-intl \
php70-json \
php70-ldap \
php70-mbstring \
php70-mcrypt \
php70-mysqlnd \
php70-odbc \
php70-opcache \
php70-pdo \
php70-pdo-dblib \
php70-pecl-igbinary \
php70-pecl-imagick \
php70-pecl-memcached \
php70-pecl-oauth \
php70-pecl-ssh2 \
php70-pecl-uuid \
php70-pecl-yaml \
php70-pgsql \
php70-process \
php70-pspell \
php70-recode \
php70-snmp \
php70-soap \
php70-tidy \
php70-xml \
php70-xmlrpc \
php70-zip \
php7-pear \
mysql57-server \
mongodb-org \
nano \
man \
git \
&& yum clean all
EXPOSE 80
EXPOSE 443
EXPOSE 3306
EXPOSE 11211
EXPOSE 27017
RUN /bin/bash /tmp/create-user.sh && \
rm /tmp/create-user.sh && \
/bin/bash /tmp/create-cert.sh && \
rm /tmp/create-cert.sh && \
/bin/bash /tmp/server-config.sh && \
rm /tmp/server-config.sh
CMD /usr/bin/env bash start-servers;sleep infinity