generated from Templates/Utility-Image-Builder
887a529b86a370521978865c60a9ae9dbe5625b3
Some checks failed
Home Cluster Builds/Image-FastApi-Arm64/pipeline/head There was a failure building this commit
Utility-Image-Builder
A template repo for maintaining base Docker images in my private registry.
NOTE: The steps below are not for this repo, but for those using it as a template.
Bootstrapping
If needed, steps starting with
[sudo]require elevated permissions.
Go through the entire process before committing to the main branch.
- Create a new repository by clicking the "Use this template" button on the template repo page.
- Configure the new repo settings. At the bottom, select
Template Items->Git Content. - Create the new repo.
- Pull new repo to local PC.
- [sudo] Give the setup script permission to execute:
chmod +x template/setup.sh - [sudo] Run the start script and fill in the prompts:
./template/setup.sh - Change the Dockerfile as desired. NOTE: Committing before doing this will still build an image...
- Populate the
config.json. This is to make it easy to do version management - Commit to main. If you are committing to an organization linked to the Jenkins server the image will automatically be build for the architecture you specified.
Note that the bootstrapped repo has to be in a organization where the Jenkins user has visibility, and the organization must be configured and linked to the Jenkins server.
Description
Languages
Dockerfile
100%