-
Notifications
You must be signed in to change notification settings - Fork 123
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 scrypto dev container target #2004
Conversation
8ff2571
to
5f14446
Compare
Docker tags |
5f14446
to
3276dac
Compare
Benchmark for 36b7b31Click to view benchmark
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice!
Out of interest:
- How is this supposed to be used?
- Do people add some kind of devcontainer file to their repo?
- How can this be tested locally during development?
- How have you been testing it?
- Might we want some script to build the dev container locally, possibly commented in the Dockerfile to help future people to tweak it?
- Perhaps we need something in CI to test the building of this target? Like the dev-container equivalent of
ci-scrypto-builder.yml
andpublish-scrypto-builder.yml
Dockerfile
Outdated
@@ -50,6 +50,13 @@ WORKDIR /app | |||
|
|||
RUN cargo install --path ./radix-clis | |||
|
|||
FROM base-image as dev-container | |||
RUN apt install -y bash-completion powerline |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth a quick comment explaining that this installs a better prompt for a better dev experience (with maybe a link to the powerline website?)
My intention is to create another repo with the Hello template in and that uses this image as it's dev container
Build the image with {
"name": "Radix Scrypto",
"image": "scrypto-dev-container",
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml",
"radixpublishing.radix-developer-tools"
]
}
}
}
That would be the same for the new repo also containing a Hello template
Will add this
Will add this too |
cda17ea
to
44da993
Compare
44da993
to
5aebfa9
Compare
5aebfa9
to
cb560a5
Compare
Summary