From 5bda64279ef3c0cc9a24f5c08b69c1966dc273da Mon Sep 17 00:00:00 2001 From: "Dr. Jan Philip Bernius" Date: Thu, 10 Oct 2024 14:11:07 +0200 Subject: [PATCH] feat: install git into Docker image To make use of the hawkeye.git variables in the template string, we need to install git. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5554413..4b7f4ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ # Copyright 2024 - 2024, tison and the HawkEye contributors # SPDX-License-Identifier: Apache-2.0 -FROM public.ecr.aws/docker/library/rust:1.76.0-alpine3.19 as build +FROM public.ecr.aws/docker/library/rust:1.81.0-alpine3.20 as build ENV RUSTFLAGS="-C target-feature=-crt-static" WORKDIR /build COPY . . @@ -23,8 +23,8 @@ RUN apk fix && \ apk --no-cache --update add git musl-dev && \ cargo build --release --bin hawkeye -FROM public.ecr.aws/docker/library/alpine:3.19.0 +FROM public.ecr.aws/docker/library/alpine:3.20.0 COPY --from=build /build/target/release/hawkeye /bin/ -RUN apk fix && apk --no-cache --update add libgcc +RUN apk fix && apk --no-cache --update add libgcc git WORKDIR /github/workspace/ ENTRYPOINT ["/bin/hawkeye"]