friendica-docker-ci/php7.1/Dockerfile

20 lines
985 B
Docker
Raw Normal View History

2019-09-19 15:18:18 +02:00
FROM debian:jessie
# install the PHP extensions we need
# see https://friendi.ca/resources/requirements/
RUN set -ex; \
apt-get update; \
apt-get install -y wget gnupg2 libzip2 apt-transport-https lsb-release ca-certificates; \
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg; \
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list; \
apt-get update; \
2019-09-23 15:22:36 +02:00
apt-get install -y php7.1-gd git curl openssl \
2019-09-19 15:18:18 +02:00
php7.1-cli php7.1-curl php7.1-mcrypt php7.1-mysql wget make \
2019-09-23 15:22:36 +02:00
php7.1-redis php7.1-memcached php7.1-memcache php7.1-json \
2019-09-19 15:18:18 +02:00
php7.1-apcu php7.1-xdebug php7.1-xml php7.1-zip php7.1-dev php7.1-mbstring \
; \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*;
2019-09-23 15:22:36 +02:00
RUN phpenmod curl pdo pdo_mysql xml gd zip opcache mbstring posix ctype json iconv pcntl openssl
2019-09-19 15:18:18 +02:00
RUN phpdismod xdebug
ADD php.ini /etc/php/7.1/cli/conf.d/friendica.ini