Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 28926492

Přidáno uživatelem Tomáš Ballák před asi 4 roky(ů)

Re #7900 python3 and pip settings for container

Zobrazit rozdíly:

build/php-fpm/dev/Dockerfile
17 17
    pip3 install --no-cache --upgrade pip setuptools wheel && \
18 18
    if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi
19 19

  
20

  
21
COPY xdebug.ini /etc/php7/conf.d/xdebug.ini
22
RUN echo -en "\n" >> /etc/php7/conf.d/xdebug.ini
23
RUN apk --update --no-cache add autoconf g++ make && \
24
    pecl install -f xdebug-2.9.4 && \
25
    docker-php-ext-enable xdebug && \
26
    apk del --purge autoconf g++ make
27
RUN echo zend_extension="$(find / -name 'xdebug.so')" >> /etc/php7/conf.d/xdebug.ini
28
RUN echo "**** install PHP Composer ****\n" && \
29
    curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
20
COPY requirements.txt /requirements.txt
21
RUN pip install -r /requirements.txt

Také k dispozici: Unified diff