Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/senzing-garage/docker-wrap-image-with-senzing-data
Add /opt/senzing/data to a base image.
https://github.com/senzing-garage/docker-wrap-image-with-senzing-data
dockerfile senzing-garage utility
Last synced: 14 days ago
JSON representation
Add /opt/senzing/data to a base image.
- Host: GitHub
- URL: https://github.com/senzing-garage/docker-wrap-image-with-senzing-data
- Owner: senzing-garage
- License: apache-2.0
- Created: 2021-08-02T21:55:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T18:21:07.000Z (about 1 month ago)
- Last Synced: 2024-05-22T18:32:46.866Z (about 1 month ago)
- Topics: dockerfile, senzing-garage, utility
- Language: Dockerfile
- Homepage:
- Size: 171 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Lists
- awesome - docker-wrap-image-with-senzing-data - Add /opt/senzing/data to a base image. (Utilities)
README
# docker-wrap-image-with-senzing-data
If you are beginning your journey with
[Senzing](https://senzing.com/),
please start with
[Senzing Quick Start guides](https://docs.senzing.com/quickstart/).You are in the
[Senzing Garage](https://github.com/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
[bake-in](https://github.com/senzing-garage/knowledge-base/blob/main/WHATIS/baked-in.md)
a Senzing data installation (`/opt/senzing/data`) into a Debian/Ubuntu based docker image.## EULA
To use the Senzing code, you must agree to the End User License Agreement (EULA).
1. :warning: 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](https://github.com/senzing-garage/knowledge-base/blob/main/lists/environment-variables.md#senzing_accept_eula)>"
## Environment variables
1. :pencil2: Identify the existing image to be wrapped.
Example:```console
export BASE_IMAGE="senzing/stream-loader:1.8.3"
```1. :pencil2: Name the new image that will be produced.
Example:```console
export NEW_IMAGE="public.ecr.aws/senzing/stream-loader-spike:1.8.3"
```## Build Docker image
1. Run the `docker build` command.
Example:```console
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-data.git#main
```