Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
YCSB Dockerfile
FROM ubuntu:14.10
WORKDIR ~/
# Install Java
RUN apt-get purge openjdk*
RUN apt-get -y install software-properties-common
RUN add-apt-repository ppa:webupd8team/java
RUN apt-get update
# Enable silent install
# from https://gist.github.com/mugli/8720670
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
RUN apt-get -y install oracle-java8-installer
RUN apt-get -y install maven
# Install Python and Git
RUN apt-get -y install python git
RUN git clone git://github.com/brianfrankcooper/YCSB.git
WORKDIR ./YCSB
RUN mvn clean package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.