Base Docker

This is a development environment for the both OCLI “Open Source” and “Pro” versions. Please build image hub.optoss.net/ocli/ocli-base on your local machine only if you have no access to hub.optoss.net.

How to build

  1. Make necessary changes in environment/baseDocker/Dockerfile first.

  2. Test it locally.

  3. Increment version in environment/baseDocker/versions.txt following SemVer approach.

  4. Push changes into develop (via pull request of course).

  5. Run build manually https://jenkins.optoss.net/job/Monitored%20AI/job/OCLI%20Base%20Image/.

  6. Check if the new image available https://hub.optoss.net/#!/taglist/ocli/ocli-base.

Local development build

If you have no access to the https://hub.optoss.net/ please build ocli-base image locally.

#IMAGE="hub.optoss.net/ocli/ocli-base"
IMAGE="ocli-base-test"
docker build --platform=linux/amd64 -t ${IMAGE}:latest .