Sciocatti 88e9eece19
Some checks failed
Home Cluster Builds/Image-Deploy-Arm64/pipeline/head There was a failure building this commit
Escaped backslash in Jenkinsfile.
2023-01-11 23:43:06 +02:00
2023-01-11 23:43:06 +02:00
2023-01-11 21:34:02 +00:00
2023-01-11 23:40:09 +02:00
2023-01-11 23:40:09 +02:00
2023-01-11 21:34:02 +00:00

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.

  1. Create a new repository by clicking the "Use this template" button on the template repo page.
  2. Configure the new repo settings. At the bottom, select Template Items -> Git Content.
  3. Create the new repo.
  4. Pull new repo to local PC.
  5. [sudo] Give the setup script permission to execute:
    chmod +x template/setup.sh
    
  6. [sudo] Run the start script and fill in the prompts:
    ./template/setup.sh
    
  7. Change the Dockerfile as desired. NOTE: Committing before doing this will still build an image...
  8. Populate the config.json. This is to make it easy to do version management
  9. 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
Arm64-based utility image for deploying Docker images to the K3S cluster.
Readme 196 KiB
Languages
Dockerfile 100%