This commit is contained in:
72
Dockerfile
Normal file
72
Dockerfile
Normal file
@@ -0,0 +1,72 @@
|
||||
FROM alpine:latest
|
||||
RUN apk update && apk upgrade
|
||||
RUN apk add bash
|
||||
RUN apk add autoconf
|
||||
RUN apk add automake
|
||||
RUN apk add make
|
||||
RUN apk add gcc
|
||||
RUN apk add g++
|
||||
RUN apk add nginx
|
||||
RUN apk add redis
|
||||
RUN apk add php82
|
||||
RUN apk add php82-fpm
|
||||
RUN apk add php82-opcache
|
||||
RUN apk add php82-gd
|
||||
RUN apk add php82-zlib
|
||||
RUN apk add php82-curl
|
||||
RUN apk add php82-bz2
|
||||
RUN apk add php82-bcmath
|
||||
RUN apk add php82-exif
|
||||
RUN apk add php82-fileinfo
|
||||
RUN apk add php82-iconv
|
||||
RUN apk add php82-imap
|
||||
RUN apk add php82-intl
|
||||
RUN apk add php82-ldap
|
||||
RUN apk add php82-mbstring
|
||||
RUN apk add php82-mysqli
|
||||
RUN apk add php82-odbc
|
||||
RUN apk add php82-pdo
|
||||
RUN apk add php82-pdo_mysql
|
||||
RUN apk add php82-pdo_odbc
|
||||
RUN apk add php82-pdo_pgsql
|
||||
RUN apk add php82-pdo_sqlite
|
||||
RUN apk add php82-pdo_dblib
|
||||
RUN apk add php82-pear
|
||||
RUN apk add php82-pecl-imagick
|
||||
RUN apk add php82-pecl-memcache
|
||||
RUN apk add php82-pecl-memcached
|
||||
RUN apk add php82-pecl-mongodb
|
||||
RUN apk add php82-pecl-redis
|
||||
RUN apk add php82-pecl-smbclient
|
||||
RUN apk add php82-pecl-ssh2
|
||||
RUN apk add php82-pecl-xdebug
|
||||
RUN apk add php82-pecl-yaml
|
||||
RUN apk add php82-pgsql
|
||||
RUN apk add php82-phar
|
||||
RUN apk add php82-phpdbg
|
||||
RUN apk add php82-session
|
||||
RUN apk add php82-simplexml
|
||||
RUN apk add php82-snmp
|
||||
RUN apk add php82-soap
|
||||
RUN apk add php82-sockets
|
||||
RUN apk add php82-sodium
|
||||
RUN apk add php82-sqlite3
|
||||
RUN apk add php82-sysvmsg
|
||||
RUN apk add php82-tidy
|
||||
RUN apk add php82-xml
|
||||
RUN apk add php82-xmlreader
|
||||
RUN apk add php82-xmlwriter
|
||||
RUN apk add php82-xsl
|
||||
RUN apk add php82-zip
|
||||
RUN apk add php82-ctype
|
||||
RUN apk add php82-tokenizer
|
||||
COPY nginx /etc/nginx
|
||||
COPY php /etc/php82
|
||||
COPY redis/redis.conf /etc/redis.conf
|
||||
RUN mkdir /var/run/php
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
EXPOSE 6379
|
||||
EXPOSE 9000
|
||||
STOPSIGNAL SIGTERM
|
||||
CMD ["/bin/bash", "-c", "chmod 755 /usr/share/nginx/html && php-fpm82 && nginx -g 'daemon off;' && redis-server /etc/redis.conf"]
|
Reference in New Issue
Block a user