This is an automated email from the ASF dual-hosted git repository. fokko pushed a commit to branch AVRO-2238 in repository https://gitbox.apache.org/repos/asf/avro.git
commit 638794bd7ee06ea7c28d7c06358e5d9db67da8cd Author: Fokko Driesprong <[email protected]> AuthorDate: Mon Nov 12 20:35:22 2018 +0100 AVRO-2238 Update Dockerfile base image from java to openjdk --- share/docker/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/share/docker/Dockerfile b/share/docker/Dockerfile index ec8ac34..49f4f90 100644 --- a/share/docker/Dockerfile +++ b/share/docker/Dockerfile @@ -17,7 +17,7 @@ # Dockerfile for installing the necessary dependencies for building Avro. # See BUILD.txt. -FROM java:8-jdk +FROM openjdk:8 WORKDIR /root @@ -28,6 +28,10 @@ RUN curl -sL https://deb.nodesource.com/setup_4.x | bash - # Install dependencies from packages RUN apt-get -qq update && \ + apt-get -qq install software-properties-common apt-transport-https -y && \ + curl https://packages.sury.org/php/apt.gpg | apt-key add - && \ + echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list && \ + apt-get -qq update && \ apt-get -qq install --no-install-recommends -y \ ant \ asciidoc \ @@ -46,15 +50,14 @@ RUN apt-get -qq update && \ libglib2.0-dev \ libjansson-dev \ libsnappy-dev \ - libsnappy1 \ make \ maven \ mono-devel \ nodejs \ nunit \ perl \ - php5 \ - php5-gmp \ + php5.6 \ + php5.6-gmp \ phpunit \ python \ python-setuptools \
