Commit Graph

45 Commits

Author SHA1 Message Date
Marvin Zhang
f03b346ba3 feat: enhance Python installation script with requirements handling and dependency updates
- Added jq to the dependencies in the Docker base image installation script.
- Updated the Python installation script to support handling of custom requirements via command-line arguments.
- Implemented a new function to manage requirements installation, falling back to a default requirements file if none is provided.
- Improved version check logic to prevent redundant installations of Python versions, enhancing efficiency in Docker environments.
2024-12-25 15:26:04 +08:00
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
9db81932f6 fix: suppress nginx service start output in docker-init.sh
- Redirected the output of the nginx service start command to /dev/null to prevent cluttering the console with unnecessary messages during server startup.
- This change enhances the user experience by providing a cleaner output when initializing the Docker environment.
2024-12-25 14:24:23 +08:00
Marvin Zhang
67165f5e3f feat: add zip package installation to base image dependencies
- Updated the deps.sh script to include the 'zip' package in the list of installed dependencies for the Docker base image.
- This addition ensures that the zip utility is available for use in subsequent Docker image builds and applications.
2024-12-23 22:02:33 +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
c945e093d5 chore: updated deps 2024-12-16 22:28:13 +08:00
Marvin Zhang
fd1ecd11a7 ci: updated docker-init.sh 2024-11-24 18:09:00 +08:00
Marvin Zhang
5e0fd1a8d8 ci: updated dockerfile 2024-11-24 17:47:29 +08:00
Marvin Zhang
0912395837 ci: updated dockerfile 2024-11-24 11:35:21 +08:00
Marvin Zhang
3a49f48aaf ci: updated base-image 2024-11-24 11:22:31 +08:00
Marvin Zhang
af3749d913 ci: fix issues 2024-11-24 10:23:43 +08:00
Marvin Zhang
a3b395e8e8 ci: updated base-image 2024-11-24 10:08:48 +08:00
Marvin Zhang
f6a9964fbb ci: fix issue 2024-11-24 10:07:09 +08:00
Marvin Zhang
f9e7b16c11 ci: updated base-image 2024-11-24 09:34:35 +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
c5e0ba8baa ci: updated base-image 2024-11-22 19:59:18 +08:00
Marvin Zhang
92f460424e ci: updated base-image 2024-11-22 18:06:09 +08:00
Marvin Zhang
2b3473dc48 chore: updated deps 2024-11-22 17:55:20 +08:00
Marvin Zhang
ecd156a101 ci: updated base-image 2024-11-22 14:28:08 +08:00
Marvin Zhang
53d3edd420 chore: added debug code 2024-11-22 10:48:32 +08:00
Marvin Zhang
76c6a482d9 ci: updated base-image 2024-11-22 10:34:11 +08:00
Marvin Zhang
5f0ffa39ef fix: ci issue for base-image 2024-11-22 09:41:24 +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
a781d12954 ci: updated base-image 2024-11-20 15:07:15 +08:00
Marvin Zhang
d407cc06af ci: updated base-image 2024-11-20 15:05:23 +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
6babe327b4 ci: updated base-image 2024-11-20 14:42:15 +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
a3b286558b refactor: consolidated configs 2024-11-18 16:48:09 +08:00
Marvin Zhang
82e078076c refactor: cleanup code 2024-10-25 11:18:57 +08:00
marvzhang
2af88a99ac code cleanup 2020-03-04 11:32:29 +08:00
yaziming
5e2b3ca228 Revert "Revert "V0.4.0 imporve error response""
This reverts commit acccdb65bd.
2019-09-04 20:41:37 +08:00
Marvin Zhang
acccdb65bd Revert "V0.4.0 imporve error response" 2019-09-03 15:24:26 +08:00
陈景阳
771cb76277 fix 前端控制台报错的问题 \
fix 无法打印中文的问题
2019-08-31 12:04:12 +08:00
Marvin Zhang
c86b6aebfe updated Dockerfile.frontend.alpine 2019-08-24 22:01:23 +08:00
yaziming
ecd7fdbf45 增加构建参数:NPM_DISABLE_SAFE_PERM 表示是否启用不验证npm证书模式,用来解决某些构建环境下npm报错的问题
true:开启
false:关闭

升级node8.0 到 lts版本(10.x)
2019-08-16 14:30:36 +08:00
Marvin Zhang
7aa6afb4b5 added Dockerfiles 2019-08-16 00:09:04 +08:00