The following software programs need to be installed:
For more information on environment variables, see Environment Variables.
-
Set these environment variable values:
export GIT_ACCOUNT=senzing export GIT_REPOSITORY=g2command export GIT_ACCOUNT_DIR=~/${GIT_ACCOUNT}.git export GIT_REPOSITORY_DIR="${GIT_ACCOUNT_DIR}/${GIT_REPOSITORY}"
-
Follow steps in clone-repository to install the Git repository.
-
Option #1: Using
dockercommand and GitHub.sudo docker build --tag senzing/g2command https://github.com/senzing-garage/g2command.git#main -
Option #2: Using
dockercommand and local repository.cd ${GIT_REPOSITORY_DIR} sudo docker build --tag senzing/g2command .
-
Option #3: Using
makecommand.cd ${GIT_REPOSITORY_DIR} sudo make docker-build
Note:
sudo make docker-build-development-cachecan be used to create cached docker layers.