mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-04-03 02:29:06 +08:00
fix docker image content and add basic CI check (#41)
Replace ``` docker run -it -v `pwd`/:/src/ yunwei37/ebpm:latest ``` with: ``` docker run -it -v `pwd`/:/src/ ghcr.io/eunomia-bpf/ecc-`uname -m`:latest ``` Add a basic CI check for the hello world BPF program.
This commit is contained in:
@@ -153,7 +153,7 @@ Packing ebpf object and config into package.json...
|
||||
或使用 docker 镜像进行编译:
|
||||
|
||||
```shell
|
||||
docker run -it -v `pwd`/:/src/ yunwei37/ebpm:latest
|
||||
docker run -it -v `pwd`/:/src/ ghcr.io/eunomia-bpf/ecc-`uname -m`:latest
|
||||
```
|
||||
|
||||
然后使用 ecli 运行编译后的程序:
|
||||
@@ -472,7 +472,7 @@ Packing ebpf object and config into package.json...
|
||||
> 或使用 docker 镜像进行编译:
|
||||
|
||||
```sh
|
||||
docker run -it -v `pwd`/:/src/ yunwei37/ebpm:latest
|
||||
docker run -it -v `pwd`/:/src/ ghcr.io/eunomia-bpf/ecc-`uname -m`:latest
|
||||
```
|
||||
|
||||
> 然后使用 ecli 运行编译后的程序:
|
||||
@@ -894,7 +894,7 @@ Packing ebpf object and config into package.json...
|
||||
或使用 docker 镜像进行编译:
|
||||
|
||||
```shell
|
||||
docker run -it -v `pwd`/:/src/ yunwei37/ebpm:latest
|
||||
docker run -it -v `pwd`/:/src/ ghcr.io/eunomia-bpf/ecc-`uname -m`:latest
|
||||
```
|
||||
|
||||
然后使用 ecli 运行编译后的程序:
|
||||
@@ -1432,7 +1432,7 @@ char __license[] SEC("license") = "GPL";
|
||||
编译运行
|
||||
|
||||
```console
|
||||
docker run -it -v `pwd`/:/src/ yunwei37/ebpm:latest
|
||||
docker run -it -v `pwd`/:/src/ ghcr.io/eunomia-bpf/ecc-`uname -m`:latest
|
||||
```
|
||||
|
||||
or compile with `ecc`:
|
||||
|
||||
Reference in New Issue
Block a user