67 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
d6837c0329 Deleted the drone based CI/CD pipeline and wrote a simple buildx script to build the images manually. 2025-08-17 09:57:53 +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
7a86a6306c Removed resolvconf because it is legacy and cause problem with docker image building.
Some checks failed
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.
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
56c1232e5c Added few more useful packages to the image.
All checks were successful
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.
All checks were successful
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.
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
2696b9d7d5 Added git to the list of essential packages.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2024-01-17 12:19:15 +08: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
0800461a3f Also added symlinks for /etc/localtime
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-11 11:56:25 +08:00
b1a55bf0ba Added package to fix timezone issue.
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-11 11:46:21 +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
b25c90a79f Added a new useful package.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2023-11-09 13:33:27 +08:00
7efd7969e3 Updated to use the buildx docker image corresponding to version 24.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
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.
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-01 22:50:13 +08:00
148ca97819 Added package software-properties-common. it is useful for many apt commands.
All checks were successful
continuous-integration/drone/push Build is passing
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.
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-29 00:06:56 +08:00
63476fa2eb Added line in Dockerfile which allow non-root users to run sudo commands.
All checks were successful
continuous-integration/drone/push Build is passing
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.
All checks were successful
continuous-integration/drone/push Build is passing
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.
All checks were successful
continuous-integration/drone/push Build is passing
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.
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-20 05:37:01 +08:00
d66652e79d Added support for n8n webhook to trigger the build of other related images.
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-16 05:10:40 +08:00
d84e753e95 Added support for latest tag for latest version of ubuntu.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2023-04-14 12:35:53 +08:00
1da30f58c7 Disabled addition of provenance attestation.
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
2023-04-14 05:55:19 +08:00
18ac352b28 Fixed the issue with naming steps.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2023-04-12 16:09:26 +08:00
ac7255dbed Simplified the config file.
Some checks failed
continuous-integration/drone/push Build encountered an error
2023-04-12 16:08:06 +08:00
26a1e4ffda Fixed the caching scheme.
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-12 15:56:46 +08:00
b44be08156 Added a new tag for all images.
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-12 14:24:31 +08:00
d22896d831 Updated how cache is handled. Added a new tag.
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-12 13:49:07 +08:00
b61418adb2 Added support for ubuntu 22, 20, 18.
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
2023-04-12 13:26:53 +08:00
895026b649 Fixed typo.
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-12 12:39:43 +08:00
3e73ec1eac Added support for drone CI/CD.
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
2023-04-12 12:36:24 +08:00
24baf083e8 Run init and exit commands with eval. 2023-04-10 17:52:19 +08:00
6c50514156 Switching to local cache for buildx builds. 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. 2023-03-22 12:40:58 +08:00
de51c65c47 Changed cache mode to 'max' 2023-03-22 00:33:54 +08:00
5a3d0df074 Fixed syntax errors. 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. 2023-03-22 00:08:17 +08:00
18cceb6961 Changes to build_command.sh weren't committed in last commit. 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. 2023-03-21 18:18:29 +08:00