

Dockerfiles
===========

<small>
Copyright (C) 2021-2023, John Ryland.<br>
All rights reserved.
</small>

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
----------

 - https://github.com/multiarch/crossbuild
 - https://github.com/steeve/cross-compiler/tree/master/darwin-x64
 - https://dexp.in/articles/qtcreator-crosscompile/
 - https://github.com/Martchus/PKGBUILDs/tree/master/qt5-base/apple-darwin


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



