From f86d6e8a7453fdadc10e2daa3bd567280f8ff0e7 Mon Sep 17 00:00:00 2001 From: "pit.wegner" Date: Wed, 30 Jun 2021 09:29:23 +0200 Subject: [PATCH] use env var for registry mirror Signed-off-by: pit.wegner --- src/main/shell-session/node-shell-session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/shell-session/node-shell-session.ts b/src/main/shell-session/node-shell-session.ts index a3cc918371..8e1ece778b 100644 --- a/src/main/shell-session/node-shell-session.ts +++ b/src/main/shell-session/node-shell-session.ts @@ -77,7 +77,7 @@ export class NodeShellSession extends ShellSession { }], containers: [{ name: "shell", - image: "docker.io/alpine:3.13", + image: (process.env.REGISTRY_MIRROR || "docker.io") + "/alpine:3.13", securityContext: { privileged: true, },