-
Notifications
You must be signed in to change notification settings - Fork 13
Add devcontainer env #19
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Smityz <smityz@qq.com>
This dev container config can compile on MacOS, but can't compile on Windows 11. I think it's a platform problem, I will fix it later. |
/bin/bash -c "make release" | ||
``` | ||
|
||
**Way3: Use Image to Compile(Image is NOT Official)** |
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.
@tisonkun Do we allow personal image?
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.
No. It's better to start a proposal build an image with approval of TiKV committers or maintainers instead of recommend a personal docker image in README.
@Smityz you can still mention it in the PR description and spread among social media, but TiKV may not endorse it like this.
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.
Agree with you, and I will convert this PR to draft until someone builds an official docker image.
@@ -0,0 +1,24 @@ | |||
FROM centos:7.9.2009 |
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.
Based on my experience developing a dev container
for OpenDAL, I recommend using mcr.microsoft.com/devcontainers/rust:bullseye
and customizing it with post_create.sh
. For more information, please visit https://github.com/apache/incubator-opendal/tree/main/.devcontainer.
- All images are cached so users don't need to fetch them.
- Those images are well-maintained and updated.
- Those images handles many suck things related to users permission which is not easy (we tried and failed at OpenDAL).
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.
Thank you, let me try
related issue: #18
add a dev container config for client-cpp
Closes #18