Last active
August 22, 2021 16:11
-
-
Save gridhead/7a3459b272478cf1792c1231fc0d0a03 to your computer and use it in GitHub Desktop.
GitBlit Dockerfile
This file contains hidden or 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 centos:latest | |
LABEL maintainer "Akashdeep Dhar <[email protected]>" | |
RUN ["dnf", "install", "java", "wget", "-y"] | |
RUN ["wget", "https://github.com/gitblit/gitblit/releases/download/v1.9.1/gitblit-1.9.1.tar.gz"] | |
RUN ["tar", "-xvzf", "gitblit-1.9.1.tar.gz"] | |
RUN ["rm", "gitblit-1.9.1.tar.gz"] | |
WORKDIR /gitblit-1.9.1 | |
EXPOSE 8080 8443 9418 29418 | |
ENTRYPOINT ["sh", "/gitblit-1.9.1/gitblit.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment