~poldi1405/gomod-recter

e147dd88ef8e706a93f0a53bb7f686118238b13b — Moritz Poldrack 2 years ago 480064b
probably fixed CA Certificates not being included

yeah… that was kinda dumb
1 files changed, 2 insertions(+), 2 deletions(-)

M Makefile
M Makefile => Makefile +2 -2
@@ 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: