From ad3cccd0976ca6df60ccd4f6684d66a6411ccd1b Mon Sep 17 00:00:00 2001 From: "Dr. Jan Philip Bernius" Date: Thu, 10 Oct 2024 18:50:03 +0200 Subject: [PATCH] feat: Install git in Docker image (#158) --- 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"]