Commit Graph

15 Commits

Author SHA1 Message Date
Marvin Zhang
4144271a38 feat: enhance Python installation script with command handling and verification
- Refactored the Python installation script to support multiple commands: install, uninstall, switch, and list.
- Added functions for usage printing, dependency installation, pyenv setup, Python version verification, symlink creation, and cleanup.
- Improved error handling for version checks and command execution, enhancing usability and flexibility in Docker environments.
- Default Python version is set to 3.12, with the option to specify a different version during installation.
2024-12-25 15:01:58 +08:00
Marvin Zhang
c4c7d259c6 fix: update pyenv installation script to use user-specific environment file
- Changed the installation script for pyenv to create a user-specific environment file at $HOME/.pyenv-env.sh instead of a system-wide file in /etc/profile.d/.
- Updated the script to source the new environment file, ensuring that the pyenv setup is applied correctly for the user.
- This change improves the flexibility and usability of the pyenv installation in Docker environments.
2024-12-25 14:51:50 +08:00
Marvin Zhang
19b9135238 fix: ci issue 2024-12-17 19:39:26 +08:00
Marvin Zhang
e77d4cdd31 feat: updated dependency management 2024-12-17 19:32:16 +08:00
Marvin Zhang
b125ba340e ci: updated base-image 2024-11-23 10:51:46 +08:00
Marvin Zhang
534f66eabf ci: updated workflow 2024-11-22 20:51:56 +08:00
Marvin Zhang
cd2abe9547 ci: updated workflow 2024-11-22 20:44:26 +08:00
Marvin Zhang
d50383d47a feat: added ipc to task runner 2024-11-21 18:24:29 +08:00
Marvin Zhang
1c618bd152 ci: optimized base-image size 2024-11-20 15:17:03 +08:00
Marvin Zhang
db4dce33a4 ci: updated base-image 2024-11-20 15:04:25 +08:00
Marvin Zhang
46100ebaf5 ci: updated base-image 2024-11-20 14:55:42 +08:00
Marvin Zhang
874f02a9fe ci: updated dockerfile 2024-11-20 14:34:45 +08:00
Marvin Zhang
2203be98c3 ci: updated base-image 2024-11-20 14:24:53 +08:00
Marvin Zhang
1e2cad899d ci: updated dockerfiles 2024-11-20 14:21:05 +08:00
Marvin Zhang
82e078076c refactor: cleanup code 2024-10-25 11:18:57 +08:00