Skip to content

Instantly share code, notes, and snippets.

@leon
Created November 16, 2014 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save leon/49522068f8209090d2af to your computer and use it in GitHub Desktop.
Save leon/49522068f8209090d2af to your computer and use it in GitHub Desktop.
docker java 8
#
# - install jdk8 from oracle
#
RUN apt-get install -y python-software-properties software-properties-common
RUN add-apt-repository ppa:webupd8team/java
RUN apt-get update
RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
RUN apt-get install -y oracle-java8-installer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment