From 80a2bfba18e4c39bd260f097a4700a219c37e83d Mon Sep 17 00:00:00 2001 From: Tanmoy Sarkar <57363826+tanmoysrt@users.noreply.github.com> Date: Sun, 28 Apr 2024 16:08:49 +0000 Subject: [PATCH] chore: use debian image instead of ubuntu --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 579f80f..45e19bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,11 +6,11 @@ COPY . . RUN --mount=type=cache,target=/root/.cache/go-build go build -o goapp . # final stage -FROM --platform=$BUILDPLATFORM ubuntu:22.04 +FROM --platform=$BUILDPLATFORM debian:bookworm RUN mkdir /app RUN mkdir /data WORKDIR /app COPY --from=build-env /src/goapp /app/goapp RUN chmod +x /app/goapp -RUN apt-get update && apt-get install -y ca-certificates +RUN apt-get update -y && apt-get install -y ca-certificates ENTRYPOINT /app/goapp \ No newline at end of file