Created
February 26, 2015 13:33
-
-
Save mchericoni/b3284f12f1b3dd76c6df to your computer and use it in GitHub Desktop.
Dockerfile to build an image with Oracle Java 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
RUN apt-get update | |
RUN apt-get install software-properties-common -y | |
RUN add-apt-repository ppa:webupd8team/java -y | |
RUN apt-get update | |
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections | |
RUN apt-get install oracle-java8-installer -y | |
RUN apt-get install oracle-java8-set-default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment