diff --git a/Dockerfile b/Dockerfile index 1683c1d..d573c7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,8 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /newt # Start a new stage from scratch FROM ubuntu:22.04 AS runner +RUN apt-get update && apt-get install ca-certificates -y && rm -rf /var/lib/apt/lists/* + # Copy the pre-built binary file from the previous stage and the entrypoint script COPY --from=builder /newt /usr/local/bin/ COPY entrypoint.sh /