Created
July 16, 2014 15:29
-
-
Save es/ba8e77092580a60f017b to your computer and use it in GitHub Desktop.
Oracle Java 7 Dockerfile
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:12.04 | |
# Setup basic Instance | |
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get upgrade -y | |
RUN apt-get install -y python-software-properties python | |
RUN apt-get install -y software-properties-common | |
# Download Java | |
RUN add-apt-repository ppa:webupd8team/java | |
RUN apt-get update | |
RUN echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections | |
RUN apt-get -y install oracle-java7-installer && apt-get clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment