Add ca-certs

This commit is contained in:
Owen Schwartz
2024-12-27 00:46:35 -05:00
parent 0a09e6d1fc
commit 469ed08ac1

View File

@@ -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 /