Closed Mionsz closed 7 months ago
Dockerfile for SDK build and execution added.
To build the Dockerfile execute build_dockerfile.sh script. For customized registry, image name and tag use environment variables: (bellow with default value presented)
build_dockerfile.sh
IMAGE_REGISTRY="${IMAGE_REGISTRY:-docker.io}"
IMAGE_NAME="${IMAGE_NAME:-ubuntu-2204/catena-sdk}"
IMAGE_TAG="${IMAGE_TAG:-latest}"
To push build container to Docker registry use above values composed in a full tag:
docker push "${IMAGE_REGISTRY}/${IMAGE_NAME:${IMAGE_TAG}"
To start docker container in interactive mode from your shell:
docker run -it --entrypoint="/bin/bash" "${IMAGE_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}"
Dockerfile for SDK build and execution added.
To build the Dockerfile execute
build_dockerfile.sh
script. For customized registry, image name and tag use environment variables: (bellow with default value presented)IMAGE_REGISTRY="${IMAGE_REGISTRY:-docker.io}"
IMAGE_NAME="${IMAGE_NAME:-ubuntu-2204/catena-sdk}"
IMAGE_TAG="${IMAGE_TAG:-latest}"
To push build container to Docker registry use above values composed in a full tag:
docker push "${IMAGE_REGISTRY}/${IMAGE_NAME:${IMAGE_TAG}"
To start docker container in interactive mode from your shell:
docker run -it --entrypoint="/bin/bash" "${IMAGE_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}"