Skip to content

Instantly share code, notes, and snippets.

@mroger
Created July 14, 2018 17:23
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 mroger/211161f6fd8aa35ff307ac4b353ac812 to your computer and use it in GitHub Desktop.
Save mroger/211161f6fd8aa35ff307ac4b353ac812 to your computer and use it in GitHub Desktop.
Dockerfile for ubuntu-jdk8 image
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y python-software-properties software-properties-common
RUN apt-get install -y iputils-ping
RUN add-apt-repository ppa:webupd8team/java
RUN apt-get install -y vim
RUN echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 boolean 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