From eef80ea8f307769ac6b2e9265c7c533c6551ae5f Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Thu, 01 Nov 2018 12:31:18 +0000
Subject: [PATCH] Update base image to openjdk:8-jre

---
 Dockerfile |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 4fefcbc..a70faf0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM openjdk:jre
+FROM openjdk:8-jre
 MAINTAINER Jacek Kowalski <Jacek@jacekk.info>
 
 ENV GITBLIT_VERSION 1.8.0
@@ -6,7 +6,8 @@
 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
 
@@ -16,8 +17,8 @@
 	&& rm -f /tmp/gitblit.tar.gz \
 	&& ln -s gitblit-${GITBLIT_VERSION} gitblit \
 	&& mv gitblit/data gitblit-data-initial \
-	&& mkdir gitblit-data
-RUN groupadd -r -g 500 gitblit \
+	&& mkdir gitblit-data \
+	&& groupadd -r -g 500 gitblit \
 	&& useradd -r -d /opt/gitblit-data -u 500 -g 500 gitblit \
 	&& chown -Rf gitblit:gitblit /opt/gitblit-*
 

--
Gitblit v1.9.1