Public Repository

Last pushed: 2 years ago
Short Description
Ubuntu 14.04.2 LTS / GitBucket 3.8
Full Description

Ubuntu 14.04.2 LTS / GitBucket 3.8

Dockerfile

FROM keks/java-base:latest
MAINTAINER Jan M. <keks@keksfabrik.eu>

ENV GITBUCKET_VERSION 3.8

RUN wget https://github.com/takezoe/gitbucket/releases/download/${GITBUCKET_VERSION}/gitbucket.war && \
    mv gitbucket.war /opt && \
    adduser --system --group --gecos "java user" java && \
    chown -R java:java /opt && \
    ln -s /gitbucket /home/java/.gitbucket

VOLUME /gitbucket

# Port for web page
EXPOSE 8080
# Port for SSH access to git repository (Optional)
EXPOSE 29418

USER java

ENTRYPOINT ["java", "-jar", "/opt/gitbucket.war"]

Run it with

docker run -d -p 8080:8080 -p 29418:29418 -v /your/local/gitbucket/folder/:/gitbucket keks/gitbucket

Info

for more info see The GitBucket GitHub Page or GitBuckets homepage - all the praise goes to them!
Port 8080 is the Webinterface, 29418 is for SSH

Help

the default login is username root with password root -- change it

Docker Pull Command
Owner
keks