Skip to content

Commit eb9c77b

Browse files
authored
Merge pull request #71 from google/jkppr-patch-1
Improve docker check
2 parents 490381c + b76d987 commit eb9c77b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

processors/local/local.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ func (p *Processor) ImageExport(sourcePath string) (string, error) {
7777
}
7878

7979
func inDockerContainer() bool {
80-
_, err := shellCommand("ls", "/.dockerenv")
80+
_, err := shellCommand("which", "image_export.py")
8181
return err == nil
8282
}

0 commit comments

Comments
 (0)