From 06eedbe19ad5866d031137d7665de4580704f8b6 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Mon, 28 Sep 2020 09:14:48 +0000 Subject: [PATCH] Update Gitblit to version 1.9.1 --- Dockerfile | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b641acc..d9e94f5 100644 --- a/Dockerfile +++ b/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.1 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 \ -- Gitblit v1.9.1