Skip to content

Commit

Permalink
kata-deploy: add .dockerignore file
Browse files Browse the repository at this point in the history
.dockerignore file is similar to .gitignore and serves the purpose to
simply ignore paths in the build context.

For now, let me just use it to fix the following problem:
```
docker build --build-arg KATA_ARTIFACTS=kata-static.tar.xz .
error checking context: 'no permission to read from
'(...)/local-build/build/firecracker/builddir/firecracker/(...)/crc64-1.0.0/.gitignore''.
```

Fixes: kata-containers#2845

Signed-off-by: Fabiano Fidêncio <[email protected]>
  • Loading branch information
fidencio committed Oct 15, 2021
1 parent 119edcc commit e42bc05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/packaging/kata-deploy/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
local-build

0 comments on commit e42bc05

Please sign in to comment.