From 57d0b6ea848d770edecee9c4bb3b0d055f368199 Mon Sep 17 00:00:00 2001
From: xingweizheng <xingweizheng@huawei.com>
Date: Wed, 26 Jan 2022 20:22:42 +0800
Subject: [PATCH 12/20] an ignorable memory copy

---
 builder/dockerfile/cmd_builder_commit.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builder/dockerfile/cmd_builder_commit.go b/builder/dockerfile/cmd_builder_commit.go
index da2ee4f..5480a76 100644
--- a/builder/dockerfile/cmd_builder_commit.go
+++ b/builder/dockerfile/cmd_builder_commit.go
@@ -66,7 +66,7 @@ func (c *cmdBuilder) newContainerReference(exporting bool) (transc.Reference, er
 		return transc.Reference{}, errors.Wrapf(err, "error encoding docker-format image configuration %#v", c.stage.docker)
 	}
 
-	createdBy := strings.Join(util.CopyStrings(c.stage.docker.Config.Shell), " ")
+	createdBy := strings.Join(c.stage.docker.Config.Shell, " ")
 	if createdBy == "" {
 		createdBy = defaultShell
 	}
-- 
2.27.0

