Skip to content

Instantly share code, notes, and snippets.

@tkruse
Created September 30, 2016 10:09
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 tkruse/597f52f89f25dc4ca417f67bce412950 to your computer and use it in GitHub Desktop.
Save tkruse/597f52f89f25dc4ca417f67bce412950 to your computer and use it in GitHub Desktop.
Dockerfile for presentation
FROM centos:centos7
RUN yum update -y
RUN yum install -y wget && wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u11-b12/jdk-8u11-linux-x64.rpm
RUN rpm -ivh jdk-8u11-linux-x64.rpm && rm jdk-8u11-linux-x64.rpm
RUN \
yum clean metadata && \
yum -y install epel-release && \
yum clean metadata && \
yum -y install which make tar rpm-build yum-utils python-argparse python-yaml gcc gcc-c++ createrepo git-all python-jinja2 ruby-rdoc ruby-devel rubygems glib*&& \
yum clean all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment