Skip to content

Commit b8dfb3c

Browse files
authored
[DX-1255] Fix private plugins build (#1942)
1 parent 01fe53e commit b8dfb3c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

framework/.changeset/v0.9.8.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Disable private plugins when building CL image

framework/docker.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,9 @@ func BuildImageOnce(once *sync.Once, dctx, dfile, nameAndTag string) error {
360360
func BuildImage(dctx, dfile, nameAndTag string) error {
361361
dfilePath := filepath.Join(dctx, dfile)
362362
if os.Getenv("CTF_CLNODE_DLV") == "true" {
363-
return RunCommand("docker", "build", "--build-arg", `GO_GCFLAGS=all=-N -l`, "-t", nameAndTag, "-f", dfilePath, dctx)
363+
return RunCommand("docker", "build", "--build-arg", `GO_GCFLAGS=all=-N -l`, "--build-arg", "CHAINLINK_USER=chainlink", "--build-arg", "CL_INSTALL_PRIVATE_PLUGINS=false", "-t", nameAndTag, "-f", dfilePath, dctx)
364364
}
365-
return RunCommand("docker", "build", "-t", nameAndTag, "-f", dfilePath, dctx)
365+
return RunCommand("docker", "build", "--build-arg", "CHAINLINK_USER=chainlink", "--build-arg", "CL_INSTALL_PRIVATE_PLUGINS=false", "-t", nameAndTag, "-f", dfilePath, dctx)
366366
}
367367

368368
// RemoveTestContainers removes all test containers, volumes and CTF docker network

0 commit comments

Comments
 (0)