From e147dd88ef8e706a93f0a53bb7f686118238b13b Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Wed, 8 Dec 2021 09:18:15 +0100 Subject: [PATCH] probably fixed CA Certificates not being included MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit yeah… that was kinda dumb --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cb57951..e071890 100644 --- a/Makefile +++ b/Makefile @@ -11,9 +11,9 @@ REPO=mpldr IMAGEFULLNAME=${REPO}/${IMAGENAME}:${VERSION} docker: $(MAKE) build OUTFILE=.docker/recter GOTAGS="-tags docker" CGO_ENABLED=0 - mkdir -p .docker/data .docker/etc/ssl/ + mkdir -p .docker/data .docker/etc/ssl/certs cp -rf themes/ .docker/ - docker run --rm -v $(PWD)/.docker:/data alpine cp /etc/ssl/cert.pem /data/etc/ssl/ + docker run --rm -v $(PWD)/.docker:/data alpine /bin/ash -c "apk --no-cache add ca-certificates && cp /etc/ssl/cert.pem /data/etc/ssl/ && cp /etc/ssl/certs/ca-certificates.crt /data/etc/ssl/certs" docker build -t ${IMAGEFULLNAME} .docker push: -- 2.45.2