Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Install openjdk instead of oracle jdk (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwzho authored and yaweiw committed Jan 20, 2018
1 parent 4ff7639 commit c0495db
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docker/logstash/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ EXPOSE 5043
# Install Utilities
RUN echo "Installing utilities."
RUN apt-get update \
&& apt-get -y --force-yes install software-properties-common python-software-properties debconf-utils
&& apt-get -y --force-yes install software-properties-common python-software-properties debconf-utils wget

# Install Java
RUN echo "Installing Java."
RUN add-apt-repository -y ppa:webupd8team/java \
RUN add-apt-repository -y ppa:openjdk-r/ppa \
&& apt-get update \
&& echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections \
&& apt-get install -y --force-yes oracle-java8-installer
&& apt-get install -y openjdk-8-jre

ENV VERSION 5.4.0
ENV PLATFORM linux-x86_64
Expand Down

0 comments on commit c0495db

Please sign in to comment.