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:
云微
2023-06-15 16:36:22 +08:00
committed by GitHub
parent 5a28f7fd4f
commit a53481d131
11 changed files with 45 additions and 16 deletions

View File

@@ -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`: