$ docker-compose -f acmesh.yaml up -d
# Run once
$ docker exec -it acme --issue --dns dns_cf \
-d \*.example.com \
--key-file /certs/privkey.pem \
--fullchain-file /certs/fullchain.pem \
--standalone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:bullseye-slim as builder | |
RUN apt update && apt install -y g++ cmake make git wget && \ | |
wget -q https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell_7.4.1-1.deb_amd64.deb && \ | |
dpkg -i powershell_7.4.1-1.deb_amd64.deb && \ | |
git clone --depth 1 https://github.com/microsoft/msquic.git && \ | |
cd msquic && \ | |
git submodule update --init && \ | |
pwsh -c "./scripts/build.ps1 -Config Release -Clean" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gopprof() { | |
echo $1 $2 $# | |
if [ "$1" = "ui" ]; then | |
docker run --rm -w `pwd` -v `pwd`:/where/your/ci/path -p 8081:8081 -it pprof go tool pprof -http="0.0.0.0:8081" "http://$2:6060/debug/pprof/heap" | |
else | |
docker run --rm -w `pwd` -v `pwd`:/where/your/ci/path -it pprof go tool pprof "http://$1:6060/debug/pprof/heap" | |
fi | |
} |