Skip to content

Commit

Permalink
Merge pull request jwilder#22 from atlashealth/master
Browse files Browse the repository at this point in the history
Include dotfiles when creating tar
  • Loading branch information
jwilder committed Oct 9, 2015
2 parents 45ce2fe + a9ca603 commit 577208a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (e *ExportedImage) TarLayer() error {
}
defer os.Chdir(cwd)

cmd := exec.Command("sudo", "/bin/bash", "-c", "tar cvf ../layer.tar *")
cmd := exec.Command("sudo", "/bin/bash", "-c", "tar cvf ../layer.tar ./")
out, err := cmd.CombinedOutput()
if err != nil {
println(string(out))
Expand Down

0 comments on commit 577208a

Please sign in to comment.