Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile for developing ROFL #2063

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jberci
Copy link
Contributor

@jberci jberci commented Nov 15, 2024

No description provided.

Copy link

netlify bot commented Nov 15, 2024

Deploy Preview for oasisprotocol-oasis-sdk ready!

Name Link
🔨 Latest commit 4e6fcc3
🔍 Latest deploy log https://app.netlify.com/sites/oasisprotocol-oasis-sdk/deploys/6744a9df36364c00083d9634
😎 Deploy Preview https://deploy-preview-2063--oasisprotocol-oasis-sdk.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jberci jberci requested a review from matevz November 15, 2024 09:34
@jberci jberci marked this pull request as ready for review November 15, 2024 09:34
Copy link
Member

@matevz matevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll make another pass once Oasis CLI 0.10.3+ is released.

docs/rofl/prerequisites.md Show resolved Hide resolved
@matevz matevz added the blocked label Nov 15, 2024
the next section of this guide:

```bash
docker run --platform linux/amd64 --volume ./rofl-oracle:/src -it ghcr.io/oasisprotocol/rofl-dev
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This command could actually be expanded in the application.md chapter to include full build commands.

@@ -0,0 +1,9 @@
FROM ghcr.io/oasisprotocol/oasis-core-dev:stable-24.3.x AS oasis-core-dev

ARG OASIS_CLI_VERSION=0.10.3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can install those by running:

```shell
sudo apt install musl-tools gcc-multilib clang
sudo apt install gcc-multilib clang
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: when trying to run it in ubuntu docker (and devcontainer), it also required:

sudo apt update
sudo apt -y install pkg-config protobuf-compiler cmake

@jberci jberci force-pushed the jberci/feature/macos-docker branch 2 times, most recently from dfe9879 to 5ffd4cd Compare November 19, 2024 14:52
@matevz matevz removed the blocked label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants