From 1ba14f858de09e33d4501cacd6f64e237fd64e06 Mon Sep 17 00:00:00 2001 From: Gabriel Adrian Samfira Date: Sat, 28 Sep 2024 19:30:20 +0000 Subject: [PATCH] Copy the CA certificates to final image The busybox image does not contain CA certificares. This adds them from the builder stage. Signed-off-by: Gabriel Adrian Samfira --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index b333c502..44f96a59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,5 +45,6 @@ COPY --from=builder /opt/garm/providers.d/garm-provider-gcp /opt/garm/providers. COPY --from=builder /opt/garm/providers.d/garm-provider-equinix /opt/garm/providers.d/garm-provider-equinix COPY --from=builder /opt/garm/providers.d/garm-provider-k8s /opt/garm/providers.d/garm-provider-k8s +COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ ENTRYPOINT ["/bin/garm", "-config", "/etc/garm/config.toml"]