Skip to content

HDDS-11916. Building Ozone Docker Images#126

Merged
kerneltime merged 6 commits intoapache:HDDS-9225-website-v2from
adoroszlai:HDDS-11916
Mar 21, 2025
Merged

HDDS-11916. Building Ozone Docker Images#126
kerneltime merged 6 commits intoapache:HDDS-9225-website-v2from
adoroszlai:HDDS-11916

Conversation

@adoroszlai
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Document Ozone Docker images from developer point-of-view.

https://issues.apache.org/jira/browse/HDDS-11916

How was this patch tested?

https://github.com/adoroszlai/ozone-site/actions/runs/13574540904

@adoroszlai adoroszlai self-assigned this Feb 27, 2025
@github-actions github-actions bot added the website-v2 Tasks for the new ozone website targeting the HDDS-9225-website-v2 branch label Feb 27, 2025
@adoroszlai adoroszlai changed the title Hdds 11916 HDDS-11916. Building Ozone Docker Images Feb 27, 2025
Copy link
Copy Markdown
Contributor

@errose28 errose28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this @adoroszlai. Should we add the testkrb5 image to the website footer listing all the Ozone repos as well, or omit it since it is just for testing?


## Development

### Common Flow
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should already be covered by the contributing guides for each repo. In that case we can take the building and tagging steps for each image below and move them into the sections for each image above. I think it's easier to follow if all the info for each image is in one section for that image.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CONTRIBUTING.md in two of the docker repos currently just directs readers to the main Ozone repo's CONTRIBUTING.md. ozone-docker does not even have CONTRIBUTING.md.

Removed the common flow part from this guide for now, and inlined building/tagging instructions to each image's section.


[ozone-testkrb5](https://github.com/apache/ozone-docker-testkrb5) is used as KDC in tests where Kerberos is enabled.

Published only to [GitHub](https://github.com/apache/ozone-docker-testkrb5/pkgs/container/ozone-testkrb5).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should explain why this one is not available on docker hub. I think it's because we only use it in our CI?


### Base Image

Development happens on branch `master`, relevant changes are cherry-picked to branch `jdk11`.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to this change, but reading this doc made me think it might be good organize the branch, build, and tag procedures for our docker repos so that they are more similar.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


## Images

### Base Image (without any Ozone)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO we should use the image names as the headers and explain them in the paragraph, since we usually refer to them by name. Right now the headers are sort of explanations as well, and the actual image name is at the beginning of the paragraph.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, updated.

@adoroszlai adoroszlai requested a review from errose28 March 14, 2025 18:16
@kerneltime kerneltime merged commit 28b9561 into apache:HDDS-9225-website-v2 Mar 21, 2025
12 checks passed
@adoroszlai adoroszlai deleted the HDDS-11916 branch March 21, 2025 06:45
@adoroszlai
Copy link
Copy Markdown
Contributor Author

adoroszlai commented Mar 21, 2025

Thanks @errose28, @kerneltime for the review.

(I was kind of waiting with this to see if any update is needed after adding lot of the content to individual repos' README/CONTRIBUTING docs (like apache/ozone-docker#43). But we can do that, if needed, as a follow-up.)

@kerneltime
Copy link
Copy Markdown
Contributor

The site build out is going to be iterative, we should merge reasonable pages in and revisit at a regular cadence.

jojochuang pushed a commit to jojochuang/ozone-site that referenced this pull request Jul 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

website-v2 Tasks for the new ozone website targeting the HDDS-9225-website-v2 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants