FROM ubuntu:14.04
MAINTAINER Jun Suzuki
# Update apt-get sources AND install packages
RUN apt-get update
RUN apt-get install wget unzip aptitude dpkg debconf -yy
RUN aptitude install software-properties-common -yy
## Java
RUN sudo add-apt-repository -y ppa:webupd8team/java && sudo apt-get -y update && yes | sudo apt-get install oracle-java8-installer
# clean up
RUN apt-get autoclean && aptitude autoclean
# Set Environment
ENV HOME /home
ENV PATH /bin:/usr/bin:
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
# Timezone Setting
RUN echo "Asia/Tokyo" > /etc/timezone RUN /usr/sbin/dpkg-reconfigure -f noninteractive tzdata
Content type
Image
Digest
sha256:8655003af…
Size
448.5 MB
Last updated
almost 11 years ago
docker pull junsuzuki/java8