Newer
Older
Dockerfiles / README.md

Dockerfiles

Copyright (C) 2021-2023, John Ryland.
All rights reserved.

Overview

This is a set of Dockerfiles for use as agent in jenkins

They help to perform the various build steps and stages

The jenkins job builds the docker images (Jenkinsfile).

These docker images are then available to be used by other jenkins jobs to do the building in a consistent environment.

Eventually I'll get jenkins configured with physical build machines that can run these docker containers to distribute the building on jobs to make them faster.

References

Docker-Compose

We can also start the images on the server

  • using docker-compose, we can start a set of services

  • currently this is cockpit-ws and portainer

  • docker-compose can be run with a command such as: 'up', 'ps' and 'logs' The -d option is to run in the backgroun.

Services Requirements

sudo mkdir -p /var/run/cockpit-ws/home/jryland/.ssh sudo chown -R jryland:jryland /var/run/cockpit-ws/home/jryland