Skip to content

Commit 414bd2a

Browse files
authored
fix: address copilot feedback on urunc image (#90)
* fix: add .dockerignore to reduce urunc build context size Signed-off-by: danbugs <danilochiarlone@gmail.com> * fix: grammar nit in URUNC.md Signed-off-by: danbugs <danilochiarlone@gmail.com> --------- Signed-off-by: danbugs <danilochiarlone@gmail.com>
1 parent f51e9da commit 414bd2a

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.unikraft/unikraft
2+
.unikraft/apps
3+
.unikraft/libs
4+
.unikraft/build/config
5+
.unikraft/build/kconfig
6+
.unikraft/build/lib*
7+
.unikraft/build/Makefile
8+
.unikraft/build/*.cmd
9+
.unikraft/build/*.py
10+
.unikraft/build/*.o
11+
.unikraft/build/*.dbg*
12+
.unikraft/build/*.bootinfo*
13+
.unikraft/build/include
14+
.unikraft/build/appelfloader*
15+
.unikraft/build/provided_syscalls*
16+
.unikraft/build/libraries*
17+
hello

examples/helloworld-c/URUNC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The OCI image contains just three files:
3939
- `/unikernel/initrd.cpio` — CPIO archive containing `/bin/hello` (static-PIE C binary)
4040
- `/urunc.json` — urunc annotations identifying this as a `hyperlight` + `unikraft` workload
4141

42-
When urunc runs the image, it finds `hyperlight-unikraft` on the host, bind-mounts it along with `/dev/kvm` into an isolated rootfs, and exec's:
42+
When urunc runs the image, it finds `hyperlight-unikraft` on the host, bind-mounts it along with `/dev/kvm` into an isolated rootfs, and execs:
4343

4444
```
4545
hyperlight-unikraft /unikernel/kernel --initrd /unikernel/initrd.cpio --memory <bytes>

0 commit comments

Comments
 (0)