Commit Graph

  • 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 Khan 2024-07-26 08:28:33 +00:00
  • 2696b9d7d5 Added git to the list of essential packages. Ameer Hamza 2024-01-17 12:19:15 +08:00
  • 10477a6671 Fixed the creation and permissions on log file. Ameer Hamza 2023-12-11 13:04:57 +08:00
  • 0800461a3f Also added symlinks for /etc/localtime Ameer Hamza 2023-12-11 11:56:25 +08:00
  • b1a55bf0ba Added package to fix timezone issue. Ameer Hamza 2023-12-11 11:46:21 +08:00
  • 7d9ccc97aa Fixed a missing sudo in the entrypoint. Ameer Hamza 2023-12-11 11:23:33 +08:00
  • b25c90a79f Added a new useful package. Ameer Hamza 2023-11-09 13:33:27 +08:00
  • 7efd7969e3 Updated to use the buildx docker image corresponding to version 24. Ameer Hamza 2023-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 Hamza 2023-10-01 22:50:13 +08:00
  • 148ca97819 Added package software-properties-common. it is useful for many apt commands. Ameer Hamza 2023-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 Hamza 2023-08-29 00:06:56 +08:00
  • 63476fa2eb Added line in Dockerfile which allow non-root users to run sudo commands. Ameer Hamza 2023-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 Hamza 2023-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 Hamza 2023-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 Hamza 2023-04-20 05:37:01 +08:00
  • d66652e79d Added support for n8n webhook to trigger the build of other related images. Ameer Hamza 2023-04-16 05:10:40 +08:00
  • d84e753e95 Added support for latest tag for latest version of ubuntu. Ameer Hamza 2023-04-14 12:35:53 +08:00
  • 1da30f58c7 Disabled addition of provenance attestation. Ameer Hamza 2023-04-14 05:55:19 +08:00
  • 18ac352b28 Fixed the issue with naming steps. Ameer Hamza 2023-04-12 16:09:26 +08:00
  • ac7255dbed Simplified the config file. Ameer Hamza 2023-04-12 16:08:06 +08:00
  • 26a1e4ffda Fixed the caching scheme. Ameer Hamza 2023-04-12 15:56:46 +08:00
  • b44be08156 Added a new tag for all images. Ameer Hamza 2023-04-12 14:24:31 +08:00
  • d22896d831 Updated how cache is handled. Added a new tag. Ameer Hamza 2023-04-12 13:49:07 +08:00
  • b61418adb2 Added support for ubuntu 22, 20, 18. Ameer Hamza 2023-04-12 13:26:53 +08:00
  • 895026b649 Fixed typo. Ameer Hamza 2023-04-12 12:39:43 +08:00
  • 3e73ec1eac Added support for drone CI/CD. Ameer Hamza 2023-04-12 12:36:24 +08:00
  • 24baf083e8 Run init and exit commands with eval. Ameer Hamza 2023-04-10 17:52:19 +08:00
  • 6c50514156 Switching to local cache for buildx builds. Ameer Hamza 2023-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 Hamza 2023-03-22 12:40:58 +08:00
  • de51c65c47 Changed cache mode to 'max' Ameer Hamza 2023-03-22 00:33:54 +08:00
  • 5a3d0df074 Fixed syntax errors. Ameer Hamza 2023-03-22 00:09:31 +08:00
  • f4582c8a39 Simplified tagging. Added option for build caching. The cache is stored on the registry along the images. Ameer Hamza 2023-03-22 00:08:17 +08:00
  • 18cceb6961 Changes to build_command.sh weren't committed in last commit. Ameer Hamza 2023-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 Hamza 2023-03-21 18:18:29 +08:00
  • 887ec1a4dc Added missing variables to .gitlab-ci.yml. Ameer Hamza 2023-03-21 18:12:33 +08:00
  • 34932d644c Previous commit didn't contain the updated .gitlab-ci.yml. Ameer Hamza 2023-03-21 18:09:00 +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 Hamza 2023-03-21 18:00:07 +08:00
  • b6b90e5368 Added support for locales. Ameer Hamza 2023-03-20 16:52:47 +08:00
  • cf46f2a46b Removed tags from .gitlab-ci.yml. Now using global runner Ameer Hamza 2023-03-19 20:28:30 +08:00
  • 9c288a9f26 Added tag to .gitlab-ci.yml to use project specific runner. Ameer Hamza 2023-03-19 19:42:55 +08:00
  • 44db05856f Only allow ubuntu-22 to use latest tag. Ameer Hamza 2023-03-19 14:54:01 +08:00
  • a00a5b242e Added rule to build the image when .gitlab-ci.yml file is changed. Ameer Hamza 2023-03-19 14:42:54 +08:00
  • cb3c793cbc Added support to build images for ubuntu-18 and ubuntu-20. Ameer Hamza 2023-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 Hamza 2023-03-19 14:09:42 +08:00
  • cfc3f1ec13 Added more network utilities. Ameer Hamza 2023-03-19 01:32:00 +08:00
  • a124a6745a Updated CI/CD config to only build if relevant files are updated Ameer Hamza 2023-03-18 12:10:53 +08:00
  • bcf4e5130d Gitlab CI/CD pipeline successful. Removing older helper files which are no longer needed. Ameer Hamza 2023-03-18 12:00:56 +08:00
  • d0c66ad2c3 Added Gitlab's CI/CD pipeline (.gitlab-ci.yml) for automation. Ameer Hamza 2023-03-18 11:53:46 +08:00
  • 843d683af2 Added option for user to give its own init and exit commands. Ameer Hamza 2022-11-18 02:06:35 +08:00
  • efa488db64 Changed the tagging strategy Ameer Hamza 2022-11-17 21:00:39 +08:00
  • e47266f5bd First commit. Everything working as intended. Ameer Hamza 2022-11-17 20:58:22 +08:00