Skip to content

Commit e898fcf

Browse files
authored
Merge pull request #355 from corgibytes/add-git-to-prod-image
Adds git to the runtime container
2 parents 01b01e0 + a5bf428 commit e898fcf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ RUN ./gradlew installDist
4747
# Use Java JRE as the base image -- the `freshli` executable is self contained (meaning it does not need the .NET runtime to be installed)
4848
FROM eclipse-temurin:17-jre-jammy AS final
4949

50+
# Install git
51+
RUN apt update -y && apt install git -y
52+
5053
# Copy `freshli` executable from the `dotnet_build` image
5154
RUN mkdir -p /usr/local/share/freshli
5255
COPY --from=dotnet_build /app/freshli/exe/ /usr/local/share/freshli/

0 commit comments

Comments
 (0)