This repository contains the development environment setup for the ETOPAY SDK using a Devcontainer. It leverages Docker to provide a consistent and isolated development environment for building, testing, and deploying the ETOPAY SDK.
- Pre-configured environment for Rust, Node.js, Android, and Swift development.
- Includes tools like
rustup,cargo,bun,gradle, and Android SDK/NDK. - Supports cross-compilation for multiple platforms, including Android and iOS.
- Integrated with GitHub Actions for building and pushing Docker images to GitHub Container Registry (GHCR).
- Install Docker.
- Install Visual Studio Code with the Dev Containers extension.
-
Clone the ETOPay SDK repository:
git clone https://github.com/ETOSPHERES-Labs/etopay-sdk cd etopay-sdk -
Open the ETOPay SDK repository in Visual Studio Code.
-
Reopen the folder in the Devcontainer:
- Press
Ctrl+Shift+P(orCmd+Shift+Pon macOS) and select Reopen in Container.
- Press
-
Start developing in the pre-configured environment.
To build the Docker image locally:
git clone https://github.com/ETOSPHERES-Labs/etopay-sdk-devcontainer && cd etopay-sdk-devcontainer
docker build -t etopay-sdk-devcontainer .To run the container:
docker run -it etopay-sdk-devcontainerThis repository includes a GitHub Actions workflow to automate the building and pushing of the Docker image to GitHub Container Registry (GHCR).
- Manual Trigger: Pushes the image with the branch name as the tag if triggered on a
feat/*branch. - Push to
main: Pushes the image with thelatesttag. - Git Tag: Pushes the image with the Git tag as the tag.
- Go to the Actions tab in your GitHub repository.
- Select the Build and Push Devcontainer workflow.
- Trigger the workflow manually or by pushing to
mainor creating a Git tag.
This project is licensed under the GNU Affero General Public License v3.0.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
For any questions or issues, please contact the maintainers or open an issue in this repository.