From dce884d5c89ff43f2134e2adc43266eeeee50208 Mon Sep 17 00:00:00 2001 From: Chris Crone Date: Mon, 2 Nov 2020 16:27:55 +0100 Subject: [PATCH] backend.local: Set environment on run Signed-off-by: Chris Crone --- local/backend.go | 1 + 1 file changed, 1 insertion(+) diff --git a/local/backend.go b/local/backend.go index ce94af92d..8ce4d4d30 100644 --- a/local/backend.go +++ b/local/backend.go @@ -145,6 +145,7 @@ func (ms *local) Run(ctx context.Context, r containers.ContainerConfig) error { containerConfig := &container.Config{ Image: r.Image, Labels: r.Labels, + Env: r.Environment, ExposedPorts: exposedPorts, } hostConfig := &container.HostConfig{