Skip to content

Commit 0643d17

Browse files
committed
Wording
Signed-off-by: Danny Kopping <[email protected]>
1 parent 21e2081 commit 0643d17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

envbuilder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ type Options struct {
140140
DockerfilePath string `env:"DOCKERFILE_PATH"`
141141

142142
// BuildContextPath can be specified when a DockerfilePath is specified outside the base WorkspaceFolder.
143-
// This path MUST be a relative path since it will be joined to the WorkspaceFolder path.
143+
// This path MUST be relative to the WorkspaceFolder path into which the repo is cloned.
144144
BuildContextPath string `env:"BUILD_CONTEXT_PATH"`
145145

146146
// CacheTTLDays is the number of days to use cached layers before

integration/integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ COPY %s .`, testImageAlpine, inclFile)
758758
},
759759
{
760760
// Dockerfile & build context are not in the same dir, but inclFile is in the default build context dir;
761-
// this should allow inclFile to be copied.
761+
// this should allow inclFile to be copied. This is probably not desirable though?
762762
name: "different build context (default, different content roots)",
763763
files: map[string]string{
764764
"a/Dockerfile": dockerfile,

0 commit comments

Comments
 (0)