Gitblit image based on Java image from Docker Hub
Jacek Kowalski
2020-03-16 f185b843325f8684d04f8961163cb1500ff56270
Dockerfile
@@ -1,17 +1,18 @@
FROM openjdk:jre
FROM openjdk:8-jre
MAINTAINER Jacek Kowalski <Jacek@jacekk.info>
ENV GITBLIT_VERSION 1.8.0
ENV GITBLIT_VERSION 1.9.0
RUN apt-get update \
   && apt-get dist-upgrade -y \
   && apt-get install -y git-core sudo wget \
   && apt-get clean
   && apt-get clean \
   && rm -Rf /var/lib/apt/lists/*
# Install Gitblit
WORKDIR /opt
RUN wget -O /tmp/gitblit.tar.gz http://dl.bintray.com/gitblit/releases/gitblit-${GITBLIT_VERSION}.tar.gz \
RUN wget -O /tmp/gitblit.tar.gz "https://github.com/gitblit/gitblit/releases/download/v${GITBLIT_VERSION}/gitblit-${GITBLIT_VERSION}.tar.gz" \
   && tar xzf /tmp/gitblit.tar.gz \
   && rm -f /tmp/gitblit.tar.gz \
   && ln -s gitblit-${GITBLIT_VERSION} gitblit \