Skip to content

Commit 4bb1307

Browse files
committed
Add warning
Signed-off-by: Danny Kopping <[email protected]>
1 parent 161f383 commit 4bb1307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

envbuilder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ func Run(ctx context.Context, options Options) error {
476476
// not defined, show a warning
477477
dockerfileDir := filepath.Dir(dockerfilePath)
478478
if dockerfileDir != filepath.Clean(options.WorkspaceFolder) && options.BuildContextPath == "" {
479-
logf(codersdk.LogLevelWarn, "given dockerfile %q is below %q and no custom build context has been defined; set BUILD_CONTEXT_PATH to %q", dockerfilePath, options.WorkspaceFolder, dockerfileDir)
479+
logf(codersdk.LogLevelWarn, "given dockerfile %q is below %q and no custom build context has been defined; set BUILD_CONTEXT_PATH to %q to fix", dockerfilePath, options.WorkspaceFolder, dockerfileDir)
480480
}
481481

482482
dockerfile, err := options.Filesystem.Open(dockerfilePath)

0 commit comments

Comments
 (0)