FROM keks/java-base:latest
MAINTAINER Jan M. <[email protected]>
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"]
docker run -d -p 8080:8080 -p 29418:29418 -v /your/local/gitbucket/folder/:/gitbucket keks/gitbucket
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
the default login is username root with password root -- change it
Content type
Image
Digest
sha256:e46b5650f…
Size
370.6 MB
Last updated
almost 11 years ago
docker pull keks/gitbucket