Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
|