The Ubuntu 16.04 and 20.04 builds follow a similar pattern, the 16.04 pattern is being used as the example since the 20.04 files are currently in a pending PR.
The GHA workflows introduced a new Dockerfiles to create the build/test images. The Jenkins/local build processes also have a Dockerfile to create the image used for builds. The associated build-*-docker.sh scripts are not used by the GHA workflows, but the other build scripts are used by both processes.
Having a way to build the project locally in docker is handy, however there should only be one Dockerfile defining the build image.
Consolidate the docker files for the two build processes so there is only a single one shared by the two processes.
The Ubuntu 16.04 and 20.04 builds follow a similar pattern, the 16.04 pattern is being used as the example since the 20.04 files are currently in a pending PR.
The GHA workflows introduced a new Dockerfiles to create the build/test images. The Jenkins/local build processes also have a Dockerfile to create the image used for builds. The associated
build-*-docker.sh
scripts are not used by the GHA workflows, but the other build scripts are used by both processes.Having a way to build the project locally in docker is handy, however there should only be one Dockerfile defining the build image.
Consolidate the docker files for the two build processes so there is only a single one shared by the two processes.
These updates should be developed on the branch containing the updates for Ubuntu 20.04. Currently
ubuntu-20.04-upgrade
, and done after this PR is merged; https://github.com/hyperledger/indy-plenum/pull/1545