Skip to content

Commit f6c6947

Browse files
authored
Merge pull request #1610 from oasisprotocol/ptrus/feature/update-rofl-build
2 parents 209f7b0 + 6ad910e commit f6c6947

File tree

4 files changed

+12
-62
lines changed

4 files changed

+12
-62
lines changed

docs/build/use-cases/key-generation.mdx

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ description: Generate an Ethereum-compatible key inside ROFL via appd and use it
44
tags: [ROFL, appd, KMS, EVM]
55
---
66

7-
import Tabs from '@theme/Tabs';
8-
import TabItem from '@theme/TabItem';
9-
107
# Cross-Chain Key Generation (EVM / Base)
118

129
This chapter shows how to build a tiny TypeScript app that **generates a
@@ -501,19 +498,9 @@ For TypeScript projects, image size may be larger, update the `rofl.yaml`
501498
`resources` section to at least: `memory: 1024` and `storage.size: 4096`.
502499
:::
503500

504-
<Tabs>
505-
<TabItem value="Native Linux">
506-
```shell
507-
oasis rofl build
508-
```
509-
</TabItem>
510-
<TabItem value="Docker (Mac/Windows/Linux)">
511-
```shell
512-
docker run --platform linux/amd64 --volume .:/src \
513-
-it ghcr.io/oasisprotocol/rofl-dev:main oasis rofl build
514-
```
515-
</TabItem>
516-
</Tabs>
501+
```shell
502+
oasis rofl build
503+
```
517504

518505
Then publish the enclave identities and config:
519506

docs/build/use-cases/price-oracle.mdx

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ description: Build an app that fetches latest price quotes from a centralized ex
33
tags: [ROFL, Sapphire, appd]
44
---
55

6-
import Tabs from '@theme/Tabs';
7-
import TabItem from '@theme/TabItem';
8-
96
# Trustless Price Oracle
107

118
This chapter will show you how to quickly create, build and test a minimal
@@ -269,18 +266,9 @@ For extra security, you can **[pin the image digest]** inside `compose.yaml`.
269266

270267
To build an app and update the enclave identity in the app manifest, run:
271268

272-
<Tabs>
273-
<TabItem value="Native Linux">
274-
```shell
275-
oasis rofl build
276-
```
277-
</TabItem>
278-
<TabItem value="Docker (Windows, Mac, Linux)">
279-
```shell
280-
docker run --platform linux/amd64 --volume .:/src -it ghcr.io/oasisprotocol/rofl-dev:main oasis rofl build
281-
```
282-
</TabItem>
283-
</Tabs>
269+
```shell
270+
oasis rofl build
271+
```
284272

285273
This will generate the ROFL bundle which can be used for later deployment and
286274
output something like:

docs/build/use-cases/tgbot.mdx

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ description: Build a private Telegram bot running in ROFL containing a simple py
33
tags: [ROFL, AI, secrets]
44
---
55

6-
import Tabs from '@theme/Tabs';
7-
import TabItem from '@theme/TabItem';
8-
96
# Private Telegram Chat Bot
107

118
This chapter shows you how to build a simple Telegram bot that will run inside
@@ -148,18 +145,9 @@ services:
148145

149146
To build a ROFL bundle invoke the following:
150147

151-
<Tabs>
152-
<TabItem value="Native Linux">
153-
```shell
154-
oasis rofl build
155-
```
156-
</TabItem>
157-
<TabItem value="Docker (Windows, Mac, Linux)">
158-
```shell
159-
docker run --platform linux/amd64 --volume .:/src -it ghcr.io/oasisprotocol/rofl-dev:main oasis rofl build
160-
```
161-
</TabItem>
162-
</Tabs>
148+
```shell
149+
oasis rofl build
150+
```
163151

164152
## Secrets
165153

docs/build/use-cases/trustless-agent.mdx

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ description: Deploy a trustless Eliza AI agent on Oasis using ROFL enclaves,
44
tags: [ROFL, AI, appd, secrets]
55
---
66

7-
import Tabs from '@theme/Tabs';
8-
import TabItem from '@theme/TabItem';
9-
107
# Trustless AI Agent
118

129
Learn how to deploy a trustless Eliza agent on Oasis using ROFL enclaves.
@@ -124,19 +121,9 @@ resources:
124121
125122
Then, build the ROFL bundle by invoking:
126123
127-
<Tabs>
128-
<TabItem value="Native Linux">
129-
```shell
130-
oasis rofl build
131-
```
132-
</TabItem>
133-
<TabItem value="Docker (Mac/Windows/Linux)">
134-
```shell
135-
docker run --platform linux/amd64 --volume .:/src \
136-
-it ghcr.io/oasisprotocol/rofl-dev:main oasis rofl build
137-
```
138-
</TabItem>
139-
</Tabs>
124+
```shell
125+
oasis rofl build
126+
```
140127

141128
## Secrets
142129

0 commit comments

Comments
 (0)