Skip to content

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

Repository files navigation

docker-wrap-image-with-senzing-apt

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/docker-wrap-image-with-senzing-apt.git#main