Skip to content

Commit 3def2b1

Browse files
committed
adding more docker-related environment variables
1 parent a80435e commit 3def2b1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

electron/app/js/imageBuilderUtils.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@ function getDockerEnv(httpsProxyUrl, bypassProxyHosts) {
146146
if (process.env.DOCKER_HOST) {
147147
env['DOCKER_HOST'] = process.env.DOCKER_HOST;
148148
}
149+
if (process.env.DOCKER_TLS_VERIFY) {
150+
env['DOCKER_TLS_VERIFY'] = process.env.DOCKER_TLS_VERIFY;
151+
}
152+
if (process.env.DOCKER_CERT_PATH) {
153+
env['DOCKER_CERT_PATH'] = process.env.DOCKER_CERT_PATH;
154+
}
149155

150156
// podman-specific environment variables that should be passed on
151157
if(process.env.CONTAINER_HOST) {

0 commit comments

Comments
 (0)