Last active
August 29, 2015 14:24
-
-
Save shiena/8bc83b886914d5c77b81 to your computer and use it in GitHub Desktop.
Gitbucket Dockerfile
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
gitbucket: | |
build: . | |
ports: | |
- "8080:8080" | |
volumes: | |
- /var/gitbucket:/var/gitbucket |
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-jre | |
MAINTAINER Mitsuhiro Koga <shiena.jp@gmail.com> | |
ENV GITBUCKET_HOME /var/gitbucket | |
ADD https://github.com/takezoe/gitbucket/releases/download/3.4/gitbucket.war /gitbucket.war | |
VOLUME ["${GITBUCKET_HOME}"] | |
EXPOSE 8080 | |
ENTRYPOINT [ "java", "-jar", "/gitbucket.war"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment