Navigation Menu

Skip to content

Commit

Permalink
starting dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
csokol committed Oct 10, 2014
1 parent fccc81b commit c605520
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/docker/Dockerfile
@@ -0,0 +1,26 @@
FROM dockerfile/java:oracle-java8
MAINTAINER Francisco Sokol <chico.sokol@gmail.com>

RUN apt-get update

RUN apt-get install -y unzip
RUN apt-get install -y curl

RUN curl http://downloads.gradle.org/distributions/gradle-1.12-bin.zip -o /opt/gradle.zip
RUN unzip /opt/gradle.zip -d /opt
ENV PATH /opt/gradle-1.12/bin:$PATH

RUN sudo apt-get install -y python-setuptools
RUN sudo easy_install Pygments==1.5

RUN apt-get install -y git
RUN mkdir ~/.ssh
RUN git clone --depth=1 https://github.com/caelum/tubaina.git

WORKDIR /data/tubaina
RUN gradle clean build zip

RUN mkdir /opt/tubaina
RUN unzip build/distributions/tubaina-1.8-SNAPSHOT.zip -d /opt/tubaina


0 comments on commit c605520

Please sign in to comment.