Skip to content

Instantly share code, notes, and snippets.

@Stanback
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stanback/8d04f8275cfed76031cd to your computer and use it in GitHub Desktop.
Save Stanback/8d04f8275cfed76031cd to your computer and use it in GitHub Desktop.
#
# Oracle Java8 Dockerfile
#
FROM ubuntu
RUN apt-get update; \
apt-get install -y \
software-properties-common
RUN apt-add-repository ppa:webupd8team/java
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections; \
echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections
RUN apt-get update; \
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