17289aeac4
Streamlined the entrypoint script.
main
Ameer Hamza Khan
2025-12-25 20:24:42 +08:00
6122e061a7
Added option to configure china's internal mirrors.
Ameer Hamza Khan
2025-12-25 17:05:32 +08:00
574f6825be
Fixed the issue with mis handling of term signal. Now the long running process is automatically send to background.
Ameer Hamza Khan
2025-09-11 10:14:57 +00:00
d6837c0329
Deleted the drone based CI/CD pipeline and wrote a simple buildx script to build the images manually.
Ameer Hamza Khan
2025-08-17 09:57:53 +00:00
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.
Ameer Hamza Khan
2025-08-07 09:04:50 +00:00
828a0d72c4
Update Dockerfile to include python-is-python3 and enhance entrypoint script for conditional package list updates based on network availability.
Ameer Hamza Khan
2025-07-31 07:25:04 +00:00
6802f963d0
Fix a minor issue. this prevent runtime issue if a file is mounted in home dir, like .ssh.
Ameer Hamza Khan
2025-07-27 16:11:56 +00:00
8dd84546a7
Remove the set -x to prevent clutter in logs.
Ameer Hamza Khan
2025-07-27 16:01:12 +00:00
7a86a6306c
Removed resolvconf because it is legacy and cause problem with docker image building.
Ameer Hamza Khan
2025-07-27 13:40:12 +00:00
bb6dc6ab2e
Improved the script to add more useful packages and improved the entrypoint script.
Ameer Hamza Khan
2025-07-27 13:09:14 +00:00
eada31f646
Fixed a little mistake.
Ameer Hamza Khan
2024-12-03 08:44:22 +00:00
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.
Ameer Hamza Khan
2024-12-03 07:34:28 +00:00
9866a5d1c5
Added the ssh server as part of base image.
Ameer Hamza Khan
2024-12-03 05:16:42 +00:00
56c1232e5c
Added few more useful packages to the image.
Ameer Hamza Khan
2024-10-10 09:10:20 +00:00
221f1fd369
Exchanged lsb-core with lsb-release because former isn't available on newer ubuntu version.
Ameer Hamza Khan
2024-10-09 07:23:51 +00:00
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.
Ameer Hamza Khan
2024-10-09 07:14:40 +00:00
e744481ea2
Changed order of execution for User and Sys init commands.
Ameer Hamza Khan2024-07-26 08:28:33 +00:00
2696b9d7d5
Added git to the list of essential packages.
Ameer Hamza2024-01-17 12:19:15 +08:00
10477a6671
Fixed the creation and permissions on log file.
Ameer Hamza2023-12-11 13:04:57 +08:00
0800461a3f
Also added symlinks for /etc/localtime
Ameer Hamza2023-12-11 11:56:25 +08:00
7efd7969e3
Updated to use the buildx docker image corresponding to version 24.
Ameer Hamza2023-10-06 23:45:03 +08:00
2f99261d26
Changed entrypoing script so that it will wait for the system command to finish before running user command.
Ameer Hamza2023-10-01 22:50:13 +08:00
148ca97819
Added package software-properties-common. it is useful for many apt commands.
Ameer Hamza2023-09-22 12:19:38 +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.
Ameer Hamza2023-08-29 00:06:56 +08:00
63476fa2eb
Added line in Dockerfile which allow non-root users to run sudo commands.
Ameer Hamza2023-08-27 18:50:20 +08:00
41d4f6f73f
Added the command to create home directory for the current user of the container. Also added few helpful comments.
Ameer Hamza2023-08-27 18:46:11 +08:00
2b0507899c
Removed the files required by gitlab CI/CD. Gitea/drone CI/CD is working well for past several months.
Ameer Hamza2023-08-24 15:54:27 +08:00
c20fc7cd90
Added registry name as secret to make the config more flexible. Reason: added as secret because currently drone config doesn't expand env variables inside config file. Advantage: Each version of drone can decide which repo to use for pulling and pushing.
Ameer Hamza2023-04-20 05:37:01 +08:00
d66652e79d
Added support for n8n webhook to trigger the build of other related images.
Ameer Hamza2023-04-16 05:10:40 +08:00
d84e753e95
Added support for latest tag for latest version of ubuntu.
Ameer Hamza2023-04-14 12:35:53 +08:00
1da30f58c7
Disabled addition of provenance attestation.
Ameer Hamza2023-04-14 05:55:19 +08:00
24baf083e8
Run init and exit commands with eval.
Ameer Hamza2023-04-10 17:52:19 +08:00
6c50514156
Switching to local cache for buildx builds.
Ameer Hamza2023-03-22 13:08:58 +08:00
74cd35ab17
Trying to upload build_cache image with oci-mediatypes=true. Reason: without this option, the image size and manifest are not displayed on Gitlab. Trying to see if this option will fix the issue.
Ameer Hamza2023-03-22 12:40:58 +08:00
f4582c8a39
Simplified tagging. Added option for build caching. The cache is stored on the registry along the images.
Ameer Hamza2023-03-22 00:08:17 +08:00
18cceb6961
Changes to build_command.sh weren't committed in last commit.
Ameer Hamza2023-03-21 18:20:00 +08:00
d0f22369b7
Fixed Tagging issues in build_command.sh. Also added lines to catch command failures in Gitlab's CI.
Ameer Hamza2023-03-21 18:18:29 +08:00
887ec1a4dc
Added missing variables to .gitlab-ci.yml.
Ameer Hamza2023-03-21 18:12:33 +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.
Ameer Hamza2023-03-21 18:00:07 +08:00
cf46f2a46b
Removed tags from .gitlab-ci.yml. Now using global runner
Ameer Hamza2023-03-19 20:28:30 +08:00
9c288a9f26
Added tag to .gitlab-ci.yml to use project specific runner.
Ameer Hamza2023-03-19 19:42:55 +08:00
44db05856f
Only allow ubuntu-22 to use latest tag.
Ameer Hamza2023-03-19 14:54:01 +08:00
a00a5b242e
Added rule to build the image when .gitlab-ci.yml file is changed.
Ameer Hamza2023-03-19 14:42:54 +08:00
cb3c793cbc
Added support to build images for ubuntu-18 and ubuntu-20.
Ameer Hamza2023-03-19 14:40:04 +08:00
0e84d4ccfb
Configured the image to allow autocompletion i^Capt. Added few new packages. Changed entrypoint to CMD so that it can be overwridden from command line using docker run command
Ameer Hamza2023-03-19 14:09:42 +08:00