Friendica CI Docker image
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
971 B

  1. FROM debian:jessie
  2. # install the PHP extensions we need
  3. # see https://friendi.ca/resources/requirements/
  4. RUN set -ex; \
  5. apt-get update; \
  6. apt-get install -y wget gnupg2 libzip2 apt-transport-https lsb-release ca-certificates; \
  7. wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg; \
  8. echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list; \
  9. apt-get update; \
  10. apt-get install -y php7.3-gd git curl openssl \
  11. php7.3-cli php7.3-curl php7.3-mysql wget make \
  12. php7.3-redis php7.3-memcached php7.3-memcache php7.3-json \
  13. php7.3-apcu php7.3-xdebug php7.3-xml php7.3-zip php7.3-dev php7.3-mbstring \
  14. ; \
  15. rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*;
  16. RUN phpenmod curl pdo pdo_mysql xml gd zip opcache mbstring posix ctype json iconv pcntl openssl
  17. RUN phpdismod xdebug
  18. ADD php.ini /etc/php/7.1/cli/conf.d/friendica.ini