Skip to content

Commit bd636e8

Browse files
committed
do not use hardcoded CL_INSTALL_PRIVATE_PLUGINS when building images
1 parent 86bec59 commit bd636e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework/docker.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,14 +419,14 @@ func BuildImageOnce(once *sync.Once, dctx, dfile, nameAndTag string, buildArgs m
419419
func BuildImage(dctx, dfile, nameAndTag string, buildArgs map[string]string) error {
420420
dfilePath := filepath.Join(dctx, dfile)
421421
if os.Getenv("CTF_CLNODE_DLV") == "true" {
422-
commandParts := []string{"docker", "build", "--build-arg", `GO_GCFLAGS=all=-N -l`, "--build-arg", "CHAINLINK_USER=chainlink", "--build-arg", "CL_INSTALL_PRIVATE_PLUGINS=false"}
422+
commandParts := []string{"docker", "build", "--build-arg", `GO_GCFLAGS=all=-N -l`, "--build-arg", "CHAINLINK_USER=chainlink"}
423423
for k, v := range buildArgs {
424424
commandParts = append(commandParts, "--build-arg", fmt.Sprintf("%s=%s", k, v))
425425
}
426426
commandParts = append(commandParts, "-t", nameAndTag, "-f", dfilePath, dctx)
427427
return RunCommand(commandParts[0], commandParts[1:]...)
428428
}
429-
commandParts := []string{"docker", "build", "--build-arg", "CHAINLINK_USER=chainlink", "--build-arg", "CL_INSTALL_PRIVATE_PLUGINS=false"}
429+
commandParts := []string{"docker", "build", "--build-arg", "CHAINLINK_USER=chainlink"}
430430
for k, v := range buildArgs {
431431
commandParts = append(commandParts, "--build-arg", fmt.Sprintf("%s=%s", k, v))
432432
}

0 commit comments

Comments
 (0)