docker build \
--build-arg http_proxy=http://docker.for.win.localhost:8888/ \
--build-arg https_proxy=http://docker.for.win.localhost:8888/ \
-t lab .
cat config/lab.hcl
"core" = {
"host" = "https://git.company.local/"
"token" = "ycMdJezxXePJJAzfsyEm"
}
"tls" = {
"skip_verify" = true
}
docker run -it -v $(pwd)/config:/root/.config lab:latest
2019/12/17 14:18:31 main.go:161: Get https://git.company.local//api/v4/user: x509: certificate signed by unknown authority