Commit Graph
63 Commits
Author SHA1 Message Date
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.
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.
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.
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.
continuous-integration/drone/push Build is passing
2025-07-27 16:01:12 +00:00
Ameer Hamza Khan 7a86a6306c Removed resolvconf because it is legacy and cause problem with docker image building.
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is failing
2025-07-27 13:40:12 +00:00
Ameer Hamza Khan bb6dc6ab2e Improved the script to add more useful packages and improved the entrypoint script.
continuous-integration/drone/push Build is failing
2025-07-27 13:09:14 +00:00
Ameer Hamza Khan eada31f646 Fixed a little mistake.
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.
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.
continuous-integration/drone/push Build is passing
2024-12-03 05:16:42 +00:00
Ameer Hamza Khan 56c1232e5c Added few more useful packages to the image.
continuous-integration/drone/push Build is passing
2024-10-10 09:10:20 +00:00
Ameer Hamza Khan 221f1fd369 Exchanged lsb-core with lsb-release because former isn't available on newer ubuntu version.
continuous-integration/drone/push Build is passing
2024-10-09 07:23:51 +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.
continuous-integration/drone/push Build is failing
2024-10-09 07:14:40 +00:00
ameerhamzakhan e744481ea2 Changed order of execution for User and Sys init commands.
continuous-integration/drone Build is passing
2024-07-26 08:28:33 +00:00
ameerhamzakhan 2696b9d7d5 Added git to the list of essential packages.
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2024-01-17 12:19:15 +08:00
ameerhamzakhan 10477a6671 Fixed the creation and permissions on log file.
continuous-integration/drone/push Build is passing
2023-12-11 13:04:57 +08:00
ameerhamzakhan 0800461a3f Also added symlinks for /etc/localtime
continuous-integration/drone/push Build is passing
2023-12-11 11:56:25 +08:00
ameerhamzakhan b1a55bf0ba Added package to fix timezone issue.
continuous-integration/drone/push Build is passing
2023-12-11 11:46:21 +08:00
ameerhamzakhan 7d9ccc97aa Fixed a missing sudo in the entrypoint.
continuous-integration/drone/push Build is passing
2023-12-11 11:23:33 +08:00
ameerhamzakhan b25c90a79f Added a new useful package.
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2023-11-09 13:33:27 +08:00
ameerhamzakhan 7efd7969e3 Updated to use the buildx docker image corresponding to version 24.
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2023-10-06 23:45:03 +08:00
ameerhamzakhan 2f99261d26 Changed entrypoing script so that it will wait for the system command to finish before running user command.
continuous-integration/drone/push Build is passing
2023-10-01 22:50:13 +08:00
ameerhamzakhan 148ca97819 Added package software-properties-common. it is useful for many apt commands.
continuous-integration/drone/push Build is passing
2023-09-22 12:19:38 +08:00
ameerhamzakhan 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.
continuous-integration/drone/push Build is passing
2023-08-29 00:06:56 +08:00
ameerhamzakhan 63476fa2eb Added line in Dockerfile which allow non-root users to run sudo commands.
continuous-integration/drone/push Build is passing
2023-08-27 18:50:20 +08:00
ameerhamzakhan 41d4f6f73f Added the command to create home directory for the current user of the container. Also added few helpful comments.
continuous-integration/drone/push Build is passing
2023-08-27 18:46:11 +08:00
ameerhamzakhan 2b0507899c Removed the files required by gitlab CI/CD. Gitea/drone CI/CD is working well for past several months.
continuous-integration/drone/push Build is passing
2023-08-24 15:54:27 +08:00
ameerhamzakhan 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.
continuous-integration/drone/push Build is passing
2023-04-20 05:37:01 +08:00
ameerhamzakhan d66652e79d Added support for n8n webhook to trigger the build of other related images.
continuous-integration/drone/push Build is passing
2023-04-16 05:10:40 +08:00
ameerhamzakhan d84e753e95 Added support for latest tag for latest version of ubuntu.
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2023-04-14 12:35:53 +08:00
ameerhamzakhan 1da30f58c7 Disabled addition of provenance attestation.
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
2023-04-14 05:55:19 +08:00
ameerhamzakhan 18ac352b28 Fixed the issue with naming steps.
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2023-04-12 16:09:26 +08:00
ameerhamzakhan ac7255dbed Simplified the config file.
continuous-integration/drone/push Build encountered an error
2023-04-12 16:08:06 +08:00
ameerhamzakhan 26a1e4ffda Fixed the caching scheme.
continuous-integration/drone/push Build is passing
2023-04-12 15:56:46 +08:00
ameerhamzakhan b44be08156 Added a new tag for all images.
continuous-integration/drone/push Build is passing
2023-04-12 14:24:31 +08:00
ameerhamzakhan d22896d831 Updated how cache is handled. Added a new tag.
continuous-integration/drone/push Build is failing
2023-04-12 13:49:07 +08:00
ameerhamzakhan b61418adb2 Added support for ubuntu 22, 20, 18.
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
2023-04-12 13:26:53 +08:00
ameerhamzakhan 895026b649 Fixed typo.
continuous-integration/drone/push Build is failing
2023-04-12 12:39:43 +08:00
ameerhamzakhan 3e73ec1eac Added support for drone CI/CD.
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
2023-04-12 12:36:24 +08:00
ameerhamzakhan 24baf083e8 Run init and exit commands with eval. 2023-04-10 17:52:19 +08:00
ameerhamzakhan 6c50514156 Switching to local cache for buildx builds. 2023-03-22 13:08:58 +08:00
ameerhamzakhan 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. 2023-03-22 12:40:58 +08:00
ameerhamzakhan de51c65c47 Changed cache mode to 'max' 2023-03-22 00:33:54 +08:00
ameerhamzakhan 5a3d0df074 Fixed syntax errors. 2023-03-22 00:09:31 +08:00
ameerhamzakhan f4582c8a39 Simplified tagging. Added option for build caching. The cache is stored on the registry along the images. 2023-03-22 00:08:17 +08:00
ameerhamzakhan 18cceb6961 Changes to build_command.sh weren't committed in last commit. 2023-03-21 18:20:00 +08:00
ameerhamzakhan d0f22369b7 Fixed Tagging issues in build_command.sh. Also added lines to catch command failures in Gitlab's CI. 2023-03-21 18:18:29 +08:00
ameerhamzakhan 887ec1a4dc Added missing variables to .gitlab-ci.yml. 2023-03-21 18:12:33 +08:00
ameerhamzakhan 34932d644c Previous commit didn't contain the updated .gitlab-ci.yml. 2023-03-21 18:09:00 +08:00
ameerhamzakhan 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
ameerhamzakhan b6b90e5368 Added support for locales. 2023-03-20 16:52:47 +08:00