From ef36c3ce33bc3b717aec31b3803874986a7ba1d3 Mon Sep 17 00:00:00 2001 From: Steffen Schulze <steffen.schulze@t-systems.com> Date: Tue, 21 May 2024 06:13:50 +0000 Subject: [PATCH] readme extended --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 882b7b1..16be9d5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,47 @@ -# Description +# Introduction + +Provides an small docker image which contains basic things for cloning, executing python scripts and helm. This container is mostly used to execute steps on repositories during the build. The reason for this is, that the gitlab standard ci has some package not, and the most base images missing some thing to execute the required things ,so this new image closes the gap in the build. + +# Depedencies + +Depends on the python:3.11-alpine base image + + +# Bootstrap + +It's used within ci execution by choosing this image: + +``` +mystep: + stage: build + image: + name: node-654e3bca7fbeeed18f81d7c7.ps-xaas.io/dev-ops/build-executor:main + script: + - echo "execute things now" + - git clone https://myrepo + - pip install -r requirements.txt + - echo "Start Script" + - python ./myscriptPy.py + - curl things + - make something + - mvn packages + - openssl things + +``` + +# Developer Information + +If anything is missing in the build CI just add more packages by using apk to the docker image section: + +``` +RUN apk update +RUN apk add bash +RUN apk add git +RUN apk add curl +RUN apk add openssl +RUN apk add maven +RUN apk add make +RUN apk add build-base +``` -Provides an small docker image which contains basic things for cloning, executing python scripts and helm. This container is mostly used to execute steps on repositories during the build. -- GitLab