Skip to content

Instantly share code, notes, and snippets.

@chrisdchristo
Last active August 29, 2015 14:04
Show Gist options
  • Save chrisdchristo/0a81419c336855747f17 to your computer and use it in GitHub Desktop.
Save chrisdchristo/0a81419c336855747f17 to your computer and use it in GitHub Desktop.
Ubuntu + java8 Dockerfile
# chrischristo/ubuntu-java8
FROM ubuntu
# Install prerequisites
RUN apt-get update
RUN apt-get install -y software-properties-common
# Install java8
RUN add-apt-repository -y ppa:webupd8team/java
RUN apt-get update
RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
RUN apt-get install -y oracle-java8-installer
@chrisdchristo
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment