From 02aafb3266a0606da5c09966331d1916aaa20492 Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Fri, 26 Apr 2024 13:33:24 -0400 Subject: [PATCH] Bring in ca-certificates so we can connect to the WWW --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c1363b6..3f9ff76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.21-alpine WORKDIR /app RUN apk update && \ - apk add openssl && \ + apk add openssl ca-certificates && \ openssl s_client -connect helloworld.letsencrypt.org:443 -showcerts /dev/null | sed -e '/-----BEGIN/,/-----END/!d' | tee "/usr/local/share/ca-certificates/ca.crt" >/dev/null && \ update-ca-certificates