Skip to content

Based on ubuntu and providing tooling for working with tekton CI tasks automating kubernetes.

Notifications You must be signed in to change notification settings

julweber/ubuntu-ci-docker-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image for tekton automation

This provides a docker image for usage within deployment automation. It provides a preinstalled java mvn kubectl helm tkn mysql-client jq git-crypt...

Building the image

Ensure you are logged in to your docker repository. You can adjust the target repository by adjusting the DOCKER_REPO env variable in build.sh. You can also adjust the kubectl and helm client versions to install here. The build script will build the image locally and push it to the configured repository.

bash build.sh

Using the image locally

Start a bash shell in a local container:

DOCKER_REPO=julianweberdev
IMAGE=ubuntu-ci
TAG=latest
docker run -i -t "$DOCKER_REPO/$IMAGE:$TAG" /bin/bash

Run the image locally with kubernetes

Start a bash shell in a local container:

DOCKER_REPO=julianweberdev
TAG=latest
IMAGE=ubuntu-ci
DEPLOYMENT=ubuntu-ci-helm-container

kubectl run -i -t --generator=deployment/apps.v1 --image=$DOCKER_REPO/$IMAGE:$TAG $DEPLOYMENT

# remove container afterwards
kubectl delete deployments/$DEPLOYMENT

About

Based on ubuntu and providing tooling for working with tekton CI tasks automating kubernetes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published