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