2024-02-26 11:05:05 +00:00
# stellar-dev-env
## Description
2024-02-26 19:26:43 +08:00
Stellar-Dev-Env is a tool based on GitLab CI that helps you build and release a Docker image for your stellar-c development environment quickly and easily.
2024-02-26 11:05:05 +00:00
2024-02-26 19:26:43 +08:00
## Usage
2024-02-26 11:05:05 +00:00
2024-02-26 19:26:43 +08:00
Step 1: Login to private docker registry, use the following command:
2024-02-26 11:05:05 +00:00
2024-02-26 19:26:43 +08:00
```
docker login https://git.mesalab.cn:7443 -u $your_username -p $your_passwd
2024-02-26 11:05:05 +00:00
2024-02-26 19:26:43 +08:00
```
2024-02-26 11:05:05 +00:00
2024-02-26 19:26:43 +08:00
Replace `your_username` and `your_passwd` with your private account.
2024-02-26 11:05:05 +00:00
2024-02-26 19:26:43 +08:00
Step 2: Pull the stellar-dev-env Docker image, use the following command:
2024-02-26 11:05:05 +00:00
2024-02-26 19:26:43 +08:00
```
2024-02-27 11:13:43 +08:00
docker pull git.mesalab.cn:7443/stellar/stellar-dev-env:$tag
2024-02-26 19:26:43 +08:00
```
2024-02-26 11:05:05 +00:00
2024-02-27 11:13:43 +08:00
Replace `tag` with the desired version or branch name, such as `main` .
2024-02-26 19:26:43 +08:00
After successfully pulling the image, you can use the stellar-dev-env Docker container as needed.
2024-02-26 11:05:05 +00:00
2024-02-26 19:26:43 +08:00
## Development Components
2024-02-26 11:05:05 +00:00
2024-02-26 19:26:43 +08:00
The stellar-dev-env Docker image comes pre-installed with essential development components, including:
2024-02-26 11:05:05 +00:00
2024-02-26 19:26:43 +08:00
* sapp
* stellar-c
* libMESA_htable
* ibMESA_handle_logger
* libMESA_prof_load
* libMESA_field_stat2
* libMESA_jump_layer
* libfieldstat3
* libfieldstat4
* libbreakpad_mini
2024-02-27 11:13:43 +08:00
* libcjson