Skip to content

Commit

Permalink
Utiliza versão correta do Java
Browse files Browse the repository at this point in the history
  • Loading branch information
edersoares committed Nov 20, 2019
1 parent 553f39e commit 5456eac
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 5456eac

Please sign in to comment.