mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 16:34:04 +00:00
Laravel 7 support
This commit is contained in:
parent
292b7acd16
commit
97348e960b
3 changed files with 26 additions and 24 deletions
28
Dockerfile
28
Dockerfile
|
|
@ -4,27 +4,29 @@ LABEL maintainer="Samuel Štancl"
|
|||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y curl zip unzip git sqlite3 \
|
||||
php7.2-fpm php7.2-cli \
|
||||
php7.2-pgsql php7.2-sqlite3 php7.2-gd \
|
||||
php7.2-curl php7.2-memcached \
|
||||
php7.2-imap php7.2-mysql php7.2-mbstring \
|
||||
php7.2-xml php7.2-zip php7.2-bcmath php7.2-soap \
|
||||
php7.2-intl php7.2-readline php7.2-xdebug \
|
||||
RUN apt-get update
|
||||
|
||||
RUN apt-get install -y software-properties-common
|
||||
RUN add-apt-repository -y ppa:ondrej/php
|
||||
|
||||
RUN apt-get install -y curl zip unzip git sqlite3 \
|
||||
php7.4-fpm php7.4-cli \
|
||||
php7.4-pgsql php7.4-sqlite3 php7.4-gd \
|
||||
php7.4-curl php7.4-memcached \
|
||||
php7.4-imap php7.4-mysql php7.4-mbstring \
|
||||
php7.4-xml php7.4-zip php7.4-bcmath php7.4-soap \
|
||||
php7.4-intl php7.4-readline php7.4-xdebug \
|
||||
php-msgpack php-igbinary \
|
||||
&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
|
||||
&& mkdir /run/php
|
||||
|
||||
RUN apt-get install -y php7.2-redis
|
||||
RUN apt-get install -y php7.4-redis
|
||||
|
||||
RUN apt-get install -y python3
|
||||
|
||||
RUN apt-get install -y php7.2-dev php-pear
|
||||
RUN apt-get install -y php7.4-dev php-pear
|
||||
RUN pecl install xdebug
|
||||
# RUN echo '' > /etc/php/7.2/cli/conf.d/20-xdebug.ini
|
||||
# RUN echo 'zend_extension=/usr/lib/php/20170718/xdebug.so' >> /etc/php/7.2/cli/php.ini
|
||||
RUN echo 'zend_extension=/usr/lib/php/20170718/xdebug.so' > /etc/php/7.2/cli/conf.d/20-xdebug.ini
|
||||
RUN echo 'zend_extension=/usr/lib/php/20190902/xdebug.so' > /etc/php/7.4/cli/conf.d/20-xdebug.ini
|
||||
|
||||
RUN apt-get -y autoremove \
|
||||
&& apt-get clean \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue