Created
November 13, 2015 15:20
-
-
Save McFoggy/2c5180a219d5834e7bc7 to your computer and use it in GitHub Desktop.
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
FROM java:8 | |
MAINTAINER Matthieu Brouillard matthieu@brouillard.fr | |
LABEL version=3.8 | |
ENV GITBUCKET_HOME=/var/gitbucket | |
ENV GITBUCKET_APP=/opt/gitbucket/webapp | |
RUN mkdir -p $GITBUCKET_APP | |
RUN mkdir -p $GITBUCKET_HOME/plugins | |
RUN cd $GITBUCKET_APP && wget https://github.com/takezoe/gitbucket/releases/download/3.8/gitbucket.war | |
RUN cd $GITBUCKET_HOME/plugins && wget https://github.com/gitbucket-plugins/gitbucket-h2-backup-plugin/releases/download/1.0/gitbucket-h2-backup-plugin.jar | |
VOLUME $GITBUCKET_HOME | |
WORKDIR $GITBUCKET_APP | |
EXPOSE 8080 | |
CMD [ "/usr/bin/java", "-jar", "gitbucket.war" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment