Skip to content

Commit

Permalink
Merge pull request #682 from portabilis/docker-php
Browse files Browse the repository at this point in the history
[2.2] Utiliza versão correta do Java
  • Loading branch information
edersoares authored Nov 20, 2019
2 parents 553f39e + 5456eac commit b6f1a7e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ ENV XDEBUG_REMOTE_PORT 9000
ENV XDEBUG_REMOTE_ENABLE 0
ENV XDEBUG_AUTOSTART 0

RUN echo "deb http://ftp.us.debian.org/debian sid main" >> /etc/apt/sources.list

RUN apt-get update -y

RUN pecl install xdebug
Expand All @@ -27,9 +29,6 @@ RUN pecl install redis
RUN docker-php-ext-enable redis
RUN rm -rf /tmp/pear

RUN mkdir -p /usr/share/man/man1
RUN apt-get install -y default-jdk

RUN docker-php-ext-install bcmath

RUN apt-get install -y unzip
Expand Down Expand Up @@ -57,3 +56,5 @@ COPY pdflib.so /usr/local/lib/php/extensions/no-debug-non-zts-20180731/pdflib.so
RUN echo "extension=/usr/local/lib/php/extensions/no-debug-non-zts-20180731/pdflib.so" > /usr/local/etc/php/conf.d/pdflib.ini

RUN docker-php-ext-install pcntl

RUN apt-get install openjdk-8-jdk -y

0 comments on commit b6f1a7e

Please sign in to comment.