-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
feat: support devcontainer #11765
base: master
Are you sure you want to change the base?
feat: support devcontainer #11765
Conversation
I have tested this on However, I don't have a desktop system running Linux, which would require someone else to help test, but that should not be a problem. |
The error in the CI is not related to this PR, it also fails on other PRs, will investigate it later. UPDATEI have fixed the issue in #11769. |
5533908
to
44bc599
Compare
🆒 I will help with testing using Manjaro KDE Plasma(amd64) + Docker Engine. |
Description
Add devcontainer support to the project, which is expected to cover
Linux, Windows (WSL2), macOS
OSs, and theamd64, arm64
CPU ISAs, i.e. the environments used by most developers.Basically, the container provides an isolated environment from the host, the runtime and toolset required for APISIX development are built in the container build, they will be available out of the box and developers no longer need to build and install them on the host. Just start dev container, wait a few moments, and it's ready to go.
Significantly simplify the parts that may be unfamiliar to developers and just focus on writing Lua code and test cases.
In addition to this, etcd is ready, maintained by docker-compose, and accessible on the local loopback.
Checklist