Skip to content

senzing-garage/docker-wrap-image-with-senzing-apt

Repository files navigation

docker-wrap-image-with-senzing-apt

If you are beginning your journey with Senzing, please start with Senzing Quick Start guides.

You are in the Senzing Garage where projects are "tinkered" on. Although this GitHub repository may help you understand an approach to using Senzing, it's not considered to be "production ready" and is not considered to be part of the Senzing product. Heck, it may not even be appropriate for your application of Senzing!

Overview

This repository shows how to baked-in a Senzing installation into a Debian/Ubuntu based docker image.

EULA

To use the Senzing code, you must agree to the End User License Agreement (EULA).

  1. ⚠️ This step is intentionally tricky and not simply copy/paste. This ensures that you make a conscious effort to accept the EULA. Example:

    export SENZING_ACCEPT_EULA="<the value from this link>"

Environment variables

  1. ✏️ Identify the existing image to be wrapped. Example:

    export BASE_IMAGE="senzing/senzing-api-server:3.0.0"
  2. ✏️ Name the new image that will be produced. Example:

    export NEW_IMAGE="mycompany/senzing-api-server:3.0.0"

Build Docker image

  1. Run the docker build command. Example:

    docker build \
        --build-arg BASE_IMAGE=${BASE_IMAGE} \
        --build-arg SENZING_ACCEPT_EULA=${SENZING_ACCEPT_EULA} \
        --tag ${NEW_IMAGE} \
        https://github.com/senzing-garage/docker-wrap-image-with-senzing-apt.git#main