Attila Doroszlai created HDDS-12167:
---------------------------------------
Summary: Cannot use sample compose definition with SHA-based image
Key: HDDS-12167
URL: https://issues.apache.org/jira/browse/HDDS-12167
Project: Apache Ozone
Issue Type: Bug
Components: docker
Reporter: Attila Doroszlai
Assignee: Attila Doroszlai
Sample {{docker-compose.yaml}} sets {{OZONE_IMAGE_FLAVOR}} to {{\-rocky}}, if
unset. This makes it cumbersome to use the definition with images identified
by commit SHA.
{code}
export OZONE_IMAGE=ghcr.io/adoroszlai/ozone
export OZONE_IMAGE_VERSION=8ed8e020dc69b2c6ed53a5a31cafc2af161876e2
export OZONE_IMAGE_FLAVOR=""
docker compose up -d --scale datanode=3
...
Error response from daemon: manifest unknown
{code}
Using empty {{$OZONE_IMAGE_FLAVOR}}, the default value is added.
Since we plan to publish images also without {{\-rocky}} suffix anyway, and all
existing images are available both with and without (although those without it
may be outdated), I think it's safe to remove make flavor optional.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]