From ef858857e4622065b91190e4a378754d981e2939 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Mon, 14 Aug 2017 14:07:21 -0700 Subject: [PATCH] fix bug introduced by 5221 --- builder/docker/communicator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/docker/communicator.go b/builder/docker/communicator.go index 43e4c01f2..b51f40c87 100644 --- a/builder/docker/communicator.go +++ b/builder/docker/communicator.go @@ -173,7 +173,7 @@ func (c *Communicator) UploadDir(dst string, src string, exclude []string) error // Make the directory, then copy into it cmd := &packer.RemoteCmd{ - Command: fmt.Sprintf("set -e; mkdir -p %s; command cp -R %s/ %s", + Command: fmt.Sprintf("set -e; mkdir -p %s; command cp -R %s/. %s", containerDst, containerSrc, containerDst), } if err := c.Start(cmd); err != nil {