Created
November 4, 2014 23:59
-
-
Save x684867/fcedb053792c9b9305e1 to your computer and use it in GitHub Desktop.
DockerFile and plan for munna
This file contains hidden or 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
# Git project structure | |
#/-- | |
# DockerFile | |
# /src/monalisa.tar.gz | |
# <git source tarball from wercker for monalisa> | |
# /bin | |
#Install the Java Runtime | |
# ./installJre | |
#Install Maven | |
# ./installMaven | |
#Build software (JAR) | |
# ./installMonaLisa | |
#Start the Service when docker run executes | |
# ./startServer | |
============================= | |
this is your dockerfile | |
============================= | |
FROM debian:stable | |
MAINTAINER [email protected] | |
ADD /src/monalisa.tar.gz /opt/ | |
RUN cd /opt/ && tar -xvzf /opt/monalisa.tar.gz -C /opt/ | |
ADD /bin/installJre /usr/bin/ | |
ADD /bin/installMaven /usr/bin/ | |
ADD /bin/installMonaLisa /usr/bin/ | |
ADD /bin/startServer /usr/bin/ | |
RUN installJre | |
RUN installMaven | |
RUN installMonaLisa | |
CMD ["/usr/bin/startServer"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment