Skip to content

Commit

Permalink
fix: dockerfile: copy encryption providers to final stage (#1800)
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Linville <[email protected]>
  • Loading branch information
g-linville authored Feb 20, 2025
1 parent d7ef12b commit 6adc07f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ COPY gcp-encryption.yaml /
COPY --chmod=0755 run.sh /bin/run.sh

COPY --link --from=tools /app/obot-tools /obot-tools
COPY --link --from=tools /bin/*-encryption-provider /bin/
COPY --from=bin /app/bin/obot /bin/

EXPOSE 22
Expand Down
2 changes: 1 addition & 1 deletion tools/package-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ fi
cd k8s-cloudkms-plugin
go build -ldflags "-s -w -extldflags 'static'" -installsuffix cgo -tags netgo -o "${BIN_DIR}/gcp-encryption-provider" cmd/k8s-cloudkms-plugin/main.go
OBOT_SERVER_VERSIONS="$(cat <<VERSIONS
"github.com/kubernetes-sigs/gcp-encryption-provider": "$(git rev-parse --short HEAD)"
"github.com/GoogleCloudPlatform/k8s-cloudkms-plugin": "$(git rev-parse --short HEAD)"
${OBOT_SERVER_VERSIONS}
VERSIONS
)"
Expand Down

0 comments on commit 6adc07f

Please sign in to comment.