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

Split dev container #31

Merged
merged 3 commits into from
Apr 18, 2024
Merged

Split dev container #31

merged 3 commits into from
Apr 18, 2024

Conversation

thpani
Copy link
Collaborator

@thpani thpani commented Apr 18, 2024

Building the dev container was rather slow (because cargo install soroban-cli is slow).

So I'm splitting it into two separate container definitions:

  • TypeScript + Java + Apalache in ./solarkraft/
  • Rust + Soroban in ./ContractExamples/

I'm also getting rid of Dockerfile; there's devcontainer features for both cargo install and adding the wasm32-unknown-unknown target.

This way, you can quickly bring up container for Solarkraft from scratch, while we have a second one for Soroban-related work.

For the Solarkraft container, Apalache is installed in /opt/apalache/.

Split the dev container into two separate contaienrs:
- TypeScript + Java + Apalache
- Rust + Soroban
Copy link
Contributor

@konnov konnov left a comment

Choose a reason for hiding this comment

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

Nice! Could you also add some instructions to CONTRIBUTING.md? I would like to use these containers but not sure about when and how :)

solarkraft/.devcontainer/devcontainer.json Outdated Show resolved Hide resolved
@thpani thpani requested a review from konnov April 18, 2024 14:30
@thpani thpani merged commit 24e7def into main Apr 18, 2024
2 checks passed
@thpani thpani deleted the th/split-devcontainer branch April 18, 2024 14:30
@konnov konnov added this to the M2: Monitor executor milestone May 10, 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.

2 participants