mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-12 23:04:33 +00:00
Add tools/packaging/kata-deploy/binary as a workspace member, inherit shared dependency versions from the root manifest, and refresh Cargo.lock. Build the kata-deploy image from the repository root: copy the workspace layout into the rust-builder stage, run cargo test/build with -p kata-deploy, and adjust artifact and static asset COPY paths. Update the payload build script to invoke docker buildx with -f .../Dockerfile from the repo root. Add a repo-root .dockerignore to keep the Docker build context smaller. Document running unit tests with cargo test -p kata-deploy from the root. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
14 lines
424 B
Plaintext
14 lines
424 B
Plaintext
# Context for tools/packaging/kata-deploy/Dockerfile (build from repo root: -f tools/packaging/kata-deploy/Dockerfile .)
|
|
#
|
|
# The Dockerfile only needs: Cargo.toml, Cargo.lock, src/, tools/packaging/kata-deploy/,
|
|
# and versions.yaml. Exclude heavy or irrelevant trees to keep context small.
|
|
.git
|
|
.github
|
|
target
|
|
kata-artifacts
|
|
docs
|
|
tests
|
|
utils
|
|
tools/packaging/kata-deploy/local-build
|
|
tools/packaging/kata-deploy/binary/target
|