From 295582aa8c1a3830ed2287e826dd107cd18721b9 Mon Sep 17 00:00:00 2001 From: GeorgeC Date: Wed, 8 Jan 2025 09:50:05 -0500 Subject: [PATCH] Add Git installation to Dockerfiles for ETL and HPDS builds Git is now installed in the Dockerfiles to support potential build steps requiring Git, such as fetching dependencies or code. This ensures consistency and avoids build errors in environments where Git is not pre-installed. --- docker/pic-sure-hpds-etl/Dockerfile | 3 +++ docker/pic-sure-hpds/Dockerfile | 2 ++ 2 files changed, 5 insertions(+) diff --git a/docker/pic-sure-hpds-etl/Dockerfile b/docker/pic-sure-hpds-etl/Dockerfile index b733eb2f..4dfcc248 100644 --- a/docker/pic-sure-hpds-etl/Dockerfile +++ b/docker/pic-sure-hpds-etl/Dockerfile @@ -1,4 +1,7 @@ FROM maven:3.9.9-eclipse-temurin-21-alpine AS build + +RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* + WORKDIR /app COPY .m2 /root/.m2 diff --git a/docker/pic-sure-hpds/Dockerfile b/docker/pic-sure-hpds/Dockerfile index 6c608d72..298814a8 100644 --- a/docker/pic-sure-hpds/Dockerfile +++ b/docker/pic-sure-hpds/Dockerfile @@ -1,5 +1,7 @@ FROM maven:3.9.9-eclipse-temurin-21-alpine AS build +RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* + WORKDIR /app COPY .m2 /root/.m2