22 Commits

Author SHA1 Message Date
Ameer Hamza Khan
17289aeac4 Streamlined the entrypoint script. 2025-12-25 20:24:42 +08:00
Ameer Hamza Khan
6122e061a7 Added option to configure china's internal mirrors. 2025-12-25 17:05:32 +08:00
Ameer Hamza Khan
574f6825be Fixed the issue with mis handling of term signal. Now the long running process is automatically send to background. 2025-09-11 10:14:57 +00:00
Ameer Hamza Khan
a299d285e6 Enhance entrypoint script to support legacy COMMAND_INIT and COMMAND_EXIT variables, allowing for backward compatibility and execution of multiple user-defined exit and initialization commands in order.
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-07 09:04:50 +00:00
Ameer Hamza Khan
828a0d72c4 Update Dockerfile to include python-is-python3 and enhance entrypoint script for conditional package list updates based on network availability.
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-31 07:25:04 +00:00
Ameer Hamza Khan
6802f963d0 Fix a minor issue. this prevent runtime issue if a file is mounted in home dir, like .ssh.
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
2025-07-27 16:11:56 +00:00
Ameer Hamza Khan
8dd84546a7 Remove the set -x to prevent clutter in logs.
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-27 16:01:12 +00:00
Ameer Hamza Khan
bb6dc6ab2e Improved the script to add more useful packages and improved the entrypoint script.
Some checks failed
continuous-integration/drone/push Build is failing
2025-07-27 13:09:14 +00:00
Ameer Hamza Khan
eada31f646 Fixed a little mistake.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2024-12-03 08:44:22 +00:00
Ameer Hamza Khan
c0d77c7bd1 Changed the way user directory is created. Now doing stuff manually so that permissions are handled correctly. This is especially useful when mounting something inside the user directory.
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-03 07:34:28 +00:00
Ameer Hamza Khan
9866a5d1c5 Added the ssh server as part of base image.
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-03 05:16:42 +00:00
Ameer Hamza Khan
e47e68dd3e Fixed the issue related to the timezones. Removed the tz setup inside the image. Now the host machine will set the tz. Also added a new variable USER_COMMAND_SETUP which will run after the SYS_COMMAND_INIT.
Some checks failed
continuous-integration/drone/push Build is failing
2024-10-09 07:14:40 +00:00
e744481ea2 Changed order of execution for User and Sys init commands.
All checks were successful
continuous-integration/drone Build is passing
2024-07-26 08:28:33 +00:00
10477a6671 Fixed the creation and permissions on log file.
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-11 13:04:57 +08:00
7d9ccc97aa Fixed a missing sudo in the entrypoint.
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-11 11:23:33 +08:00
2f99261d26 Changed entrypoing script so that it will wait for the system command to finish before running user command.
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-01 22:50:13 +08:00
867c36cec9 Added option to add system commands at init and exit of the container. These commands will usually be set in Dockerfile of child images.
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-29 00:06:56 +08:00
41d4f6f73f Added the command to create home directory for the current user of the container. Also added few helpful comments.
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-27 18:46:11 +08:00
24baf083e8 Run init and exit commands with eval. 2023-04-10 17:52:19 +08:00
ad7a2f55ad [Significant Changes] Added build_command.sh to simplify the .gitlab-ci.yml. Added LOG_FILE variable to make the enrypoing 'tail -f' command more useful. 2023-03-21 18:00:07 +08:00
843d683af2 Added option for user to give its own init and exit commands. 2022-11-18 02:06:35 +08:00
e47266f5bd First commit. Everything working as intended. 2022-11-17 20:58:22 +08:00