Don’t rely on default docker/cli entrypoint for setting up https

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
Helder Correia 2022-03-28 14:36:14 +00:00
parent 9f042800da
commit 3a2982cd21
No known key found for this signature in database
GPG Key ID: C6490D872EF1DCA7

View File

@ -75,6 +75,10 @@ import (
certs?: dagger.#FS certs?: dagger.#FS
if certs != _|_ { if certs != _|_ {
env: {
DOCKER_TLS_VERIFY: "1"
DOCKER_CERT_PATH: "/certs/client"
}
mounts: "certs": { mounts: "certs": {
dest: "/certs/client" dest: "/certs/client"
contents: certs contents: certs