From 6d2d3eb925fd1ac6da51e329f849336e8ad9371c Mon Sep 17 00:00:00 2001 From: Gabriele Fedi Date: Mon, 17 Nov 2025 10:18:22 +0100 Subject: [PATCH] chore(dockerfile): add pkg folder to containers Signed-off-by: Gabriele Fedi --- containers/Dockerfile.plugin | 1 + containers/Dockerfile.sidecar | 1 + 2 files changed, 2 insertions(+) diff --git a/containers/Dockerfile.plugin b/containers/Dockerfile.plugin index 5777125..f090e3b 100644 --- a/containers/Dockerfile.plugin +++ b/containers/Dockerfile.plugin @@ -15,6 +15,7 @@ RUN go mod download COPY ../cmd/manager/main.go cmd/manager/main.go COPY ../api/ api/ COPY ../internal/ internal/ +COPY ../pkg/ pkg/ ENV GOCACHE=/root/.cache/go-build ENV GOMODCACHE=/go/pkg/mod diff --git a/containers/Dockerfile.sidecar b/containers/Dockerfile.sidecar index 828fcff..a43b8d0 100644 --- a/containers/Dockerfile.sidecar +++ b/containers/Dockerfile.sidecar @@ -24,6 +24,7 @@ ENV GOMODCACHE=/go/pkg/mod COPY ../cmd/manager/main.go cmd/manager/main.go COPY ../api/ api/ COPY ../internal/ internal/ +COPY ../pkg/ pkg/ # Build # the GOARCH has not a default value to allow the binary be built according to the host where the command