From eb069e462b1db798fe2bde4628296c796938e113 Mon Sep 17 00:00:00 2001 From: Aaron Lehmann Date: Fri, 12 Jan 2024 14:37:49 -0800 Subject: [PATCH] Fix inheriting postCreateCommand from container metadata (#81) --- envbuilder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envbuilder.go b/envbuilder.go index fb40ad4..4a4d4e3 100644 --- a/envbuilder.go +++ b/envbuilder.go @@ -756,7 +756,7 @@ func Run(ctx context.Context, options Options) error { scripts.UpdateContentCommand = container.UpdateContentCommand } if !container.PostCreateCommand.IsEmpty() { - scripts.OnCreateCommand = container.OnCreateCommand + scripts.PostCreateCommand = container.PostCreateCommand } if !container.PostStartCommand.IsEmpty() { scripts.PostStartCommand = container.PostStartCommand