ska-tango-images-tango-cpp

Build image to be used for cppTango-based applications.

Summary

Release 0.7.4 of ska-tango-images provides the 10.1.2 tag of the ska-tango-images-tango-cpp OCI image.

Included Software

Package

Version

cppTango

10.1.2

ZeroMQ

4.3.5

omniORB

4.3.3

opentelemetry-cpp

1.19.0

Usage

ska-tango-images-tango-cpp includes software required to build Tango applications based on cppTango. Note that this image is not intended to be used as the base of a runtime image. It is recommended to copy the results of the build process into a base image to create a dedicated runtime image. See How to build a Tango image using cppTango for details about how to build your own Tango application images.

A list of the system runtime dependencies required to run applications linked to libtango.so can be found in /runtime_deps.txt. To install these libraries into your runtime image, add the following to your Dockerfile, which assumes your build stage based on ska-tango-images-tango-cpp is called ‘build’:

COPY --from=build /runtime_deps.txt /runtime_deps.txt
RUN set -xe; \
    apt-get update; \
    xargs apt-get install -y --no-install-recommends < /runtime_deps.txt; \
    rm -rf /var/lib/apt/lists/*

This has been done already in ska-tango-images-tango-base, so is not required if you are using this, or ska-tango-images-tango-admin as a base runtime image.