Skip to content

Commit

Permalink
change links to inclavare-containers
Browse files Browse the repository at this point in the history
Signed-off-by: Kun Lai <me@imlk.top>
  • Loading branch information
imlk0 committed Apr 25, 2024
1 parent d901997 commit e819437
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
build-and-test:
container: ghcr.io/imlk0/rats-rs:master
container: ghcr.io/inclavare-containers/rats-rs:master

runs-on: ubuntu-20.04

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# rats-rs
[![Testing](https://github.com/imlk0/rats-rs/actions/workflows/build-and-test.yaml/badge.svg)](https://github.com/imlk0/rats-rs/actions/workflows/build-and-test.yaml)
[![Testing](/../../actions/workflows/build-and-test.yaml/badge.svg)](/../../actions/workflows/build-and-test.yaml)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)


Expand Down Expand Up @@ -34,13 +34,13 @@ rats-rs是一个纯Rust实现的TEE远程证明库,它的最终目标是让开
1. 首先准备rats-rs的构建环境,建议直接使用我们预构建的Docker容器

```sh
docker run -it --privileged --device=/dev/sgx_enclave --device=/dev/sgx_provision ghcr.io/imlk0/rats-rs:master bash
docker run -it --privileged --device=/dev/sgx_enclave --device=/dev/sgx_provision ghcr.io/inclavare-containers/rats-rs:master bash
```

2. Clone代码并编译样例程序

```sh
git clone git@github.com:imlk0/rats-rs.git
git clone git@github.com:inclavare-containers/rats-rs.git
cd rats-rs
just prepare-repo
Expand Down Expand Up @@ -70,7 +70,7 @@ rats-rs是一个纯Rust实现的TEE远程证明库,它的最终目标是让开

```toml
[dependencies]
rats-rs = {git = "https://github.com/imlk0/rats-rs", branch = "master"}
rats-rs = {git = "https://github.com/inclavare-containers/rats-rs", branch = "master"}
```

要开始使用rats-rs的API,建议参考[示例程序](/examples/spdm/)。
Expand Down
6 changes: 3 additions & 3 deletions docs/how-to-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
本项目提供提供了以Docker容器形式的构建开发环境,可以使用如下命令拉取构建开发环境的镜像。

```sh
docker pull ghcr.io/imlk0/rats-rs:master
docker pull ghcr.io/inclavare-containers/rats-rs:master
```

或者也可以直接以Dockerfile的形式构建

```sh
git clone git@github.com:imlk0/rats-rs.git
git clone git@github.com:inclavare-containers/rats-rs.git
cd rats-rs
docker build --tag rats-rs:master .
```
Expand Down Expand Up @@ -140,7 +140,7 @@ docker build --tag rats-rs:master .
1. 拉取源码

```sh
git clone git@github.com:imlk0/rats-rs.git
git clone git@github.com:inclavare-containers/rats-rs.git
cd rats-rs
```

Expand Down
4 changes: 2 additions & 2 deletions examples/spdm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ Options:

该示例同样包含server端和client端,分别对应示例程序`spdm`中的`tunnel-server``tunnel-client`这两个子命令。

![tunnel](tunnel/tunnel.svg)
![tunnel](src/tunnel/tunnel.svg)

1. 在TDX实例中运行一个nginx服务,以模拟业务场景中,在TDX实例中运行的业务服务端程序。

```sh
nginx -c `realpath ./examples/spdm/tunnel/nginx.conf`
nginx -c `realpath ./examples/spdm/src/tunnel/nginx.conf`
```

该nginx将监听在`9091`端口,并暴露一个nginx默认页。
Expand Down

0 comments on commit e819437

Please sign in to comment.