Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

And here is the startODL.sh file:

Image Modified

Creating the ODLSLI Container

To see how the ODLSLI container is constructed, we look at the pom.xml file in the directory ccsdk/distribution/odlsli.

Image Modified

ODLSLI pom.xml initialization and dependencies

...

ODLSLI pom.xml: Preliminaries and setting the version value of the ODLSLI docker image

Image Modified

ODLSLI pom.xml: Prepare the directories and files for a 'docker build' command

...

We have seen how the pom.xml file creates the ~/ccsdk/distribution/odlsli/target/docker-stage directory in preparation for building the docker image.  The next step is to inspect the Dockerfile that creates the image, discussed here.

Image Modified

Building the docker image

...

Installer pom.xml file part 0

Image Modified

install-feature.sh script

...

Continuing with the pom.xml file in the installer module, we now discuss the command first executed in the "validate" phase.

Image Modified

To see the result of this command, we show the changes in the installer directory after it is executed.  We begin with 'mvn clean' and then execute part one and show the result.

...

Now the command executed in the "prepare-package" phase.

Image Modified

And we show the result of executing the command.

...

Parts 1 and 2 have copied all of the necessary maven repositories and scripts into the correct folder structure and with the correct parameter values.  The pom.xml file now zips them up.

Image Modified

assemble_mvnrepo_zip.xml

And after it is executed...

...

Installer pom.xml part 4

And the final step.

Image Modified

assemble_installer_zip.xml

...