Skip to content

Instantly share code, notes, and snippets.

@x684867
Created November 4, 2014 23:59
Show Gist options
  • Save x684867/fcedb053792c9b9305e1 to your computer and use it in GitHub Desktop.
Save x684867/fcedb053792c9b9305e1 to your computer and use it in GitHub Desktop.
DockerFile and plan for munna
# 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