Gitblit image based on Java image from Docker Hub
Jacek Kowalski
2022-04-11 4e5c8250b5d18cfd5837b6d3d25a2fafc532a1ff
Dockerfile
@@ -1,7 +1,7 @@
FROM openjdk:jre
FROM openjdk:8-jre
MAINTAINER Jacek Kowalski <Jacek@jacekk.info>
ENV GITBLIT_VERSION 1.8.0
ENV GITBLIT_VERSION 1.9.3
RUN apt-get update \
   && apt-get dist-upgrade -y \
@@ -12,7 +12,7 @@
# 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 \