This is an exercise to Create a docker image of a github build agent
---> On DockerFile below LABELS need to be changed according to your organization.
LABEL Author="" LABEL Email="" LABEL GitHub="" LABEL BaseImage=""
---> On start up script below values need to be changed according to your Git Hub organization.
GH_OWNER= GH_REPOSITORY= GH_TOKEN=
----> I'm also in process of creating a curl command or any similar command to retrieve the Token ID of runners from our Git hub account to mask it's value in the script for security purpose.
Below Steps can be used to Create a docker image of a github build agent.
git clone https://github.com/ggmu12/git-project.git --branch master --single-branch
docker build . -f Dockerfile -t gitrunner:1.0
docker run gitrunner:1.0
Content type
Image
Digest
sha256:adb62be6c…
Size
793.4 MB
Last updated
about 4 years ago
docker pull arjun68/dockergit1