Skip to content

Instantly share code, notes, and snippets.

@r-winkler
Created September 16, 2016 09:29
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 r-winkler/2898feb5234a2f780cf86aae5ae8faa6 to your computer and use it in GitHub Desktop.
Save r-winkler/2898feb5234a2f780cf86aae5ae8faa6 to your computer and use it in GitHub Desktop.
FROM ubuntu:latest
RUN apt-get update -qq && apt-get install -qq software-properties-common && apt-get clean
RUN \
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
add-apt-repository -y ppa:webupd8team/java && \
apt-get update && \
apt-get install -y oracle-java8-installer && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/oracle-jdk8-installer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment