[docker] install git in the app image

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
This commit is contained in:
Jakob Ackermann 2019-04-26 20:07:58 +02:00
parent a517c15053
commit 35ac848f43

View file

@ -25,6 +25,12 @@ RUN mvn clean package \
FROM openjdk:8-jre FROM openjdk:8-jre
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
git \
&& rm -rf \
/var/lib/apt/lists/*
USER www-data USER www-data
ENTRYPOINT ["java", "-jar", "/git-bridge.jar"] ENTRYPOINT ["java", "-jar", "/git-bridge.jar"]