-
Notifications
You must be signed in to change notification settings - Fork 24
/
Dockerfile
82 lines (78 loc) · 1.58 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
77
78
79
80
81
82
FROM cmptech/auto_alpine_php7_runtime_with_swoole_latest
Maintainer Wanjo Chan ( http://github.com/wanjochan/ )
# install basic lib for cmp
RUN echo "http://nl.alpinelinux.org/alpine/latest-stable/main" > /etc/apk/repositories \
&& echo "http://nl.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories \
&& echo "http://nl.alpinelinux.org/alpine/edge/community/" >> /etc/apk/repositories \
&& echo "nameserver 8.8.8.8" >> /etc/resolv.conf && apk update && apk upgrade \
&& apk add \
php7-openssl \
php7-sqlite3 \
php7-pear \
php7-gmp \
php7-pdo_mysql \
php7-pcntl \
php7-common \
php7-xsl \
php7-fpm \
php7-gmagick \
php7-mysqlnd \
php7-redis \
php7-snmp \
php7-mbstring \
php7-timezonedb \
php7-xmlreader \
php7-pdo_sqlite \
php7-exif \
php7-opcache \
php7-posix \
php7-session \
php7-gd \
php7-gettext \
php7-json \
php7-xml \
php7-mongodb \
php7 \
php7-iconv \
php7-sysvshm \
php7-curl \
php7-shmop \
php7-odbc \
php7-phar \
php7-pdo_pgsql \
php7-imap \
php7-pdo_dblib \
php7-pgsql \
php7-pdo_odbc \
php7-zip \
php7-cgi \
php7-ctype \
php7-mcrypt \
php7-bcmath \
php7-calendar \
php7-tidy \
php7-dom \
php7-sockets \
php7-memcached \
php7-soap \
php7-sysvmsg \
php7-zlib \
php7-ssh2 \
php7-ftp \
php7-sysvsem \
php7-pdo \
php7-bz2 \
php7-mysqli \
vim wget curl bash openssl \
&& rm -rf /var/cache/apk/* \
&& rm -rf /tmp/* \
&& ln -s /usr/sbin/php-fpm7 /usr/sbin/php-fpm
COPY php.ini /etc/php7/
#COPY php.ini /etc/php7/conf.d/50-setting.ini
#ADD default_entry.sh /root/
#COPY php-fpm.conf /etc/php7/php-fpm.conf
#EXPOSE 9000
#EXPOSE 9501
RUN php -i
#CMD ["/root/default_entry.sh"]
#CMD ["php-fpm7", "-F"]